pkgsrc/databases/mysql-cluster/patches/patch-client_sql_string.h
jnemeth 7697633caf MySQL Cluster is a highly scalable, real-time, ACID-compliant
transactional database, combining 99.999% availability with the
low TCO of open source.

Designed around a distributed, multi-master architecture with no
single point of failure, MySQL Cluster scales horizontally on
commodity hardware to serve read and write intensive workloads,
accessed via SQL and NoSQL interfaces.
2014-12-01 05:57:48 +00:00

17 lines
511 B
C++

$NetBSD: patch-client_sql_string.h,v 1.1.1.1 2014/12/01 05:58:03 jnemeth Exp $
Portability: include <bstring.h> if exists.
--- client/sql_string.h.orig 2013-02-12 11:01:12.000000000 +0000
+++ client/sql_string.h
@@ -21,6 +21,10 @@
#include "m_ctype.h"
#include "my_sys.h"
+#ifdef NEEDS_BSTRING_H
+#include <bstring.h> /* defines bzero() */
+#endif
+
class String;
int sortcmp(const String *a,const String *b, const CHARSET_INFO *cs);
String *copy_if_not_alloced(String *a,String *b,uint32 arg_length);