summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-03-29 17:57:07 +0300
committermonty@mysql.com <>2004-03-29 17:57:07 +0300
commite6882bbfd80641034b96da31eecbf30cdbcb7d48 (patch)
tree99c0257fe8779ed78345d81aa4c907abe076bf82 /sql/sql_base.cc
parenta0f629385fd3dd6bd9b96d7605f81a48637e026a (diff)
downloadmariadb-git-e6882bbfd80641034b96da31eecbf30cdbcb7d48.tar.gz
Disable INSERT DELAYED for embedded library
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index b4ee3df14e2..e8bb3187fb1 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -284,8 +284,10 @@ bool close_cached_tables(THD *thd, bool if_wait_for_refresh,
if (!found)
if_wait_for_refresh=0; // Nothing to wait for
}
+#ifndef EMBEDDED_LIBRARY
if (!tables)
kill_delayed_threads();
+#endif
if (if_wait_for_refresh)
{
/*