summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-06-11 11:11:05 +0200
committerSergei Golubchik <sergii@pisem.net>2013-06-11 11:11:05 +0200
commit43a6831fe0529bf46f8dc1d73fc50a585e2f6361 (patch)
tree3d7ecef63862f0d45c0c8eb28dc7c71b000f7410 /include/mysql.h
parent2db4392bf4cb0447fd8f09fe85997f34b9c697d0 (diff)
downloadmariadb-git-43a6831fe0529bf46f8dc1d73fc50a585e2f6361.tar.gz
MDEV-4574 Missing connection option MYSQL_ENABLE_CLEARTEXT_PLUGIN
recognize the constant, to be compatible with MySQL clients.
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mysql.h b/include/mysql.h
index 4d1fa437407..74914006758 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -168,8 +168,10 @@ enum mysql_option
MYSQL_OPT_GUESS_CONNECTION, MYSQL_SET_CLIENT_IP, MYSQL_SECURE_AUTH,
MYSQL_REPORT_DATA_TRUNCATION, MYSQL_OPT_RECONNECT,
MYSQL_OPT_SSL_VERIFY_SERVER_CERT, MYSQL_PLUGIN_DIR, MYSQL_DEFAULT_AUTH,
- MYSQL_PROGRESS_CALLBACK,
+ MYSQL_ENABLE_CLEARTEXT_PLUGIN,
+
/* MariaDB options */
+ MYSQL_PROGRESS_CALLBACK=5999,
MYSQL_OPT_NONBLOCK=6000
};