summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorLeonard Zhou <leonard@mysql.com>2009-03-24 15:29:04 +0800
committerLeonard Zhou <leonard@mysql.com>2009-03-24 15:29:04 +0800
commitdad07ffe9ed5711b66d86d18d9cdf814f472d49a (patch)
tree28a35254e0bc06cde57ecc5bfb2c40e5e9d9e6fa /sql/sql_insert.cc
parent5fdc5510ec1abcfe3f3f74a229ae3102533f46c4 (diff)
parentfbb90c66d79fcb221589ba5907e20b923d5deacf (diff)
downloadmariadb-git-dad07ffe9ed5711b66d86d18d9cdf814f472d49a.tar.gz
Merge
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r--sql/sql_insert.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index ec16de318cc..b79f979df05 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -1820,7 +1820,7 @@ bool delayed_get_table(THD *thd, TABLE_LIST *table_list)
pthread_mutex_lock(&LOCK_thread_count);
thread_count++;
pthread_mutex_unlock(&LOCK_thread_count);
- di->thd.set_db(table_list->db, strlen(table_list->db));
+ di->thd.set_db(table_list->db, (uint) strlen(table_list->db));
di->thd.query= my_strdup(table_list->table_name, MYF(MY_WME));
if (di->thd.db == NULL || di->thd.query == NULL)
{