mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Dynamically set debug flag for session only
- avoid restart - keep all in one file - fix --check-testcase
This commit is contained in:
@ -21,10 +21,15 @@ INSERT INTO t1 VALUES
|
||||
|
||||
set tmp_table_size=1024;
|
||||
|
||||
# Set debug flag so an error is returned when
|
||||
# tmp table in query is converted from heap to myisam
|
||||
set session debug="d,raise_error";
|
||||
|
||||
--replace_regex /in table '[^']+'/in table 'tmp_table'/
|
||||
--error ER_DUP_KEY
|
||||
SELECT MAX(a) FROM t1 GROUP BY a,b;
|
||||
|
||||
set tmp_table_size=default;
|
||||
|
||||
DROP TABLE t1;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user