Commit 8bd1f06c authored by Olivier Bertrand's avatar Olivier Bertrand

Return to original version of jdbc.test

parent efe99828
-- source windows.inc -- source windows.inc
-- source jdbconn.inc -- source jdbconn.inc
SET GLOBAL time_zone='+0:00'; SET GLOBAL time_zone='+1:00';
let $MYSQLD_DATADIR= `select @@datadir`; let $MYSQLD_DATADIR= `select @@datadir`;
--copy_file $MTR_SUITE_DIR/std_data/girls.txt $MYSQLD_DATADIR/test/girls.txt --copy_file $MTR_SUITE_DIR/std_data/girls.txt $MYSQLD_DATADIR/test/girls.txt
...@@ -27,8 +27,7 @@ SELECT * FROM t2; ...@@ -27,8 +27,7 @@ SELECT * FROM t2;
--echo # --echo #
USE test; USE test;
--replace_result $PORT PORT --replace_result $PORT PORT
CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=JDBC TABNAME=t2 --eval CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=JDBC TABNAME=t2 CONNECTION='jdbc:mysql://localhost:$PORT/connect?user=root'
CONNECTION="jdbc:mysql://localhost:3306/connect?user=root&globalVariables=time_zone='+0:00'&useSSL=false";
SELECT * FROM t1; SELECT * FROM t1;
INSERT INTO t1 VALUES(786325481247, 'Hello!', '19:45:03', '1933-08-10', '1985-11-12 09:02:44', '2014-06-17 10:32:01'); INSERT INTO t1 VALUES(786325481247, 'Hello!', '19:45:03', '1933-08-10', '1985-11-12 09:02:44', '2014-06-17 10:32:01');
SELECT * FROM t1; SELECT * FROM t1;
......
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