diff options
author | unknown <ingo@mysql.com> | 2005-06-01 11:15:21 +0200 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2005-06-01 11:15:21 +0200 |
commit | 046ced266a4797fa133961fe51c73a33b94504af (patch) | |
tree | 7a8b8f55be2cc9a973bed05c6c890d7d4cd3ca38 /sql/sql_handler.cc | |
parent | abbdab6ac9be805170ebdae4d0c68dc9c2ab9de4 (diff) | |
parent | 10481cd0368cb2ae07efd0f05c65748c3046eff8 (diff) | |
download | mariadb-git-046ced266a4797fa133961fe51c73a33b94504af.tar.gz |
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
Manual merge from 4.1.
mysql-test/r/create.result:
Auto merged
mysql-test/t/create.test:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_handler.cc:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index bb48b7ada77..1aa034ce61c 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -433,7 +433,7 @@ bool mysql_ha_read(THD *thd, TABLE_LIST *tables, protocol->send_fields(&list, Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF); HANDLER_TABLES_HACK(thd); - lock= mysql_lock_tables(thd, &tables->table, 1); + lock= mysql_lock_tables(thd, &tables->table, 1, 0); HANDLER_TABLES_HACK(thd); if (!lock) |