summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-02-12 23:17:22 +0200
committerunknown <monty@mashka.mysql.fi>2003-02-12 23:17:22 +0200
commit0a10f78f1245fef3b2a3f5ca9a413ab830ea088e (patch)
tree25cf24cdab43693264defe8aee577395e2b3c3ec /libmysqld
parentfcb61f5917ee69bba91bd6a926db2eab4ac3eeb5 (diff)
downloadmariadb-git-0a10f78f1245fef3b2a3f5ca9a413ab830ea088e.tar.gz
Updated configure script to handle 1 digit numbers in MySQL version
Fixed a few typos from last patch configure.in: Updated script to handle 1 digit numbers in MySQL version libmysqld/libmysqld.c: Added mysql_get_server_version sql/sql_parse.cc: Fixed typo in last patch sql/sql_yacc.yy: Fixed typo in last patch
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/libmysqld.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c
index cb43d4aa539..4ec37e12325 100644
--- a/libmysqld/libmysqld.c
+++ b/libmysqld/libmysqld.c
@@ -1155,6 +1155,12 @@ mysql_get_server_info(MYSQL *mysql __attribute__((unused)))
}
+ulong STDCALL
+mysql_get_server_version(MYSQL *mysql __attribute__((unused)))
+{
+ return MYSQL_VERSION_ID;
+}
+
const char * STDCALL
mysql_get_host_info(MYSQL *mysql __attribute__((unused)))
{