summaryrefslogtreecommitdiff
path: root/libmysql/libmysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmysql/libmysql.c')
-rw-r--r--libmysql/libmysql.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 8314b3bc24e..8cf59281719 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -3515,18 +3515,6 @@ uint STDCALL mysql_thread_safe(void)
#endif
}
-MYSQL_RES *STDCALL mysql_warnings(MYSQL *mysql)
-{
- uint warning_count;
- DBUG_ENTER("mysql_warnings");
- /* Save warning count as mysql_real_query may change this */
- warning_count= mysql->warning_count;
- if (mysql_real_query(mysql, "SHOW WARNINGS", 13))
- DBUG_RETURN(0);
- mysql->warning_count= warning_count;
- DBUG_RETURN(mysql_store_result(mysql));
-}
-
/****************************************************************************
Some support functions
****************************************************************************/