summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
diff options
context:
space:
mode:
authorvenu@myvenu.com <>2002-12-05 12:34:22 -0800
committervenu@myvenu.com <>2002-12-05 12:34:22 -0800
commit9e4dc3fba54dc1455e2657a78cc412a5fa67534d (patch)
treef99ff36f7f2f1f8942ede1669b6bbb39428c91a0 /sql/sql_error.cc
parent7ffe639d6ebca8491bcc4db186ce563c4b6ad8df (diff)
downloadmariadb-git-9e4dc3fba54dc1455e2657a78cc412a5fa67534d.tar.gz
sql_error.cc:
make tests to go ; becuase of DROP TABLE ID EXISTS warnings
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r--sql/sql_error.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc
index 5c9bef15ea7..bba49cf818b 100644
--- a/sql/sql_error.cc
+++ b/sql/sql_error.cc
@@ -110,6 +110,7 @@ void push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level, uint code,
void store_warning(THD *thd, uint errcode, ...)
{
+#if TESTS_TO_BE_FIXED
va_list args;
const char *format;
char warning[ERRMSGSIZE+20];
@@ -128,6 +129,7 @@ void store_warning(THD *thd, uint errcode, ...)
va_end(args);
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, errcode, warning);
DBUG_VOID_RETURN;
+#endif
}