summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorbar@mysql.com <>2006-04-06 13:08:07 +0500
committerbar@mysql.com <>2006-04-06 13:08:07 +0500
commit0524cdbe7063eb8b5fe92208b9acb2819c19381b (patch)
tree8d1ebcb42cd51fe9f23a4f8d784ba48b4f598e41 /libmysql
parentf8a178000dfb6d3ec2b823ba5ae9a7cf5a25f65a (diff)
parent13b5cdb12632f9d89bdaddff9ccc9638394baab8 (diff)
downloadmariadb-git-0524cdbe7063eb8b5fe92208b9acb2819c19381b.tar.gz
Merge mysql.com:/usr/home/bar/mysql-5.0
into mysql.com:/usr/home/bar/mysql-5.1-new
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 009a12574ce..3406d606692 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1380,35 +1380,6 @@ mysql_get_server_info(MYSQL *mysql)
}
-/*
- Get version number for server in a form easy to test on
-
- SYNOPSIS
- mysql_get_server_version()
- mysql Connection
-
- EXAMPLE
- 4.1.0-alfa -> 40100
-
- NOTES
- We will ensure that a newer server always has a bigger number.
-
- RETURN
- Signed number > 323000
-*/
-
-ulong STDCALL
-mysql_get_server_version(MYSQL *mysql)
-{
- uint major, minor, version;
- char *pos= mysql->server_version, *end_pos;
- major= (uint) strtoul(pos, &end_pos, 10); pos=end_pos+1;
- minor= (uint) strtoul(pos, &end_pos, 10); pos=end_pos+1;
- version= (uint) strtoul(pos, &end_pos, 10);
- return (ulong) major*10000L+(ulong) (minor*100+version);
-}
-
-
const char * STDCALL
mysql_get_host_info(MYSQL *mysql)
{