summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2010-01-15 17:27:55 +0200
committerMichael Widenius <monty@askmonty.org>2010-01-15 17:27:55 +0200
commitd8ecbbe63471f958aa70443545b63d88d2db0230 (patch)
tree32a6f432080d9125b3619f8935eb5b1de00e861d /libmysql
parentd121e6630519a66eec7c953ee0eae623f592ce87 (diff)
parent6d69089845ed4c50df0ca8136a2cdacb8f2e1380 (diff)
downloadmariadb-git-d8ecbbe63471f958aa70443545b63d88d2db0230.tar.gz
Merge with MySQL 5.1.42
- Marked a couple of tests with --big - Fixed xtradb/handler/ha_innodb.cc to call explain_filename() storage/xtradb/handler/ha_innodb.cc: Call explain_filename() to get proper names for partitioned tables
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c14
-rw-r--r--libmysql/libmysql.def1
2 files changed, 0 insertions, 15 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 768a62ea8b8..3a62208fd92 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1642,20 +1642,6 @@ mysql_real_escape_string(MYSQL *mysql, char *to,const char *from,
return (uint) escape_string_for_mysql(mysql->charset, to, 0, from, length);
}
-
-char * STDCALL
-mysql_odbc_escape_string(MYSQL *mysql __attribute__((unused)),
- char *to __attribute__((unused)),
- ulong to_length __attribute__((unused)),
- const char *from __attribute__((unused)),
- ulong from_length __attribute__((unused)),
- void *param __attribute__((unused)),
- char * (*extend_buffer)(void *, char *, ulong *)
- __attribute__((unused)))
-{
- return NULL;
-}
-
void STDCALL
myodbc_remove_escape(MYSQL *mysql,char *name)
{
diff --git a/libmysql/libmysql.def b/libmysql/libmysql.def
index 5c05bff8242..45e85b15120 100644
--- a/libmysql/libmysql.def
+++ b/libmysql/libmysql.def
@@ -78,7 +78,6 @@ EXPORTS
mysql_next_result
mysql_num_fields
mysql_num_rows
- mysql_odbc_escape_string
mysql_options
mysql_stmt_param_count
mysql_stmt_param_metadata