summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
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
commite25c0f301db08e50f7181d3b987fc1019f041ba5 (patch)
treef99ff36f7f2f1f8942ede1669b6bbb39428c91a0 /sql/sql_error.cc
parenta2111f22e4acc90cb4ff8a500b613f73b08a6df0 (diff)
downloadmariadb-git-e25c0f301db08e50f7181d3b987fc1019f041ba5.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
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
}