#At file:///opt/local/work/mysql-6.0-3726/
2668 Konstantin Osipov 2008-06-11
Fix a potential cause of test failures.
modified:
sql/sql_base.cc
per-file comments:
sql/sql_base.cc
0 may not be equal to (char*) 0 on 64 bit pointer/32 bit int machines.
=== modified file 'sql/sql_base.cc'
--- a/sql/sql_base.cc 2008-06-11 15:37:09 +0000
+++ b/sql/sql_base.cc 2008-06-11 18:44:06 +0000
@@ -2890,7 +2890,7 @@ Locked_tables_list::init_locked_tables(T
&db, db_len,
&table_name, table_name_len,
&alias, alias_len,
- 0))
+ NullS))
{
unlock_locked_tables(0);
return TRUE;
| Thread |
|---|
| • bzr commit into mysql-6.0 branch (konstantin:2668) | Konstantin Osipov | 11 Jun |