mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Clean up the test mentioned in MDEV-12052.
The test is not expected to crash. With a non-debug server, Valgrind completes in reasonable time without any failure. Also, it does not make sense to store and restore parameters when the parameters are already being restored by a server restart.
This commit is contained in:
@@ -316,6 +316,3 @@ id title
|
||||
13 lòve
|
||||
14 LÒVE
|
||||
DROP TABLE articles;
|
||||
SET SESSION innodb_ft_enable_stopword=1;
|
||||
SET GLOBAL innodb_ft_server_stopword_table=default;
|
||||
SET SESSION innodb_ft_user_stopword_table=default;
|
||||
|
@@ -2,16 +2,8 @@
|
||||
|
||||
-- source include/have_innodb.inc
|
||||
|
||||
# Valgrind would complain about memory leaks when we crash on purpose.
|
||||
--source include/not_valgrind.inc
|
||||
# Embedded server does not support crashing
|
||||
# Embedded server tests do not support restarting
|
||||
--source include/not_embedded.inc
|
||||
# Avoid CrashReporter popup on Mac
|
||||
--source include/not_crashrep.inc
|
||||
|
||||
let $innodb_ft_server_stopword_table_orig=`SELECT @@innodb_ft_server_stopword_table`;
|
||||
let $innodb_ft_enable_stopword_orig=`SELECT @@innodb_ft_enable_stopword`;
|
||||
let $innodb_ft_user_stopword_table_orig=`SELECT @@innodb_ft_user_stopword_table`;
|
||||
|
||||
SELECT @@innodb_ft_server_stopword_table;
|
||||
SELECT @@innodb_ft_enable_stopword;
|
||||
@@ -414,8 +406,3 @@ SELECT * FROM articles WHERE MATCH (title)
|
||||
AGAINST ('love' IN NATURAL LANGUAGE MODE);
|
||||
|
||||
DROP TABLE articles;
|
||||
|
||||
# Restore Values
|
||||
eval SET SESSION innodb_ft_enable_stopword=$innodb_ft_enable_stopword_orig;
|
||||
eval SET GLOBAL innodb_ft_server_stopword_table=default;
|
||||
eval SET SESSION innodb_ft_user_stopword_table=default;
|
||||
|
Reference in New Issue
Block a user