mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Portability fixes.
Changed mysql-test-run.sh to test for files to get shorter, more reliable timeouts. Docs/manual.texi: Cleaned up SET PASSWORD stuff client/mysqltest.c: Do more retrys mysql-test/mysql-test-run.sh: Test for files to get shorter timeouts mysql-test/r/query_cache.result: Portability fix mysql-test/t/query_cache.test: Portability fix sql/sql_cache.cc: Safety fix
This commit is contained in:
@@ -2672,6 +2672,7 @@ uint Query_cache::filename_2_table_key (char *key, const char *path)
|
||||
|
||||
void Query_cache::wreck(uint line, const char *message)
|
||||
{
|
||||
THD *thd=current_thd;
|
||||
DBUG_ENTER("Query_cache::wreck");
|
||||
query_cache_size = 0;
|
||||
if (*message)
|
||||
@@ -2679,7 +2680,8 @@ void Query_cache::wreck(uint line, const char *message)
|
||||
DBUG_PRINT("warning", ("=================================="));
|
||||
DBUG_PRINT("warning", ("%5d QUERY CACHE WRECK => DISABLED",line));
|
||||
DBUG_PRINT("warning", ("=================================="));
|
||||
current_thd->killed = 1;
|
||||
if (thd)
|
||||
thd->killed = 1;
|
||||
bins_dump();
|
||||
cache_dump();
|
||||
DBUG_VOID_RETURN;
|
||||
|
Reference in New Issue
Block a user