mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-drop-4.1 mysql-test/r/query_cache.result: Auto merged mysql-test/t/query_cache.test: Auto merged sql/sql_db.cc: Auto merged
This commit is contained in:
@ -816,4 +816,12 @@ show status like "Qcache_queries_in_cache";
|
|||||||
Variable_name Value
|
Variable_name Value
|
||||||
Qcache_queries_in_cache 4
|
Qcache_queries_in_cache 4
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
CREATE TABLE t1 (a int(1));
|
||||||
|
CREATE DATABASE mysqltest;
|
||||||
|
USE mysqltest;
|
||||||
|
DROP DATABASE mysqltest;
|
||||||
|
SELECT * FROM test.t1;
|
||||||
|
a
|
||||||
|
USE test;
|
||||||
|
DROP TABLE t1;
|
||||||
SET GLOBAL query_cache_size=0;
|
SET GLOBAL query_cache_size=0;
|
||||||
|
@ -589,4 +589,17 @@ show status like "Qcache_queries_in_cache";
|
|||||||
# Keep things tidy
|
# Keep things tidy
|
||||||
#
|
#
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# DROP current database test
|
||||||
|
#
|
||||||
|
CREATE TABLE t1 (a int(1));
|
||||||
|
CREATE DATABASE mysqltest;
|
||||||
|
USE mysqltest;
|
||||||
|
DROP DATABASE mysqltest;
|
||||||
|
SELECT * FROM test.t1;
|
||||||
|
USE test;
|
||||||
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
|
||||||
SET GLOBAL query_cache_size=0;
|
SET GLOBAL query_cache_size=0;
|
||||||
|
@ -408,7 +408,7 @@ exit:
|
|||||||
when the slave is replicating a DROP DATABASE:
|
when the slave is replicating a DROP DATABASE:
|
||||||
- garbage characters in the error message:
|
- garbage characters in the error message:
|
||||||
"Error 'Can't drop database 'test2'; database doesn't exist' on query
|
"Error 'Can't drop database 'test2'; database doesn't exist' on query
|
||||||
'h4zI<7A>'"
|
'h4zI<7A><EFBFBD>'"
|
||||||
- segfault
|
- segfault
|
||||||
- hang in "free(vio)" (yes!) in the I/O or SQL slave threads (so slave
|
- hang in "free(vio)" (yes!) in the I/O or SQL slave threads (so slave
|
||||||
server hangs at shutdown etc).
|
server hangs at shutdown etc).
|
||||||
@ -417,7 +417,8 @@ exit:
|
|||||||
{
|
{
|
||||||
if (!(thd->slave_thread)) /* a slave thread will free it itself */
|
if (!(thd->slave_thread)) /* a slave thread will free it itself */
|
||||||
x_free(thd->db);
|
x_free(thd->db);
|
||||||
thd->db= 0;
|
thd->db= 0;
|
||||||
|
thd->db_length= 0;
|
||||||
}
|
}
|
||||||
exit2:
|
exit2:
|
||||||
VOID(pthread_mutex_unlock(&LOCK_mysql_create_db));
|
VOID(pthread_mutex_unlock(&LOCK_mysql_create_db));
|
||||||
|
Reference in New Issue
Block a user