mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed compiler and valgrind warnings
Added missing DBUG_xxx_RETURN statements Fixed some usage of not initialized variables (as found by valgrind) Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called. This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names() This will allow Tomas to continue with his work to use namelocks to syncronize things. Note: valgrind still produces a lot of warnings about using not initialized code and shows memory loss errors when running the ndb tests
This commit is contained in:
@ -4924,7 +4924,7 @@ the generated partition syntax in a correct manner.
|
||||
*/
|
||||
if (table->part_info)
|
||||
{
|
||||
if (thd->lex->alter_info.flags & ALTER_REMOVE_PARTITIONING)
|
||||
if (alter_info->flags & ALTER_REMOVE_PARTITIONING)
|
||||
{
|
||||
DBUG_PRINT("info", ("Remove partitioning"));
|
||||
if (!(thd->lex->create_info.used_fields & HA_CREATE_USED_ENGINE))
|
||||
|
Reference in New Issue
Block a user