diff options
author | Gleb Shchepa <gshchepa@mysql.com> | 2009-07-24 21:04:55 +0500 |
---|---|---|
committer | Gleb Shchepa <gshchepa@mysql.com> | 2009-07-24 21:04:55 +0500 |
commit | a7f63a9db877f7fa18185c059734f0370beadb64 (patch) | |
tree | 999d090b1f7c4cb9c23b5e41592e0cec56389c5f /sql/sql_insert.cc | |
parent | 58cff27eb1f73addec91ca76ab2c2ccfe917fd42 (diff) | |
parent | 065732eea6b6b2c6622fa7eaa297219c9bd6bceb (diff) | |
download | mariadb-git-a7f63a9db877f7fa18185c059734f0370beadb64.tar.gz |
Merge from 5.0
******
manual merge 5.0-bugteam --> 5.1-bugteam (bug 38816)
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 104c81ca984..7d581f8c3a9 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -1909,7 +1909,7 @@ bool delayed_get_table(THD *thd, TABLE_LIST *table_list) thread_count++; pthread_mutex_unlock(&LOCK_thread_count); di->thd.set_db(table_list->db, (uint) strlen(table_list->db)); - di->thd.query= my_strdup(table_list->table_name, MYF(MY_WME)); + di->thd.set_query(my_strdup(table_list->table_name, MYF(MY_WME)), 0); if (di->thd.db == NULL || di->thd.query == NULL) { /* The error is reported */ |