mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-32104 remove deprecated features
In particular: * @@debug deprecated since 5.5.37 * sr_YU locale deprecated since 10.0.11 * "engine_condition_pushdown" in the @@optimizer_switch deprecated since 10.1.1 * @@date_format, @@datetime_format, @@time_format, @@max_tmp_tables deprecated since 10.1.2 * @@wsrep_causal_reads deprecated since 10.1.3 * "parser" in mroonga table comment deprecated since 10.2.11
This commit is contained in:
@ -1,7 +1,5 @@
|
||||
create table t1 (i int, g geometry not null, spatial index (g))engine=innodb;
|
||||
SET SESSION debug="+d,rtree_test_check_count";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
SET SESSION debug_dbug="+d,rtree_test_check_count";
|
||||
insert into t1 values (1, POINT(1,1));
|
||||
insert into t1 values (1, POINT(1.5,1.5));
|
||||
insert into t1 values (1, POINT(3,3));
|
||||
|
@ -407,9 +407,7 @@ start transaction;
|
||||
update t1 set a=point(5,5), b=point(5,5), c=5 where i < 3;
|
||||
ERROR 23000: Duplicate entry '5' for key 'c'
|
||||
rollback;
|
||||
set session debug="+d,row_mysql_crash_if_error";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
set session debug_dbug="+d,row_mysql_crash_if_error";
|
||||
update t1 set a=point(5,5), b=point(5,5), c=5 where i < 3;
|
||||
ERROR HY000: Lost connection to server during query
|
||||
insert into t1 values(5, point(5,5), point(5,5), 5);
|
||||
|
@ -41,9 +41,7 @@ select count(*) from t1 where MBRWithin(t1.c2, @g1);
|
||||
count(*)
|
||||
0
|
||||
SET @saved_dbug = @@SESSION.debug_dbug;
|
||||
SET DEBUG='+d,page_copy_rec_list_start_compress_fail';
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
SET DEBUG_DBUG='+d,page_copy_rec_list_start_compress_fail';
|
||||
delete from t1;
|
||||
select count(*) from t1 where MBRWithin(t1.c2, @g1);
|
||||
count(*)
|
||||
|
@ -30,8 +30,6 @@ SELECT COUNT(*) FROM t1 WHERE MBRWithin(t1.c2, @g1);
|
||||
COUNT(*)
|
||||
0
|
||||
ALTER TABLE t1 DROP INDEX idx, ADD SPATIAL INDEX idx3(c2);
|
||||
SET SESSION debug="+d,row_merge_instrument_log_check_flush";
|
||||
Warnings:
|
||||
Warning 1287 '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
|
||||
SET SESSION debug_dbug="+d,row_merge_instrument_log_check_flush";
|
||||
ALTER TABLE t1 DROP INDEX idx3, ADD SPATIAL INDEX idx4(c2), ADD SPATIAL INDEX idx5(c3);
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user