2
# - stored procedures/functions;
8
# - create a database with collation utf8_unicode_ci;
9
# - create an object, which
10
# - contains SP-var with explicit CHARSET-clause;
11
# - contains SP-var without CHARSET-clause;
12
# - contains text constant;
13
# - has localized routine/parameter names;
16
# - SHOW CREATE output;
18
# - SELECT FROM INFORMATION_SCHEMA output;
19
# - alter database character set;
20
# - change connection collation;
22
# - dump definition using mysqldump;
27
###########################################################################
29
# NOTE: this file contains text in UTF8 and KOI8-R encodings.
31
###########################################################################
33
# Test requires server to accept client connections (for mysqldump portions)
34
--source include/not_embedded.inc
35
--source include/have_utf8.inc
36
--source include/have_cp866.inc
37
--source include/have_cp1251.inc
38
--source include/have_koi8r.inc
40
###########################################################################
45
###########################################################################
49
###########################################################################
52
--echo -------------------------------------------------------------------
54
--echo -------------------------------------------------------------------
61
# - Create database with fixed, pre-defined character set.
64
DROP DATABASE IF EXISTS mysqltest1|
67
CREATE DATABASE mysqltest1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
71
CREATE TABLE t1(��� INT)|
72
INSERT INTO t1 VALUES(1)|
79
SELECT '����' AS c1, ��� AS c2
84
CREATE VIEW v2 AS SELECT _utf8'тест' as c1|
88
CREATE VIEW v3 AS SELECT _utf8'тест'|
96
--source include/ddl_i18n.check_views.inc
99
# Change running environment (alter database character set, change session
106
ALTER DATABASE mysqltest1 COLLATE cp866_general_ci|
109
# Second-round checks:
112
# - Change connection to flush cache;
114
--connect (con2,localhost,root,,)
116
--echo ---> connection: con2
118
# - Switch environment variables and trigger loading views;
120
SET @@character_set_client= cp1251|
121
SET @@character_set_results= cp1251|
122
SET @@collation_connection= cp1251_general_ci|
125
SELECT * FROM mysqltest1.v1|
126
SELECT * FROM mysqltest1.v2|
127
SELECT * FROM mysqltest1.v3|
132
# - Restore environment;
138
--source include/ddl_i18n.check_views.inc
147
--echo ---> Dumping mysqltest1 to ddl_i18n_koi8r.views.mysqltest1.sql
149
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --databases mysqltest1 > $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.views.mysqltest1.sql
151
# - Clean mysqltest1;
156
DROP DATABASE mysqltest1|
158
# - Restore mysqltest1;
163
--echo ---> Restoring mysqltest1...
164
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.views.mysqltest1.sql
167
# Third-round checks.
170
# - Change connection to flush cache;
172
--connect (con3,localhost,root,,)
174
--echo ---> connection: con3
176
# - Switch environment variables and trigger loading views;
178
SET @@character_set_client= cp1251|
179
SET @@character_set_results= cp1251|
180
SET @@collation_connection= cp1251_general_ci|
183
SELECT * FROM mysqltest1.v1|
184
SELECT * FROM mysqltest1.v2|
185
SELECT * FROM mysqltest1.v3|
190
# - Restore environment;
196
--source include/ddl_i18n.check_views.inc
204
--echo ---> connection: default
211
DROP DATABASE mysqltest1|
213
###########################################################################
215
# * Stored procedures/functions.
217
###########################################################################
220
--echo -------------------------------------------------------------------
221
--echo Stored procedures/functions
222
--echo -------------------------------------------------------------------
229
# - Create database with fixed, pre-defined character set.
232
DROP DATABASE IF EXISTS mysqltest1|
233
DROP DATABASE IF EXISTS mysqltest2|
236
CREATE DATABASE mysqltest1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
237
CREATE DATABASE mysqltest2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
241
# - Create two stored routines -- with and without explicit
242
# CHARSET-clause for SP-variable;
250
INOUT �����1 CHAR(10),
253
DECLARE �����1 CHAR(10);
256
COLLATION(�����1) AS c1,
257
COLLATION(�����1) AS c2,
258
COLLATION(�����2) AS c3;
261
COLLATION('�����') AS c4,
262
COLLATION(_koi8r '�����') AS c5,
263
COLLATION(_utf8 'текст') AS c6,
264
@@collation_connection AS c7,
265
@@character_set_client AS c8;
276
INOUT �����1 CHAR(10) CHARACTER SET utf8,
277
OUT �����2 CHAR(10) CHARACTER SET utf8)
279
DECLARE �����1 CHAR(10) CHARACTER SET utf8;
282
COLLATION(�����1) AS c1,
283
COLLATION(�����1) AS c2,
284
COLLATION(�����2) AS c3;
287
COLLATION('�����') AS c4,
288
COLLATION(_koi8r '�����') AS c5,
289
COLLATION(_utf8 'текст') AS c6,
290
@@collation_connection AS c7,
291
@@character_set_client AS c8;
301
CREATE PROCEDURE mysqltest2.p3(
302
INOUT �����1 CHAR(10),
305
DECLARE �����1 CHAR(10);
308
COLLATION(�����1) AS c1,
309
COLLATION(�����1) AS c2,
310
COLLATION(�����2) AS c3;
313
COLLATION('�����') AS c4,
314
COLLATION(_koi8r '�����') AS c5,
315
COLLATION(_utf8 'текст') AS c6,
316
@@collation_connection AS c7,
317
@@character_set_client AS c8;
327
CREATE PROCEDURE mysqltest2.p4(
328
INOUT �����1 CHAR(10) CHARACTER SET utf8,
329
OUT �����2 CHAR(10) CHARACTER SET utf8)
331
DECLARE �����1 CHAR(10) CHARACTER SET utf8;
334
COLLATION(�����1) AS c1,
335
COLLATION(�����1) AS c2,
336
COLLATION(�����2) AS c3;
339
COLLATION('�����') AS c4,
340
COLLATION(_koi8r '�����') AS c5,
341
COLLATION(_utf8 'текст') AS c6,
342
@@collation_connection AS c7,
343
@@character_set_client AS c8;
350
# First-round checks.
353
--source include/ddl_i18n.check_sp.inc
356
# Change running environment (alter database character set, change session
363
ALTER DATABASE mysqltest1 COLLATE cp866_general_ci|
364
ALTER DATABASE mysqltest2 COLLATE cp866_general_ci|
367
# Second-round checks:
370
# - Change connection to flush SP-cache;
372
--connect (con2,localhost,root,,mysqltest1)
374
--echo ---> connection: con2
376
# - Switch environment variables and trigger loading stored procedures;
378
SET @@character_set_client= cp1251|
379
SET @@character_set_results= cp1251|
380
SET @@collation_connection= cp1251_general_ci|
384
CALL mysqltest2.p3(@a, @b)|
385
CALL mysqltest2.p4(@a, @b)|
387
# - Restore environment;
393
--source include/ddl_i18n.check_sp.inc
399
# - Dump mysqltest1, mysqltest2;
402
--echo ---> Dump of mysqltest1
404
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --routines --databases mysqltest1
407
--echo ---> Dumping mysqltest1 to ddl_i18n_koi8r.sp.mysqltest1.sql
409
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --routines --databases mysqltest1 > $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.sp.mysqltest1.sql
412
--echo ---> Dump of mysqltest2
414
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --routines --databases mysqltest2
417
--echo ---> Dumping mysqltest2 to ddl_i18n_koi8r.sp.mysqltest2.sql
419
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --routines --databases mysqltest2 > $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.sp.mysqltest2.sql
421
# - Clean mysqltest1, mysqltest2;
426
DROP DATABASE mysqltest1|
427
DROP DATABASE mysqltest2|
429
# - Restore mysqltest1;
434
--echo ---> Restoring mysqltest1...
435
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.sp.mysqltest1.sql
437
--echo ---> Restoring mysqltest2...
438
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.sp.mysqltest2.sql
441
# Third-round checks.
444
# - Change connection to flush SP-cache;
446
--connect (con3,localhost,root,,mysqltest1)
448
--echo ---> connection: con3
450
# - Switch environment variables and trigger loading stored procedures;
452
SET @@character_set_client= cp1251|
453
SET @@character_set_results= cp1251|
454
SET @@collation_connection= cp1251_general_ci|
458
CALL mysqltest2.p3(@a, @b)|
459
CALL mysqltest2.p4(@a, @b)|
461
# - Restore environment;
467
--source include/ddl_i18n.check_sp.inc
475
--echo ---> connection: default
482
DROP DATABASE mysqltest1|
483
DROP DATABASE mysqltest2|
485
###########################################################################
489
###########################################################################
492
--echo -------------------------------------------------------------------
494
--echo -------------------------------------------------------------------
501
# - Create database with fixed, pre-defined character set;
504
DROP DATABASE IF EXISTS mysqltest1|
505
DROP DATABASE IF EXISTS mysqltest2|
508
CREATE DATABASE mysqltest1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
509
CREATE DATABASE mysqltest2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
513
# - Create tables for triggers;
515
CREATE TABLE t1(c INT)|
516
CREATE TABLE mysqltest2.t1(c INT)|
518
# - Create log tables;
520
CREATE TABLE log(msg VARCHAR(255))|
521
CREATE TABLE mysqltest2.log(msg VARCHAR(255))|
524
# - Create triggers -- with and without explicit CHARSET-clause for
532
CREATE TRIGGER trg1 BEFORE INSERT ON t1 FOR EACH ROW
534
DECLARE �����1 CHAR(10);
536
INSERT INTO log VALUES(COLLATION(�����1));
537
INSERT INTO log VALUES(COLLATION('�����'));
538
INSERT INTO log VALUES(COLLATION(_koi8r '�����'));
539
INSERT INTO log VALUES(COLLATION(_utf8 'текст'));
540
INSERT INTO log VALUES(@@collation_connection);
541
INSERT INTO log VALUES(@@character_set_client);
544
SET @a1 = _koi8r '�����';
545
SET @a2 = _utf8 'текст';
552
CREATE TRIGGER trg2 AFTER INSERT ON t1 FOR EACH ROW
554
DECLARE �����1 CHAR(10) CHARACTER SET utf8;
556
INSERT INTO log VALUES(COLLATION(�����1));
557
INSERT INTO log VALUES(COLLATION('�����'));
558
INSERT INTO log VALUES(COLLATION(_koi8r '�����'));
559
INSERT INTO log VALUES(COLLATION(_utf8 'текст'));
560
INSERT INTO log VALUES(@@collation_connection);
561
INSERT INTO log VALUES(@@character_set_client);
564
SET @b1 = _koi8r '�����';
565
SET @b2 = _utf8 'текст';
572
CREATE TRIGGER mysqltest2.trg3 BEFORE INSERT ON mysqltest2.t1 FOR EACH ROW
574
DECLARE �����1 CHAR(10);
576
INSERT INTO log VALUES(COLLATION(�����1));
577
INSERT INTO log VALUES(COLLATION('�����'));
578
INSERT INTO log VALUES(COLLATION(_koi8r '�����'));
579
INSERT INTO log VALUES(COLLATION(_utf8 'текст'));
580
INSERT INTO log VALUES(@@collation_connection);
581
INSERT INTO log VALUES(@@character_set_client);
584
SET @a1 = _koi8r '�����';
585
SET @a2 = _utf8 'текст';
592
CREATE TRIGGER mysqltest2.trg4 AFTER INSERT ON mysqltest2.t1 FOR EACH ROW
594
DECLARE �����1 CHAR(10) CHARACTER SET utf8;
596
INSERT INTO log VALUES(COLLATION(�����1));
597
INSERT INTO log VALUES(COLLATION('�����'));
598
INSERT INTO log VALUES(COLLATION(_koi8r '�����'));
599
INSERT INTO log VALUES(COLLATION(_utf8 'текст'));
600
INSERT INTO log VALUES(@@collation_connection);
601
INSERT INTO log VALUES(@@character_set_client);
604
SET @b1 = _koi8r '�����';
605
SET @b2 = _utf8 'текст';
611
# First-round checks.
614
--source include/ddl_i18n.check_triggers.inc
617
# Change running environment (alter database character set, change session
624
ALTER DATABASE mysqltest1 COLLATE cp866_general_ci|
625
ALTER DATABASE mysqltest2 COLLATE cp866_general_ci|
628
# Second-round checks:
631
# - Flush table cache;
633
ALTER TABLE t1 ADD COLUMN fake INT|
634
ALTER TABLE t1 DROP COLUMN fake|
636
ALTER TABLE mysqltest2.t1 ADD COLUMN fake INT|
637
ALTER TABLE mysqltest2.t1 DROP COLUMN fake|
639
# - Switch environment variables and initiate loading of triggers
640
# (connect using NULL database);
642
--connect (con2,localhost,root,,)
644
--echo ---> connection: con2
646
SET @@character_set_client= cp1251|
647
SET @@character_set_results= cp1251|
648
SET @@collation_connection= cp1251_general_ci|
650
INSERT INTO mysqltest1.t1 VALUES(0)|
651
INSERT INTO mysqltest2.t1 VALUES(0)|
653
DELETE FROM mysqltest1.log|
654
DELETE FROM mysqltest2.log|
656
# - Restore environment;
664
--source include/ddl_i18n.check_triggers.inc
670
# - Dump mysqltest1, mysqltest2;
673
--echo ---> Dump of mysqltest1
675
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --triggers --databases mysqltest1
678
--echo ---> Dumping mysqltest1 to ddl_i18n_koi8r.triggers.mysqltest1.sql
680
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --triggers --databases mysqltest1 > $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.triggers.mysqltest1.sql
683
--echo ---> Dump of mysqltest2
685
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --triggers --databases mysqltest2
688
--echo ---> Dumping mysqltest2 to ddl_i18n_koi8r.triggers.mysqltest2.sql
690
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --triggers --databases mysqltest2 > $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.triggers.mysqltest2.sql
692
# - Clean mysqltest1, mysqltest2;
697
DROP DATABASE mysqltest1|
698
DROP DATABASE mysqltest2|
700
# - Restore mysqltest1;
705
--echo ---> Restoring mysqltest1...
706
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.triggers.mysqltest1.sql
708
--echo ---> Restoring mysqltest2...
709
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.triggers.mysqltest2.sql
712
# Third-round checks.
715
# - Flush table cache;
717
ALTER TABLE mysqltest1.t1 ADD COLUMN fake INT|
718
ALTER TABLE mysqltest1.t1 DROP COLUMN fake|
720
ALTER TABLE mysqltest2.t1 ADD COLUMN fake INT|
721
ALTER TABLE mysqltest2.t1 DROP COLUMN fake|
723
# - Switch environment variables and initiate loading of triggers
724
# (connect using NULL database);
726
--connect (con3,localhost,root,,)
728
--echo ---> connection: con3
730
SET @@character_set_client= cp1251|
731
SET @@character_set_results= cp1251|
732
SET @@collation_connection= cp1251_general_ci|
734
INSERT INTO mysqltest1.t1 VALUES(0)|
735
INSERT INTO mysqltest2.t1 VALUES(0)|
737
DELETE FROM mysqltest1.log|
738
DELETE FROM mysqltest2.log|
740
# - Restore environment;
748
--source include/ddl_i18n.check_triggers.inc
756
--echo ---> connection: default
763
DROP DATABASE mysqltest1|
764
DROP DATABASE mysqltest2|
766
###########################################################################
770
# We don't have EXECUTE EVENT so far, so this test is limited. It checks that
771
# event with non-latin1 symbols can be created, dumped, restored and SHOW
772
# statements work properly.
774
###########################################################################
777
--echo -------------------------------------------------------------------
779
--echo -------------------------------------------------------------------
786
# - Create database with fixed, pre-defined character set.
789
DROP DATABASE IF EXISTS mysqltest1|
790
DROP DATABASE IF EXISTS mysqltest2|
793
CREATE DATABASE mysqltest1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
794
CREATE DATABASE mysqltest2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
798
# - Create two stored routines -- with and without explicit
799
# CHARSET-clause for SP-variable;
806
CREATE EVENT ev1 ON SCHEDULE AT '2030-01-01 00:00:00' DO
808
DECLARE �����1 CHAR(10);
811
COLLATION(�����1) AS c1,
812
COLLATION('�����') AS c2,
813
COLLATION(_koi8r '�����') AS c3,
814
COLLATION(_utf8 'текст') AS c4,
815
@@collation_connection AS c5,
816
@@character_set_client AS c6;
823
CREATE EVENT ev2 ON SCHEDULE AT '2030-01-01 00:00:00' DO
825
DECLARE �����1 CHAR(10) CHARACTER SET utf8;
828
COLLATION(�����1) AS c1,
829
COLLATION('�����') AS c2,
830
COLLATION(_koi8r '�����') AS c3,
831
COLLATION(_utf8 'текст') AS c4,
832
@@collation_connection AS c5,
833
@@character_set_client AS c6;
840
CREATE EVENT mysqltest2.ev3 ON SCHEDULE AT '2030-01-01 00:00:00' DO
842
DECLARE �����1 CHAR(10) CHARACTER SET utf8;
845
COLLATION(�����1) AS c1,
846
COLLATION('�����') AS c2,
847
COLLATION(_koi8r '�����') AS c3,
848
COLLATION(_utf8 'текст') AS c4,
849
@@collation_connection AS c5,
850
@@character_set_client AS c6;
857
CREATE EVENT mysqltest2.ev4 ON SCHEDULE AT '2030-01-01 00:00:00' DO
859
DECLARE �����1 CHAR(10) CHARACTER SET utf8;
862
COLLATION(�����1) AS c1,
863
COLLATION('�����') AS c2,
864
COLLATION(_koi8r '�����') AS c3,
865
COLLATION(_utf8 'текст') AS c4,
866
@@collation_connection AS c5,
867
@@character_set_client AS c6;
874
# First-round checks.
877
--source include/ddl_i18n.check_events.inc
880
# Change running environment (alter database character set, change session
887
ALTER DATABASE mysqltest1 COLLATE cp866_general_ci|
888
ALTER DATABASE mysqltest2 COLLATE cp866_general_ci|
891
# Second-round checks:
894
# - Change connection to flush cache;
896
--connect (con2,localhost,root,,mysqltest1)
898
--echo ---> connection: con2
900
# - Switch environment variables and trigger loading stored procedures;
902
SET @@character_set_client= cp1251|
903
SET @@character_set_results= cp1251|
904
SET @@collation_connection= cp1251_general_ci|
907
SHOW CREATE EVENT ev1|
908
SHOW CREATE EVENT ev2|
909
SHOW CREATE EVENT mysqltest2.ev3|
910
SHOW CREATE EVENT mysqltest2.ev4|
913
# - Restore environment;
919
--source include/ddl_i18n.check_events.inc
925
# - Dump mysqltest1, mysqltest2;
928
--echo ---> Dump of mysqltest1
930
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --events --databases mysqltest1
933
--echo ---> Dumping mysqltest1 to ddl_i18n_koi8r.events.mysqltest1.sql
935
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --events --databases mysqltest1 > $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.events.mysqltest1.sql
938
--echo ---> Dump of mysqltest2
940
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --events --databases mysqltest2
943
--echo ---> Dumping mysqltest2 to ddl_i18n_koi8r.events.mysqltest2.sql
945
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --compact --events --databases mysqltest2 > $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.events.mysqltest2.sql
947
# - Clean mysqltest1, mysqltest2;
952
DROP DATABASE mysqltest1|
953
DROP DATABASE mysqltest2|
955
# - Restore mysqltest1;
960
--echo ---> Restoring mysqltest1...
961
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.events.mysqltest1.sql
963
--echo ---> Restoring mysqltest2...
964
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/ddl_i18n_koi8r.events.mysqltest2.sql
967
# Third-round checks.
970
# - Change connection to flush cache;
972
--connect (con3,localhost,root,,mysqltest1)
974
--echo ---> connection: con3
976
# - Switch environment variables and trigger loading stored procedures;
978
SET @@character_set_client= cp1251|
979
SET @@character_set_results= cp1251|
980
SET @@collation_connection= cp1251_general_ci|
983
SHOW CREATE EVENT ev1|
984
SHOW CREATE EVENT ev2|
985
SHOW CREATE EVENT mysqltest2.ev3|
986
SHOW CREATE EVENT mysqltest2.ev4|
989
# - Restore environment;
995
--source include/ddl_i18n.check_events.inc
997
###########################################################################
999
# * DDL statements inside stored routine.
1001
# Here we check that DDL statements use actual database collation even if they
1002
# are called from stored routine.
1004
###########################################################################
1007
--echo -------------------------------------------------------------------
1008
--echo DDL statements within stored routine.
1009
--echo -------------------------------------------------------------------
1016
# - Create database with fixed, pre-defined character set.
1019
DROP DATABASE IF EXISTS mysqltest1|
1020
DROP DATABASE IF EXISTS mysqltest2|
1023
CREATE DATABASE mysqltest1 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
1024
CREATE DATABASE mysqltest2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci|
1028
# - Create procedures;
1032
CREATE PROCEDURE p1()
1034
CREATE TABLE t1(col1 VARCHAR(10));
1035
SHOW CREATE TABLE t1;
1040
CREATE PROCEDURE mysqltest2.p2()
1042
CREATE TABLE t2(col1 VARCHAR(10));
1043
SHOW CREATE TABLE t2;
1049
# First-round checks.
1056
SHOW CREATE TABLE t1|
1061
CALL mysqltest2.p2()|
1065
SHOW CREATE TABLE mysqltest2.t2|
1073
ALTER DATABASE mysqltest1 COLLATE cp1251_general_cs|
1074
ALTER DATABASE mysqltest2 COLLATE cp1251_general_cs|
1077
DROP TABLE mysqltest2.t2|
1082
# Second-round checks.
1089
SHOW CREATE TABLE t1|
1094
CALL mysqltest2.p2()|
1098
SHOW CREATE TABLE mysqltest2.t2|
1100
###########################################################################
1104
###########################################################################
1110
--connection default
1112
--echo ---> connection: default
1119
DROP DATABASE mysqltest1|
1120
DROP DATABASE mysqltest2|