summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-08-13 17:59:40 +0300
committermonty@hundin.mysql.fi <>2001-08-13 17:59:40 +0300
commitcf19429793d1492af9c806132082e4f66b484fc1 (patch)
treedf01d4e8424454fc1871d80ce81a95cab8b0da49 /client
parent4a470fcc99eeed3811c1e8c3fa1a415ea6e37501 (diff)
downloadmariadb-git-cf19429793d1492af9c806132082e4f66b484fc1.tar.gz
Cleanups
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index 2727c936955..f6d87352a6c 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -245,6 +245,15 @@ static char *out_buff;
static uint out_length;
static int eval_result = 0;
+/* Disable functions that only exist in MySQL 4.0 */
+#if MYSQL_VERSION_ID < 40000
+static void mysql_enable_rpl_parse(MYSQL* mysql) {}
+static void mysql_disable_rpl_parse(MYSQL* mysql) {}
+static int mysql_rpl_parse_enabled(MYSQL* mysql) { return 1; }
+static int mysql_rpl_probe(MYSQL *mysql) { return 1; }
+#endif
+
+
static void do_eval(DYNAMIC_STRING* query_eval, const char* query)
{
const char* p;