mirror of
https://github.com/MariaDB/server.git
synced 2025-07-07 06:01:31 +03:00
This patch adds handlerton passing to functions. NDB and Innodb still require a global hanlderton in the main code due to the nature of the sql_cache call back function (should be solveable... another patch).
Partitioning now has a flag to allow disabling of engines from being compatible with partitioning. Cleaned up heap naming convention on panic call.
This commit is contained in:
@ -19,10 +19,10 @@
|
||||
/* if flag == HA_PANIC_CLOSE then all files are removed for more
|
||||
memory */
|
||||
|
||||
int heap_panic(enum ha_panic_function flag)
|
||||
int hp_panic(enum ha_panic_function flag)
|
||||
{
|
||||
LIST *element,*next_open;
|
||||
DBUG_ENTER("heap_panic");
|
||||
DBUG_ENTER("hp_panic");
|
||||
|
||||
pthread_mutex_lock(&THR_LOCK_heap);
|
||||
for (element=heap_open_list ; element ; element=next_open)
|
||||
@ -54,4 +54,4 @@ int heap_panic(enum ha_panic_function flag)
|
||||
}
|
||||
pthread_mutex_unlock(&THR_LOCK_heap);
|
||||
DBUG_RETURN(0);
|
||||
} /* heap_panic */
|
||||
} /* hp_panic */
|
||||
|
Reference in New Issue
Block a user