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

Fixed memory leak in DROP DATABASE when using RAID tables (Bug #2882)

This commit is contained in:
monty@mysql.com
2004-03-10 13:46:11 +02:00
parent 73780de129
commit 4ee44751d9
32 changed files with 265 additions and 118 deletions

View File

@@ -1706,7 +1706,11 @@ bool rm_temporary_table(enum db_type base, char *path)
*fn_ext(path)='\0'; // remove extension
handler *file=get_new_handler((TABLE*) 0, base);
if (file && file->delete_table(path))
{
error=1;
sql_print_error("Warning: Could not remove tmp table: '%s', error: %d",
path, my_errno);
}
delete file;
return error;
}