diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-02-13 18:28:36 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-02-13 18:28:36 -0500 |
commit | d23bd26bec787ebbdbd41be0204e9cb83baf4dbd (patch) | |
tree | dda05b0ebb3858e913b0ca3b864705e989bb7661 /sql/sql_insert.cc | |
parent | b83de1151aab6dcc9f300159e31198364000de70 (diff) | |
parent | a9a08b1e2f5b7a9e3ab7c7f75c768389b1d8238f (diff) | |
download | mariadb-git-d23bd26bec787ebbdbd41be0204e9cb83baf4dbd.tar.gz |
Merge tag 'mariadb-5.5.48' into 5.5-galera
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 75a62a0f120..8e8745f322f 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -4197,6 +4197,8 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u) DBUG_RETURN(1); table->mark_columns_needed_for_insert(); table->file->extra(HA_EXTRA_WRITE_CACHE); + // Mark table as used + table->query_id= thd->query_id; DBUG_RETURN(0); } |