summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-06-01 13:22:17 +0200
committerunknown <ingo@mysql.com>2005-06-01 13:22:17 +0200
commit388d9df13ed934f230b9452dfcdeb47fb8877a2b (patch)
tree6b2dfd81609d55cdb68f41129b189c0f43f8f726 /sql/sql_base.cc
parent046ced266a4797fa133961fe51c73a33b94504af (diff)
downloadmariadb-git-388d9df13ed934f230b9452dfcdeb47fb8877a2b.tar.gz
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
After merge fixes.
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 0c6f7837235..5719f77e3ef 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -1384,7 +1384,7 @@ bool reopen_tables(THD *thd,bool get_locks,bool in_refresh)
MYSQL_LOCK *lock;
/* We should always get these locks */
thd->some_tables_deleted=0;
- if ((lock= mysql_lock_tables(thd, tables, (uint) (tables_ptr-tables), 0)))
+ if ((lock= mysql_lock_tables(thd, tables, (uint) (tables_ptr - tables), 0)))
{
thd->locked_tables=mysql_lock_merge(thd->locked_tables,lock);
}