Commit 5a5f92bf authored by Yuchen Pei's avatar Yuchen Pei

MDEV-32999 Spider: only warn of connection string deprecation when creating a table

parent 923a04dd
...@@ -53,10 +53,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -53,10 +53,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
...@@ -106,11 +102,6 @@ a b date_format(c, '%Y-%m-%d %H:%i:%s') ...@@ -106,11 +102,6 @@ a b date_format(c, '%Y-%m-%d %H:%i:%s')
delete partition pushdown delete partition pushdown
TRUNCATE TABLE ta_l2; TRUNCATE TABLE ta_l2;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l2 SELECT a, b, c FROM tb_l; INSERT INTO ta_l2 SELECT a, b, c FROM tb_l;
connection master_1; connection master_1;
DELETE FROM ta_l2 WHERE b = 'g'; DELETE FROM ta_l2 WHERE b = 'g';
...@@ -124,11 +115,6 @@ a b date_format(c, '%Y-%m-%d %H:%i:%s') ...@@ -124,11 +115,6 @@ a b date_format(c, '%Y-%m-%d %H:%i:%s')
delete partition index pushdown delete partition index pushdown
TRUNCATE TABLE ta_l2; TRUNCATE TABLE ta_l2;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l2 SELECT a, b, c FROM tb_l; INSERT INTO ta_l2 SELECT a, b, c FROM tb_l;
connection master_1; connection master_1;
DELETE FROM ta_l2 WHERE a > 0 AND b = 'g'; DELETE FROM ta_l2 WHERE a > 0 AND b = 'g';
......
...@@ -46,9 +46,6 @@ INSERT INTO ta_l (a, b, c) VALUES ...@@ -46,9 +46,6 @@ INSERT INTO ta_l (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
direct_aggregating test direct_aggregating test
connection master_1; connection master_1;
......
...@@ -41,11 +41,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -41,11 +41,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
set @old_spider_direct_aggregate=@@session.spider_direct_aggregate; set @old_spider_direct_aggregate=@@session.spider_direct_aggregate;
set spider_direct_aggregate=1; set spider_direct_aggregate=1;
SHOW STATUS LIKE 'Spider_direct_aggregate'; SHOW STATUS LIKE 'Spider_direct_aggregate';
......
...@@ -46,9 +46,6 @@ INSERT INTO ta_l (a, b, c) VALUES ...@@ -46,9 +46,6 @@ INSERT INTO ta_l (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
direct_updating test direct_updating test
connection master_1; connection master_1;
......
...@@ -41,11 +41,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -41,11 +41,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SHOW STATUS LIKE 'Spider_direct_update'; SHOW STATUS LIKE 'Spider_direct_update';
Variable_name Value Variable_name Value
Spider_direct_update 0 Spider_direct_update 0
......
...@@ -37,8 +37,6 @@ PRIMARY KEY(a) ...@@ -37,8 +37,6 @@ PRIMARY KEY(a)
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t1 values ('1'); insert into t1 values ('1');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t1 select a + 1 from t1; insert into t1 select a + 1 from t1;
insert into t1 select a + 2 from t1; insert into t1 select a + 2 from t1;
insert into t1 select a + 4 from t1; insert into t1 select a + 4 from t1;
...@@ -55,8 +53,6 @@ select a from t1 where a in ('15', '120'); ...@@ -55,8 +53,6 @@ select a from t1 where a in ('15', '120');
a a
120 120
15 15
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
date_sub() date_sub()
connection master_1; connection master_1;
...@@ -76,9 +72,6 @@ INSERT INTO ta_l (a, b, c) VALUES ...@@ -76,9 +72,6 @@ INSERT INTO ta_l (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
1 a 2008-08-01 10:21:39 1 a 2008-08-01 10:21:39
......
...@@ -76,9 +76,6 @@ INSERT INTO ta_l (a, b, c) VALUES ...@@ -76,9 +76,6 @@ INSERT INTO ta_l (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection master_1; connection master_1;
...@@ -137,8 +134,6 @@ Warning 1287 'msi' is deprecated and will be removed in a future release ...@@ -137,8 +134,6 @@ Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release
Warning 1287 'lst' is deprecated and will be removed in a future release Warning 1287 'lst' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -147,9 +142,6 @@ auto_test_local ta_l 1 2 ...@@ -147,9 +142,6 @@ auto_test_local ta_l 1 2
SELECT spider_copy_tables('ta_l', '0', '1'); SELECT spider_copy_tables('ta_l', '0', '1');
spider_copy_tables('ta_l', '0', '1') spider_copy_tables('ta_l', '0', '1')
1 1
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
ALTER TABLE ta_l ALTER TABLE ta_l
CONNECTION='host "localhost", user "root", password "", CONNECTION='host "localhost", user "root", password "",
...@@ -164,8 +156,6 @@ Warning 1287 'msi' is deprecated and will be removed in a future release ...@@ -164,8 +156,6 @@ Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release
Warning 1287 'lst' is deprecated and will be removed in a future release Warning 1287 'lst' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -173,9 +163,6 @@ auto_test_local ta_l 0 1 ...@@ -173,9 +163,6 @@ auto_test_local ta_l 0 1
auto_test_local ta_l 1 1 auto_test_local ta_l 1 1
INSERT INTO ta_l (a, b, c) VALUES INSERT INTO ta_l (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'); (8, 'g', '2011-05-05 21:33:30');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
1 a 2008-08-01 10:21:39 1 a 2008-08-01 10:21:39
...@@ -216,9 +203,6 @@ INSERT INTO ta_l (a, b, c) VALUES ...@@ -216,9 +203,6 @@ INSERT INTO ta_l (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection master_1; connection master_1;
...@@ -274,8 +258,6 @@ Warning 1287 'mkd' is deprecated and will be removed in a future release ...@@ -274,8 +258,6 @@ Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 1287 'alc' is deprecated and will be removed in a future release Warning 1287 'alc' is deprecated and will be removed in a future release
Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release
Warning 1287 'lst' is deprecated and will be removed in a future release Warning 1287 'lst' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -283,9 +265,6 @@ auto_test_local ta_l 0 1 ...@@ -283,9 +265,6 @@ auto_test_local ta_l 0 1
auto_test_local ta_l 1 1 auto_test_local ta_l 1 1
INSERT INTO ta_l (a, b, c) VALUES INSERT INTO ta_l (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'); (8, 'g', '2011-05-05 21:33:30');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
8 g 2011-05-05 21:33:30 8 g 2011-05-05 21:33:30
......
...@@ -81,11 +81,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES ...@@ -81,11 +81,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection master_1; connection master_1;
...@@ -154,10 +149,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release ...@@ -154,10 +149,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1287 'msi' is deprecated and will be removed in a future release Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -168,11 +159,6 @@ auto_test_local ta_l2#P#pt2 1 2 ...@@ -168,11 +159,6 @@ auto_test_local ta_l2#P#pt2 1 2
SELECT spider_copy_tables('ta_l2#P#pt2', '0', '1'); SELECT spider_copy_tables('ta_l2#P#pt2', '0', '1');
spider_copy_tables('ta_l2#P#pt2', '0', '1') spider_copy_tables('ta_l2#P#pt2', '0', '1')
1 1
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
ALTER TABLE ta_l2 ALTER TABLE ta_l2
PARTITION BY KEY(a) ( PARTITION BY KEY(a) (
...@@ -195,10 +181,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release ...@@ -195,10 +181,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1287 'msi' is deprecated and will be removed in a future release Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -209,11 +191,6 @@ auto_test_local ta_l2#P#pt2 1 1 ...@@ -209,11 +191,6 @@ auto_test_local ta_l2#P#pt2 1 1
INSERT INTO ta_l2 (a, b, c) VALUES INSERT INTO ta_l2 (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'), (8, 'g', '2011-05-05 21:33:30'),
(9, 'h', '2011-05-05 22:32:10'); (9, 'h', '2011-05-05 22:32:10');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
1 a 2008-08-01 10:21:39 1 a 2008-08-01 10:21:39
...@@ -256,11 +233,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES ...@@ -256,11 +233,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection master_1; connection master_1;
...@@ -330,10 +302,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -330,10 +302,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 1287 'msi' is deprecated and will be removed in a future release Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 1287 'alc' is deprecated and will be removed in a future release Warning 1287 'alc' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -344,11 +312,6 @@ auto_test_local ta_l2#P#pt2 1 1 ...@@ -344,11 +312,6 @@ auto_test_local ta_l2#P#pt2 1 1
INSERT INTO ta_l2 (a, b, c) VALUES INSERT INTO ta_l2 (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'), (8, 'g', '2011-05-05 21:33:30'),
(9, 'h', '2011-05-05 22:32:10'); (9, 'h', '2011-05-05 22:32:10');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
1 a 2008-08-01 10:21:39 1 a 2008-08-01 10:21:39
......
...@@ -74,8 +74,6 @@ id int(11) NOT NULL AUTO_INCREMENT, ...@@ -74,8 +74,6 @@ id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id) PRIMARY KEY (id)
) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_1 ) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_1
INSERT INTO t1 () VALUES (); INSERT INTO t1 () VALUES ();
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
777 777
...@@ -83,8 +81,6 @@ SELECT MAX(id) FROM t1; ...@@ -83,8 +81,6 @@ SELECT MAX(id) FROM t1;
MAX(id) MAX(id)
777 777
INSERT INTO t2 () VALUES (); INSERT INTO t2 () VALUES ();
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
1554 1554
...@@ -142,11 +138,7 @@ id ...@@ -142,11 +138,7 @@ id
4662 4662
5439 5439
TRUNCATE TABLE t1; TRUNCATE TABLE t1;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
TRUNCATE TABLE t2; TRUNCATE TABLE t2;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO t1 () VALUES (),(),(),(); INSERT INTO t1 () VALUES (),(),(),();
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
......
...@@ -78,11 +78,6 @@ id int(11) NOT NULL AUTO_INCREMENT, ...@@ -78,11 +78,6 @@ id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id) PRIMARY KEY (id)
) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_P_1 ) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_P_1
INSERT INTO t1 () VALUES (); INSERT INTO t1 () VALUES ();
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
777 777
...@@ -90,11 +85,6 @@ SELECT MAX(id) FROM t1; ...@@ -90,11 +85,6 @@ SELECT MAX(id) FROM t1;
MAX(id) MAX(id)
777 777
INSERT INTO t2 () VALUES (); INSERT INTO t2 () VALUES ();
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
1554 1554
...@@ -152,17 +142,7 @@ id ...@@ -152,17 +142,7 @@ id
4662 4662
5439 5439
TRUNCATE TABLE t1; TRUNCATE TABLE t1;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
TRUNCATE TABLE t2; TRUNCATE TABLE t2;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO t1 () VALUES (),(),(),(); INSERT INTO t1 () VALUES (),(),(),();
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
......
...@@ -56,9 +56,6 @@ Warnings: ...@@ -56,9 +56,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l SELECT a, b, c FROM tb_l; INSERT INTO ta_l SELECT a, b, c FROM tb_l;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
2.13 2.13
select table with "order by desc" and "<" select table with "order by desc" and "<"
...@@ -95,9 +92,6 @@ a b date_format(c, '%Y-%m-%d %H:%i:%s') ...@@ -95,9 +92,6 @@ a b date_format(c, '%Y-%m-%d %H:%i:%s')
2.15 2.15
select table with range scan select table with range scan
TRUNCATE TABLE ta_l; TRUNCATE TABLE ta_l;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
DROP TABLE IF EXISTS ta_l; DROP TABLE IF EXISTS ta_l;
connection master_1; connection master_1;
CREATE TABLE ta_l ( CREATE TABLE ta_l (
...@@ -110,9 +104,6 @@ Warnings: ...@@ -110,9 +104,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l SELECT a, b, c FROM tb_l; INSERT INTO ta_l SELECT a, b, c FROM tb_l;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
SELECT a, b, c FROM ta_l FORCE INDEX(PRIMARY) WHERE a = 4 AND b >= 'b' SELECT a, b, c FROM ta_l FORCE INDEX(PRIMARY) WHERE a = 4 AND b >= 'b'
AND c = '2003-11-30 05:01:03'; AND c = '2003-11-30 05:01:03';
...@@ -193,15 +184,9 @@ c DATETIME, ...@@ -193,15 +184,9 @@ c DATETIME,
PRIMARY KEY(a) PRIMARY KEY(a)
) MASTER_1_ENGINE2 MASTER_1_CHARSET2 ) MASTER_1_ENGINE2 MASTER_1_CHARSET2
CREATE TRIGGER ins_ta_l_auto_inc AFTER INSERT ON ta_l_auto_inc FOR EACH ROW BEGIN INSERT INTO tc_l (a, b, c) VALUES (NEW.a, NEW.b, NEW.c); END;; CREATE TRIGGER ins_ta_l_auto_inc AFTER INSERT ON ta_l_auto_inc FOR EACH ROW BEGIN INSERT INTO tc_l (a, b, c) VALUES (NEW.a, NEW.b, NEW.c); END;;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
INSERT INTO ta_l_auto_inc (a, b, c) VALUES INSERT INTO ta_l_auto_inc (a, b, c) VALUES
(NULL, 's', '2008-12-31 20:59:59'); (NULL, 's', '2008-12-31 20:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM tc_l ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM tc_l ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
...@@ -233,9 +218,6 @@ Warnings: ...@@ -233,9 +218,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l_int (a, b, c) VALUES (1, 2, 3); INSERT INTO ta_l_int (a, b, c) VALUES (1, 2, 3);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l_int (a, b, c) SELECT a + 1, b + 1, c + 1 FROM ta_l_int; INSERT INTO ta_l_int (a, b, c) SELECT a + 1, b + 1, c + 1 FROM ta_l_int;
INSERT INTO ta_l_int (a, b, c) SELECT a + 2, b + 2, c + 2 FROM ta_l_int; INSERT INTO ta_l_int (a, b, c) SELECT a + 2, b + 2, c + 2 FROM ta_l_int;
INSERT INTO ta_l_int (a, b, c) SELECT a + 4, b + 4, c + 4 FROM ta_l_int; INSERT INTO ta_l_int (a, b, c) SELECT a + 4, b + 4, c + 4 FROM ta_l_int;
...@@ -280,9 +262,6 @@ a b c ...@@ -280,9 +262,6 @@ a b c
14 15 16 14 15 16
15 16 17 15 16 17
16 17 18 16 17 18
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l_int (a, b, c) VALUES (0, 2, 3); INSERT INTO ta_l_int (a, b, c) VALUES (0, 2, 3);
INSERT INTO ta_l_int (a, b, c) VALUES (18, 2, 3); INSERT INTO ta_l_int (a, b, c) VALUES (18, 2, 3);
connection master_1; connection master_1;
...@@ -346,9 +325,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -346,9 +325,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release
Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release Warning 138 The high availability feature of Spider has been deprecated and will be removed in a future release
LOCK TABLES t1 READ, t2 READ; LOCK TABLES t1 READ, t2 READ;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
UNLOCK TABLES; UNLOCK TABLES;
auto_increment auto_increment
...@@ -381,8 +357,6 @@ id int(11) NOT NULL AUTO_INCREMENT, ...@@ -381,8 +357,6 @@ id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id) PRIMARY KEY (id)
) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_1 ) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_1
INSERT INTO t1 () VALUES (); INSERT INTO t1 () VALUES ();
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
777 777
...@@ -510,7 +484,6 @@ Warning 1287 'ewm' is deprecated and will be removed in a future release ...@@ -510,7 +484,6 @@ Warning 1287 'ewm' is deprecated and will be removed in a future release
SELECT id FROM t1 ORDER BY id; SELECT id FROM t1 ORDER BY id;
id id
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Error 12702 Remote table 'auto_test_remote.ter1_1' is not found Error 12702 Remote table 'auto_test_remote.ter1_1' is not found
Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist
INSERT INTO t1 (id) VALUES (1); INSERT INTO t1 (id) VALUES (1);
...@@ -522,7 +495,6 @@ Error 12702 Remote table 'auto_test_remote.ter1_1' is not found ...@@ -522,7 +495,6 @@ Error 12702 Remote table 'auto_test_remote.ter1_1' is not found
Error 12702 Remote table 'auto_test_remote.ter1_1' is not found Error 12702 Remote table 'auto_test_remote.ter1_1' is not found
TRUNCATE t1; TRUNCATE t1;
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist Error 1146 Table 'auto_test_remote.ter1_1' doesn't exist
3.0 3.0
...@@ -540,8 +512,6 @@ PRIMARY KEY(c) ...@@ -540,8 +512,6 @@ PRIMARY KEY(c)
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t1 values (null, null, '2048'); insert into t1 values (null, null, '2048');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t1 values ('1', '1', '1'); insert into t1 values ('1', '1', '1');
insert into t1 select a + 1, b + 1, c + 1 from t1; insert into t1 select a + 1, b + 1, c + 1 from t1;
insert into t1 select a + 2, b + 2, c + 2 from t1; insert into t1 select a + 2, b + 2, c + 2 from t1;
...@@ -587,8 +557,6 @@ NULL ...@@ -587,8 +557,6 @@ NULL
NULL NULL
NULL NULL
NULL NULL
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select b from t1 where b is null order by b limit 30; select b from t1 where b is null order by b limit 30;
b b
NULL NULL
...@@ -625,8 +593,6 @@ NULL ...@@ -625,8 +593,6 @@ NULL
direct_order_limit direct_order_limit
connection master_1; connection master_1;
TRUNCATE TABLE t1; TRUNCATE TABLE t1;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t1 values ('1', '1', '1'); insert into t1 values ('1', '1', '1');
insert into t1 select a + 1, b + 1, c + 1 from t1; insert into t1 select a + 1, b + 1, c + 1 from t1;
insert into t1 select a + 2, b + 2, c + 2 from t1; insert into t1 select a + 2, b + 2, c + 2 from t1;
...@@ -645,8 +611,6 @@ a b c ...@@ -645,8 +611,6 @@ a b c
10 234 234 10 234 234
10 202 202 10 202 202
10 170 170 10 170 170
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select a, c from t1 where a = '10' order by b desc limit 5; select a, c from t1 where a = '10' order by b desc limit 5;
a c a c
10 74 10 74
......
...@@ -62,11 +62,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -62,11 +62,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l2 SELECT a, b, c FROM tb_l; INSERT INTO ta_l2 SELECT a, b, c FROM tb_l;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 WHERE a > 1 SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 WHERE a > 1
ORDER BY a; ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
...@@ -92,11 +87,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -92,11 +87,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l2 (a, b, c) VALUES (3, 'B', '2010-09-26 00:00:00'); INSERT INTO ta_l2 (a, b, c) VALUES (3, 'B', '2010-09-26 00:00:00');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
UPDATE ta_l2 SET a = 4 WHERE a = 3; UPDATE ta_l2 SET a = 4 WHERE a = 3;
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
...@@ -119,11 +109,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -119,11 +109,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l_int (a, b, c) VALUES (1, 2, 3); INSERT INTO ta_l_int (a, b, c) VALUES (1, 2, 3);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l_int (a, b, c) SELECT a + 1, b + 1, c + 1 FROM ta_l_int; INSERT INTO ta_l_int (a, b, c) SELECT a + 1, b + 1, c + 1 FROM ta_l_int;
INSERT INTO ta_l_int (a, b, c) SELECT a + 2, b + 2, c + 2 FROM ta_l_int; INSERT INTO ta_l_int (a, b, c) SELECT a + 2, b + 2, c + 2 FROM ta_l_int;
INSERT INTO ta_l_int (a, b, c) SELECT a + 4, b + 4, c + 4 FROM ta_l_int; INSERT INTO ta_l_int (a, b, c) SELECT a + 4, b + 4, c + 4 FROM ta_l_int;
...@@ -170,11 +155,6 @@ id int(11) NOT NULL AUTO_INCREMENT, ...@@ -170,11 +155,6 @@ id int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (id) PRIMARY KEY (id)
) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_P_1 ) SLAVE1_1_ENGINE SLAVE1_1_CHARSET SLAVE1_1_COMMENT_INCREMENT1_P_1
INSERT INTO t1 () VALUES (); INSERT INTO t1 () VALUES ();
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT LAST_INSERT_ID(); SELECT LAST_INSERT_ID();
LAST_INSERT_ID() LAST_INSERT_ID()
777 777
......
...@@ -51,9 +51,6 @@ Warnings: ...@@ -51,9 +51,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO ta_l SELECT a, b, c FROM tb_l; INSERT INTO ta_l SELECT a, b, c FROM tb_l;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
0.9 0.9
create different primary key table create different primary key table
...@@ -69,9 +66,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -69,9 +66,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
INSERT INTO ta_l_int (a, b, c) VALUES (2, NULL, 3); INSERT INTO ta_l_int (a, b, c) VALUES (2, NULL, 3);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
create un-correspond primary key table create un-correspond primary key table
connection master_1; connection master_1;
DROP TABLE IF EXISTS ta_l_int; DROP TABLE IF EXISTS ta_l_int;
...@@ -87,9 +81,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -87,9 +81,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
INSERT INTO ta_l_int (a, b, c) VALUES (2, NULL, 3); INSERT INTO ta_l_int (a, b, c) VALUES (2, NULL, 3);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
deinit deinit
connection master_1; connection master_1;
......
...@@ -15,8 +15,6 @@ engine=Spider COMMENT='wrapper "mysql", srv "s_1", table "t"'; ...@@ -15,8 +15,6 @@ engine=Spider COMMENT='wrapper "mysql", srv "s_1", table "t"';
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t_sp1 () values (),(),(); insert into t_sp1 () values (),(),();
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t_sp1 () values (),(),(); insert into t_sp1 () values (),(),();
select * from t_sp1; select * from t_sp1;
id id
...@@ -43,11 +41,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -43,11 +41,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t values (1),(2),(10),(11); insert into t values (1),(2),(10),(11);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select * from t where a > 1 order by a; select * from t where a > 1 order by a;
a a
2 2
...@@ -66,8 +59,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -66,8 +59,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
select a, b from ts where a > 0 and b = 'g' order by a; select a, b from ts where a > 0 and b = 'g' order by a;
a b a b
2 g 2 g
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
drop table ts, auto_test_local.t; drop table ts, auto_test_local.t;
drop database auto_test_local; drop database auto_test_local;
for master_1 for master_1
......
...@@ -16,8 +16,6 @@ insert into td values (11), (42); ...@@ -16,8 +16,6 @@ insert into td values (11), (42);
select max(a) from ts; select max(a) from ts;
max(a) max(a)
42 42
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
drop table td, ts; drop table td, ts;
create table td (a int, PRIMARY KEY (a)); create table td (a int, PRIMARY KEY (a));
create table ts (a int, PRIMARY KEY (a)) ENGINE=Spider COMMENT='WRAPPER "mysql", srv "srv_mdev_26151",TABLE "td", casual_read "1"'; create table ts (a int, PRIMARY KEY (a)) ENGINE=Spider COMMENT='WRAPPER "mysql", srv "srv_mdev_26151",TABLE "td", casual_read "1"';
...@@ -28,8 +26,6 @@ insert into td values (11), (42); ...@@ -28,8 +26,6 @@ insert into td values (11), (42);
select max(a) from ts; select max(a) from ts;
max(a) max(a)
42 42
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select min(a) from ts; select min(a) from ts;
min(a) min(a)
11 11
......
...@@ -14,8 +14,6 @@ Warnings: ...@@ -14,8 +14,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT * FROM t1; SELECT * FROM t1;
c c
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
# restart # restart
drop table t1, t2; drop table t1, t2;
drop server srv; drop server srv;
......
...@@ -40,8 +40,6 @@ Warnings: ...@@ -40,8 +40,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
create table t2 (c int); create table t2 (c int);
/* 5 */ insert into t1 values (42); /* 5 */ insert into t1 values (42);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select sql_cache * from t1; select sql_cache * from t1;
c c
42 42
...@@ -56,8 +54,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2"'; ...@@ -56,8 +54,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2"';
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
/* 6 */ insert ignore into t1 values (42), (42); /* 6 */ insert ignore into t1 values (42), (42);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select * from t1; select * from t1;
c c
42 42
...@@ -70,7 +66,6 @@ Warnings: ...@@ -70,7 +66,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
/* 7 */ insert ignore into t1 values (42), (42); /* 7 */ insert ignore into t1 values (42), (42);
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1022 Can't write; duplicate key in table 't1' Warning 1022 Can't write; duplicate key in table 't1'
select * from t1; select * from t1;
c c
...@@ -83,7 +78,6 @@ Warnings: ...@@ -83,7 +78,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
/* 8 */ insert ignore into t1 values (42), (42); /* 8 */ insert ignore into t1 values (42), (42);
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1062 Duplicate entry '42' for key 'PRIMARY' Warning 1062 Duplicate entry '42' for key 'PRIMARY'
select * from t1; select * from t1;
c c
...@@ -97,7 +91,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -97,7 +91,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 1287 'pk_name' is deprecated and will be removed in a future release Warning 1287 'pk_name' is deprecated and will be removed in a future release
/* 9 */ insert ignore into t1 values (42), (42); /* 9 */ insert ignore into t1 values (42), (42);
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1022 Can't write; duplicate key in table 't1' Warning 1022 Can't write; duplicate key in table 't1'
select * from t1; select * from t1;
c c
...@@ -111,7 +104,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -111,7 +104,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 1287 'pk_name' is deprecated and will be removed in a future release Warning 1287 'pk_name' is deprecated and will be removed in a future release
/* 9.1 */ insert ignore into t1 values (42), (42); /* 9.1 */ insert ignore into t1 values (42), (42);
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1062 Duplicate entry '42' for key 'PRIMARY' Warning 1062 Duplicate entry '42' for key 'PRIMARY'
select * from t1; select * from t1;
c c
...@@ -125,7 +117,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -125,7 +117,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 1287 'pk_name' is deprecated and will be removed in a future release Warning 1287 'pk_name' is deprecated and will be removed in a future release
/* 10 */ insert ignore into t1 values (42), (42); /* 10 */ insert ignore into t1 values (42), (42);
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1062 Duplicate entry '42' for key 'c' Warning 1062 Duplicate entry '42' for key 'c'
select * from t1; select * from t1;
c c
...@@ -139,7 +130,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -139,7 +130,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 1287 'pk_name' is deprecated and will be removed in a future release Warning 1287 'pk_name' is deprecated and will be removed in a future release
/* 11 */ insert ignore into t1 values (42), (42); /* 11 */ insert ignore into t1 values (42), (42);
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1022 Can't write; duplicate key in table 't1' Warning 1022 Can't write; duplicate key in table 't1'
select * from t1; select * from t1;
c c
...@@ -153,7 +143,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -153,7 +143,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 1287 'pk_name' is deprecated and will be removed in a future release Warning 1287 'pk_name' is deprecated and will be removed in a future release
/* 12 */ insert ignore into t1 values (42, 43), (43, 43); /* 12 */ insert ignore into t1 values (42, 43), (43, 43);
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1062 Duplicate entry '43' for key 'd' Warning 1062 Duplicate entry '43' for key 'd'
select * from t1; select * from t1;
c d c d
...@@ -181,8 +170,6 @@ t1 CREATE TABLE `t1` ( ...@@ -181,8 +170,6 @@ t1 CREATE TABLE `t1` (
PRIMARY KEY (`c`), PRIMARY KEY (`c`),
KEY `d` (`d`) KEY `d` (`d`)
) ENGINE=SPIDER DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", idx000 "f d"' ) ENGINE=SPIDER DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", idx000 "f d"'
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
/* 13 */ insert into t1 values (42, 23), (37, 93); /* 13 */ insert into t1 values (42, 23), (37, 93);
select max(d) from t1; select max(d) from t1;
max(d) max(d)
...@@ -213,8 +200,6 @@ t1 CREATE TABLE `t1` ( ...@@ -213,8 +200,6 @@ t1 CREATE TABLE `t1` (
UNIQUE KEY `e` (`e`), UNIQUE KEY `e` (`e`),
KEY `d` (`d`) KEY `d` (`d`)
) ENGINE=SPIDER DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", idx000 "f PRIMARY", idx001 "u d", idx002 "ig e"' ) ENGINE=SPIDER DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", idx000 "f PRIMARY", idx001 "u d", idx002 "ig e"'
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
/* 14 */ insert into t1 values (42, 23, 89), (37, 93, 47); /* 14 */ insert into t1 values (42, 23, 89), (37, 93, 47);
select max(d) from t1; select max(d) from t1;
max(d) max(d)
......
...@@ -13,8 +13,6 @@ CREATE TABLE t1_SPIDER (a INT) ENGINE=SPIDER COMMENT = "wrapper 'mysql', srv 's' ...@@ -13,8 +13,6 @@ CREATE TABLE t1_SPIDER (a INT) ENGINE=SPIDER COMMENT = "wrapper 'mysql', srv 's'
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
CREATE TABLE t2 AS SELECT a FROM t1_SPIDER; CREATE TABLE t2 AS SELECT a FROM t1_SPIDER;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT * FROM t2; SELECT * FROM t2;
a a
1 1
......
...@@ -19,10 +19,6 @@ Warnings: ...@@ -19,10 +19,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT t1_spider.* FROM t1_spider LEFT JOIN t2_spider LEFT JOIN t3_spider ON b = c ON a = b; SELECT t1_spider.* FROM t1_spider LEFT JOIN t2_spider LEFT JOIN t3_spider ON b = c ON a = b;
a a
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
DROP TABLE t1_spider, t2_spider, t3_spider, t1, t2, t3; DROP TABLE t1_spider, t2_spider, t3_spider, t1, t2, t3;
drop server s; drop server s;
for master_1 for master_1
......
...@@ -13,8 +13,6 @@ Warnings: ...@@ -13,8 +13,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
CREATE TABLE t3 (c INT KEY) ENGINE=Spider; CREATE TABLE t3 (c INT KEY) ENGINE=Spider;
LOCK TABLE t2 WRITE; LOCK TABLE t2 WRITE;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
LOCK TABLE t3 WRITE; LOCK TABLE t3 WRITE;
ERROR HY000: Unable to connect to foreign data source: localhost ERROR HY000: Unable to connect to foreign data source: localhost
UNLOCK TABLES; UNLOCK TABLES;
...@@ -25,8 +23,6 @@ CREATE TABLE t2 (c INT) ENGINE=Spider COMMENT='WRAPPER "mysql",srv "srv",TABLE " ...@@ -25,8 +23,6 @@ CREATE TABLE t2 (c INT) ENGINE=Spider COMMENT='WRAPPER "mysql",srv "srv",TABLE "
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
LOCK TABLES t2 WRITE; LOCK TABLES t2 WRITE;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
LOCK TABLES t1 READ; LOCK TABLES t1 READ;
ERROR HY000: Unable to connect to foreign data source: localhost ERROR HY000: Unable to connect to foreign data source: localhost
CREATE TABLE t (c INT) ENGINE=Spider; CREATE TABLE t (c INT) ENGINE=Spider;
...@@ -38,8 +34,6 @@ Warnings: ...@@ -38,8 +34,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
CREATE TABLE t3 (c INT) ENGINE=InnoDB; CREATE TABLE t3 (c INT) ENGINE=InnoDB;
LOCK TABLES t2 WRITE; LOCK TABLES t2 WRITE;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
LOCK TABLES mysql.proc WRITE,mysql.user WRITE; LOCK TABLES mysql.proc WRITE,mysql.user WRITE;
ERROR HY000: You can't combine write-locking of system tables with other tables or lock types ERROR HY000: You can't combine write-locking of system tables with other tables or lock types
INSERT INTO t3 SELECT * FROM t; INSERT INTO t3 SELECT * FROM t;
......
...@@ -15,8 +15,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -15,8 +15,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
SELECT MAX(a) FROM t1; SELECT MAX(a) FROM t1;
MAX(a) MAX(a)
48 48
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT SUM(a) FROM t1; SELECT SUM(a) FROM t1;
SUM(a) SUM(a)
71 71
...@@ -47,8 +45,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -47,8 +45,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
SELECT MAX(a + b), SUM(a - b) FROM t1; SELECT MAX(a + b), SUM(a - b) FROM t1;
MAX(a + b) SUM(a - b) MAX(a + b) SUM(a - b)
145 -25 145 -25
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SHOW STATUS LIKE 'Spider_direct_aggregate'; SHOW STATUS LIKE 'Spider_direct_aggregate';
Variable_name Value Variable_name Value
Spider_direct_aggregate 0 Spider_direct_aggregate 0
...@@ -61,8 +57,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -61,8 +57,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
SELECT IF(COUNT(a > 0),'Y','N'), MAX(a) FROM t1; SELECT IF(COUNT(a > 0),'Y','N'), MAX(a) FROM t1;
IF(COUNT(a > 0),'Y','N') MAX(a) IF(COUNT(a > 0),'Y','N') MAX(a)
Y 97 Y 97
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SHOW STATUS LIKE 'Spider_direct_aggregate'; SHOW STATUS LIKE 'Spider_direct_aggregate';
Variable_name Value Variable_name Value
Spider_direct_aggregate 2 Spider_direct_aggregate 2
......
...@@ -31,8 +31,6 @@ CREATE TABLE t2 (c INT) ENGINE=Spider COMMENT='WRAPPER "mysql",srv "srv",TABLE " ...@@ -31,8 +31,6 @@ CREATE TABLE t2 (c INT) ENGINE=Spider COMMENT='WRAPPER "mysql",srv "srv",TABLE "
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
LOCK TABLES t2 WRITE; LOCK TABLES t2 WRITE;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
UNLOCK TABLES; UNLOCK TABLES;
DROP TABLE t, t1, t2; DROP TABLE t, t1, t2;
CREATE TABLE t1 (c INT) ENGINE=Spider; CREATE TABLE t1 (c INT) ENGINE=Spider;
......
...@@ -14,8 +14,6 @@ SELECT a FROM t2 WHERE a IN ( SELECT a FROM t2 ); ...@@ -14,8 +14,6 @@ SELECT a FROM t2 WHERE a IN ( SELECT a FROM t2 );
a a
1 1
2 2
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
DROP TABLE t1, t2; DROP TABLE t1, t2;
DROP SERVER srv; DROP SERVER srv;
for master_1 for master_1
......
...@@ -11,8 +11,6 @@ Warnings: ...@@ -11,8 +11,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT TRIM(BOTH ' ' FROM c) FROM ts ORDER BY c; SELECT TRIM(BOTH ' ' FROM c) FROM ts ORDER BY c;
TRIM(BOTH ' ' FROM c) TRIM(BOTH ' ' FROM c)
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
drop table t, ts; drop table t, ts;
drop server srv; drop server srv;
for master_1 for master_1
......
...@@ -11,8 +11,6 @@ Warnings: ...@@ -11,8 +11,6 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT * FROM t2 WHERE b IN (SELECT b FROM t2 WHERE a > 10); SELECT * FROM t2 WHERE b IN (SELECT b FROM t2 WHERE a > 10);
a b a b
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT * FROM t2 SELECT * FROM t2
WHERE A BETWEEN 0 AND 10 AND B IN(SELECT B FROM t2 WHERE A BETWEEN 11 AND 20); WHERE A BETWEEN 0 AND 10 AND B IN(SELECT B FROM t2 WHERE A BETWEEN 11 AND 20);
a b a b
......
...@@ -10,8 +10,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"'; ...@@ -10,8 +10,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"';
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
delete from t1; delete from t1;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
drop table t1, t2; drop table t1, t2;
create table t2 (c int); create table t2 (c int);
create table t1 (c int) ENGINE=Spider create table t1 (c int) ENGINE=Spider
...@@ -19,8 +17,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"'; ...@@ -19,8 +17,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"';
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert ignore into t1 values (42), (378); insert ignore into t1 values (42), (378);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select * from t1; select * from t1;
c c
42 42
...@@ -35,8 +31,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"'; ...@@ -35,8 +31,6 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"';
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
truncate t1; truncate t1;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
drop table t1, t2; drop table t1, t2;
create table t2 (c int); create table t2 (c int);
create table t1 (c int) ENGINE=Spider create table t1 (c int) ENGINE=Spider
...@@ -44,15 +38,11 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"'; ...@@ -44,15 +38,11 @@ COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2", delete_all_rows_type "0"';
Warnings: Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert ignore into t1 values (42), (378); insert ignore into t1 values (42), (378);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select * from t1; select * from t1;
c c
42 42
378 378
truncate t1; truncate t1;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select * from t1; select * from t1;
c c
drop table t1, t2; drop table t1, t2;
......
...@@ -9,6 +9,8 @@ OPTIONS (SOCKET "$MASTER_1_MYSOCK", DATABASE 'test',user 'root'); ...@@ -9,6 +9,8 @@ OPTIONS (SOCKET "$MASTER_1_MYSOCK", DATABASE 'test',user 'root');
create table t2 (c varchar(16)); create table t2 (c varchar(16));
create table t1 (c varchar(16)) ENGINE=Spider create table t1 (c varchar(16)) ENGINE=Spider
COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2"'; COMMENT='WRAPPER "mysql", srv "srv",TABLE "t2"';
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into t1 values ('TestSpiderRegex'); insert into t1 values ('TestSpiderRegex');
select c from t1 where c regexp '(Test|Spider|Regex)'; select c from t1 where c regexp '(Test|Spider|Regex)';
c c
......
#
# MDEV-32999 ERROR 138 instead of warning, and potential error masking
#
for master_1
for child2
for child3
CREATE SERVER srv FOREIGN DATA WRAPPER mysql
OPTIONS (SOCKET "$MASTER_1_MYSOCK", DATABASE 'test',user 'root');
CREATE TABLE t ENGINE=Spider COMMENT='srv "srv",table "t1"';
ERROR HY000: Remote table 'test.t1' is not found
drop server srv;
for master_1
for child2
for child3
#
# end of test mdev_32999
#
--echo #
--echo # MDEV-32999 ERROR 138 instead of warning, and potential error masking
--echo #
--disable_query_log
--disable_result_log
--source ../../t/test_init.inc
--enable_result_log
--enable_query_log
evalp CREATE SERVER srv FOREIGN DATA WRAPPER mysql
OPTIONS (SOCKET "$MASTER_1_MYSOCK", DATABASE 'test',user 'root');
--error 12702
CREATE TABLE t ENGINE=Spider COMMENT='srv "srv",table "t1"';
drop server srv;
--disable_query_log
--disable_result_log
--source ../../t/test_deinit.inc
--enable_result_log
--enable_query_log
--echo #
--echo # end of test mdev_32999
--echo #
...@@ -81,21 +81,9 @@ Warnings: ...@@ -81,21 +81,9 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_a values (1,'a','2000/01/01'),(2,'b','2000/01/02'); insert into tbl_a values (1,'a','2000/01/01'),(2,'b','2000/01/02');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_b values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'); insert into tbl_b values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_c values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'); insert into tbl_c values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_d values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'),(5,'e','2000/01/05'); insert into tbl_d values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'),(5,'e','2000/01/05');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection child2_1; connection child2_1;
......
...@@ -81,21 +81,9 @@ Warnings: ...@@ -81,21 +81,9 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_a values (1,'a','2000/01/01'),(2,'b','2000/01/02'); insert into tbl_a values (1,'a','2000/01/01'),(2,'b','2000/01/02');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_b values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'); insert into tbl_b values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_c values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'); insert into tbl_c values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_d values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'),(5,'e','2000/01/05'); insert into tbl_d values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'),(5,'e','2000/01/05');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection child2_1; connection child2_1;
......
...@@ -81,21 +81,9 @@ Warnings: ...@@ -81,21 +81,9 @@ Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_a values (1,'a','2000/01/01'),(2,'b','2000/01/02'); insert into tbl_a values (1,'a','2000/01/01'),(2,'b','2000/01/02');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_b values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'); insert into tbl_b values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_c values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'); insert into tbl_c values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
insert into tbl_d values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'),(5,'e','2000/01/05'); insert into tbl_d values (1,'a','2000/01/01'),(2,'b','2000/01/02'),(3,'c','2000/01/03'),(4,'d','2000/01/04'),(5,'e','2000/01/05');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection child2_1; connection child2_1;
......
...@@ -81,11 +81,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES ...@@ -81,11 +81,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection master_1; connection master_1;
...@@ -154,10 +149,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release ...@@ -154,10 +149,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1287 'msi' is deprecated and will be removed in a future release Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -168,11 +159,6 @@ auto_test_local ta_l2#P#pt2 1 2 ...@@ -168,11 +159,6 @@ auto_test_local ta_l2#P#pt2 1 2
SELECT spider_copy_tables('ta_l2#P#pt2', '0', '1'); SELECT spider_copy_tables('ta_l2#P#pt2', '0', '1');
spider_copy_tables('ta_l2#P#pt2', '0', '1') spider_copy_tables('ta_l2#P#pt2', '0', '1')
1 1
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
connection master_1; connection master_1;
ALTER TABLE ta_l2 ALTER TABLE ta_l2
PARTITION BY KEY(a) ( PARTITION BY KEY(a) (
...@@ -195,10 +181,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release ...@@ -195,10 +181,6 @@ Warning 1287 'lst' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 1287 'msi' is deprecated and will be removed in a future release Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -209,11 +191,6 @@ auto_test_local ta_l2#P#pt2 1 1 ...@@ -209,11 +191,6 @@ auto_test_local ta_l2#P#pt2 1 1
INSERT INTO ta_l2 (a, b, c) VALUES INSERT INTO ta_l2 (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'), (8, 'g', '2011-05-05 21:33:30'),
(9, 'h', '2011-05-05 22:32:10'); (9, 'h', '2011-05-05 22:32:10');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
1 a 2008-08-01 10:21:39 1 a 2008-08-01 10:21:39
...@@ -256,11 +233,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES ...@@ -256,11 +233,6 @@ INSERT INTO ta_l2 (a, b, c) VALUES
(3, 'e', '2007-06-04 20:03:11'), (3, 'e', '2007-06-04 20:03:11'),
(4, 'd', '2003-11-30 05:01:03'), (4, 'd', '2003-11-30 05:01:03'),
(5, 'c', '2001-12-31 23:59:59'); (5, 'c', '2001-12-31 23:59:59');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test select test
connection master_1; connection master_1;
...@@ -330,10 +302,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -330,10 +302,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 1287 'msi' is deprecated and will be removed in a future release Warning 1287 'msi' is deprecated and will be removed in a future release
Warning 1287 'mkd' is deprecated and will be removed in a future release Warning 1287 'mkd' is deprecated and will be removed in a future release
Warning 1287 'alc' is deprecated and will be removed in a future release Warning 1287 'alc' is deprecated and will be removed in a future release
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables SELECT db_name, table_name, link_id, link_status FROM mysql.spider_tables
ORDER BY db_name, table_name, link_id; ORDER BY db_name, table_name, link_id;
db_name table_name link_id link_status db_name table_name link_id link_status
...@@ -344,11 +312,6 @@ auto_test_local ta_l2#P#pt2 1 1 ...@@ -344,11 +312,6 @@ auto_test_local ta_l2#P#pt2 1 1
INSERT INTO ta_l2 (a, b, c) VALUES INSERT INTO ta_l2 (a, b, c) VALUES
(8, 'g', '2011-05-05 21:33:30'), (8, 'g', '2011-05-05 21:33:30'),
(9, 'h', '2011-05-05 22:32:10'); (9, 'h', '2011-05-05 22:32:10');
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a; SELECT a, b, date_format(c, '%Y-%m-%d %H:%i:%s') FROM ta_l2 ORDER BY a;
a b date_format(c, '%Y-%m-%d %H:%i:%s') a b date_format(c, '%Y-%m-%d %H:%i:%s')
1 a 2008-08-01 10:21:39 1 a 2008-08-01 10:21:39
......
...@@ -44,18 +44,8 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -44,18 +44,8 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey; SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey;
TRUNCATE tbl_a; TRUNCATE tbl_a;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test 1 select test 1
connection child2_1; connection child2_1;
......
...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey; SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey;
UPDATE tbl_a SET val = val + 1; UPDATE tbl_a SET val = val + 1;
......
...@@ -44,18 +44,8 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -44,18 +44,8 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey; SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey;
TRUNCATE tbl_a; TRUNCATE tbl_a;
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
select test 1 select test 1
connection child2_1; connection child2_1;
......
...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey; SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey;
UPDATE tbl_a SET val = val + 1; UPDATE tbl_a SET val = val + 1;
......
...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey; SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey;
UPDATE tbl_a SET val = val + 1; UPDATE tbl_a SET val = val + 1;
......
...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre ...@@ -44,11 +44,6 @@ Warning 138 Spider table params in COMMENT or CONNECTION strings have been depre
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead. Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9); INSERT INTO tbl_a (pkey,val) VALUES (0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8,8),(9,9);
Warnings:
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
Warning 138 Spider table params in COMMENT or CONNECTION strings have been deprecated and will be removed in a future release. Please use table options instead.
SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey; SELECT pkey,val INTO OUTFILE 'MYSQLTEST_VARDIR/tmp/spider_outfile.tsv' FROM tbl_a ORDER BY pkey;
UPDATE tbl_a SET val = val + 1; UPDATE tbl_a SET val = val + 1;
......
...@@ -2613,12 +2613,13 @@ int spider_parse_connect_info( ...@@ -2613,12 +2613,13 @@ int spider_parse_connect_info(
continue; continue;
} }
push_warning_printf(current_thd, Sql_condition::WARN_LEVEL_WARN, if (create_table)
HA_ERR_UNSUPPORTED, push_warning_printf(current_thd, Sql_condition::WARN_LEVEL_WARN,
"Spider table params in COMMENT or CONNECTION " HA_ERR_UNSUPPORTED,
"strings have been deprecated " "Spider table params in COMMENT or CONNECTION "
"and will be removed in a future release. " "strings have been deprecated "
"Please use table options instead."); "and will be removed in a future release. "
"Please use table options instead.");
start_param = connect_string; start_param = connect_string;
parse.error_num = ER_SPIDER_INVALID_CONNECT_INFO_NUM; parse.error_num = ER_SPIDER_INVALID_CONNECT_INFO_NUM;
while (*start_param != '\0') while (*start_param != '\0')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment