mirror of
https://github.com/MariaDB/server.git
synced 2025-08-26 01:44:06 +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:
@@ -603,7 +603,7 @@ end:
|
||||
if (heap_close(file) || (file2 && heap_close(file2)))
|
||||
goto err;
|
||||
heap_delete_table(filename2);
|
||||
heap_panic(HA_PANIC_CLOSE);
|
||||
hp_panic(HA_PANIC_CLOSE);
|
||||
my_end(MY_GIVE_INFO);
|
||||
return(0);
|
||||
err:
|
||||
@@ -669,7 +669,7 @@ static sig_handler endprog(int sig_number __attribute__((unused)))
|
||||
else
|
||||
#endif
|
||||
{
|
||||
heap_panic(HA_PANIC_CLOSE);
|
||||
hp_panic(HA_PANIC_CLOSE);
|
||||
my_end(1);
|
||||
exit(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user