diff options
author | marty@linux.site <> | 2005-03-09 14:29:22 +0100 |
---|---|---|
committer | marty@linux.site <> | 2005-03-09 14:29:22 +0100 |
commit | e6d7c9fc5dd4728705ca282d54db14be61d154e2 (patch) | |
tree | 91a6e09b08dfbeb988da987650bf8befec8b5113 /sql/sql_base.cc | |
parent | ca336ad1def1a88d03fdbd167ad456b7ff6dd972 (diff) | |
download | mariadb-git-e6d7c9fc5dd4728705ca282d54db14be61d154e2.tar.gz |
Fix for Bug #8897 Test ndb_autodiscover: Spurious warning in --ps-protocol on NDB
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 4fd943c08f4..09640eb3f57 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1606,7 +1606,8 @@ static int open_unireg_entry(THD *thd, TABLE *entry, const char *db, if (ha_create_table_from_engine(thd, db, name, TRUE) != 0) goto err; - thd->clear_error(); // Clear error message + mysql_reset_errors(thd, true); // Clear warnings + thd->clear_error(); // Clear error message continue; } |