summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2002-12-05 12:34:22 -0800
committerunknown <venu@myvenu.com>2002-12-05 12:34:22 -0800
commitef4f5b2148e3120033725f56470d87686612a637 (patch)
treef99ff36f7f2f1f8942ede1669b6bbb39428c91a0
parent3196a915c9dfd25188349768bbdebdf057ffa482 (diff)
downloadmariadb-git-ef4f5b2148e3120033725f56470d87686612a637.tar.gz
sql_error.cc:
make tests to go ; becuase of DROP TABLE ID EXISTS warnings sql/sql_error.cc: make tests to go ; becuase of DROP TABLE ID EXISTS warnings
-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
}