Commit f406bca7 authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix problem of mysql connection in TBL tables

  By adding the option_list='port=$PORT' in the table create statement.

modified:
  mysql-test/suite/connect/r/tbl.result
  mysql-test/suite/connect/t/tbl.test
parent ebc6fc7f
......@@ -48,7 +48,7 @@ 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';
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
......@@ -31,7 +36,7 @@ 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';
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