Commit 40ab5ffe authored by Olivier Bertrand's avatar Olivier Bertrand

- Added --eval and -- replace_result

modified:
  mysql-test/suite/connect/r/tbl.result
  mysql-test/suite/connect/t/tbl.test
parent 32669e4c
......@@ -44,11 +44,7 @@ ta message
1 Testing
2 myisam table
3 t4
CREATE TABLE total (
tabname CHAR(8) NOT NULL SPECIAL='TABID',
ta TINYINT NOT NULL FLAG=1,
message CHAR(20))
engine=CONNECT table_type=TBL table_list='t1,t2,t3,t4' option_list='port=$PORT';
CREATE TABLE total (tabname CHAR(8) NOT NULL SPECIAL='TABID', ta TINYINT NOT NULL FLAG=1, message CHAR(20)) engine=CONNECT table_type=TBL table_list='t1,t2,t3,t4' option_list='port=PORT';
select * from total;
tabname ta message
t1 1 Testing
......
let $MYSQLD_DATADIR= `select @@datadir`;
let $PORT= `select @@port`;
--disable_query_log
--replace_result $PORT PORT
--enable_query_log
--echo #
--echo # Checking TBL tables
--echo #
......@@ -32,11 +28,8 @@ message CHAR(20)) ENGINE=MyISAM;
INSERT INTO t4 (message) VALUES ('Testing'),('myisam table'),('t4');
SELECT * FROM t4;
CREATE TABLE total (
tabname CHAR(8) NOT NULL SPECIAL='TABID',
ta TINYINT NOT NULL FLAG=1,
message CHAR(20))
engine=CONNECT table_type=TBL table_list='t1,t2,t3,t4' option_list='port=$PORT';
--replace_result $PORT PORT
--eval CREATE TABLE total (tabname CHAR(8) NOT NULL SPECIAL='TABID', ta TINYINT NOT NULL FLAG=1, message CHAR(20)) engine=CONNECT table_type=TBL table_list='t1,t2,t3,t4' option_list='port=$PORT'
select * from total;
select * from total where tabname = 't2';
......
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