Commit 7585067a authored by Konstantin Osipov's avatar Konstantin Osipov

Backport of:

----------------------------------------------------------
revno: 2630.4.30
Konstantin Osipov   2008-06-11
Fix a potential cause of test failures.

sql/sql_base.cc:
  0 may not be equal to (char*) 0 on 64 bit pointer/32 bit int machines.
parent 3104af49
......@@ -2934,7 +2934,7 @@ Locked_tables_list::init_locked_tables(THD *thd)
&db, db_len,
&table_name, table_name_len,
&alias, alias_len,
0))
NullS))
{
unlock_locked_tables(0);
return TRUE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment