summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-06-06 15:14:23 +0300
committerMichael Widenius <monty@askmonty.org>2013-06-06 15:14:23 +0300
commit5730786041237db73e330ca388c98561ade8c43c (patch)
tree4f94b267ab6fd3c6133f9e1d78232ced0f49af83 /include
parentbef95a4bbea0a3a42ad26798d3c3aa326dc282bf (diff)
downloadmariadb-git-5730786041237db73e330ca388c98561ade8c43c.tar.gz
Fixed some cache variables that could be set to higher value than what the code supported (size_t)
Fixed some cases that didn't work with > 4G buffers. Fixed compiler warnings include/mysql_com.h: Avoid compiler warning with strncmp() sql-common/client.c: Fixed long comment; Added () sql/filesort.cc: Fix code to get filesort to work with big buffers sql/sys_vars.cc: Fixed some cache variables that could be set to higher value than the size_t Limit query cache to ULONG_MAX as the query cache buffer variables are ulong storage/federatedx/ha_federatedx.cc: Remove not used variable storage/maria/ha_maria.cc: Fix that bulk_insert() works with big buffers storage/maria/ma_write.c: Fix that bulk_insert() works with big buffers storage/myisam/ha_myisam.cc: Fix that bulk_insert() works with big buffers storage/myisam/mi_write.c: Fix that bulk_insert() works with big buffers storage/sphinx/snippets_udf.cc: Fixed compiler warnings
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index fdd75556033..bb89cd09efe 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -52,12 +52,8 @@
pluggable authentication, so any version starting from "5.5.5-" and
claiming to support pluggable auth, must be using this fake prefix.
*/
-#ifdef EMBEDDED_LIBRARY
-#define RPL_VERSION_HACK ""
-#else
/* this version must be the one that *does not* support pluggable auth */
#define RPL_VERSION_HACK "5.5.5-"
-#endif
#define SERVER_VERSION_LENGTH 60
#define SQLSTATE_LENGTH 5