1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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.
This commit is contained in:
Konstantin Osipov
2009-12-02 18:33:51 +03:00
parent 3104af49cd
commit 7585067a47

View File

@@ -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;