summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-11-05 17:59:05 +0300
committerAlexander Nozdrin <alik@sun.com>2009-11-05 17:59:05 +0300
commite0c62aad364ca5f4949206937980016a11eca4f4 (patch)
treee469620cce738f5ca01c5c796dd6d77af1a3c364 /libmysql
parent120425ccfda32bb439c3f510f41532cfe3aa79de (diff)
parenta95f54c6d81f20b07e41a7e0e2246ee00641df6c (diff)
downloadmariadb-git-e0c62aad364ca5f4949206937980016a11eca4f4.tar.gz
Manual merge from mysql-5.1.
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 7d717ee084d..77ff2a01d7c 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1631,12 +1631,14 @@ mysql_real_escape_string(MYSQL *mysql, char *to,const char *from,
char * STDCALL
-mysql_odbc_escape_string(MYSQL *mysql,
- char *to, ulong to_length,
- const char *from, ulong from_length,
- void *param,
- char * (*extend_buffer)
- (void *, char *, ulong *))
+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;
}