~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/mysqldump.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Embedded server doesn't support external clients
 
2
--source include/not_embedded.inc
 
3
--source include/have_log_bin.inc
 
4
 
 
5
# Binlog is required
 
6
--source include/have_log_bin.inc
1
7
 
2
8
--disable_warnings
3
9
DROP TABLE IF EXISTS t1, `"t"1`, t1aa, t2, t2aa, t3;
10
16
 
11
17
CREATE TABLE t1(a int, key (a)) key_block_size=1024;
12
18
INSERT INTO t1 VALUES (1), (2);
13
 
--exec $DRIZZLE_DUMP --skip-create --skip-comments -X test t1
 
19
--exec $MYSQL_DUMP --skip-create --skip-comments -X test t1
14
20
DROP TABLE t1;
15
21
 
16
22
--echo #
20
26
CREATE TABLE t1 (a decimal(64, 20));
21
27
INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890"),
22
28
("0987654321098765432109876543210987654321");
23
 
--exec $DRIZZLE_DUMP --compact test t1
 
29
--exec $MYSQL_DUMP --compact test t1
24
30
DROP TABLE t1;
25
31
 
26
32
--echo #
29
35
 
30
36
CREATE TABLE t1 (`a"b"` char(2));
31
37
INSERT INTO t1 VALUES ("1\""), ("\"2");
32
 
--exec $DRIZZLE_DUMP --compact --skip-create -X test t1
 
38
--exec $MYSQL_DUMP --compact --skip-create -X test t1
 
39
DROP TABLE t1;
 
40
 
 
41
--echo #
 
42
--echo # Bug #1994
 
43
--echo # Bug #4261
 
44
--echo #
 
45
 
 
46
CREATE TABLE t1 (a  VARCHAR(255)) DEFAULT CHARSET koi8r;
 
47
INSERT INTO t1  VALUES (_koi8r x'C1C2C3C4C5'), (NULL);
 
48
--exec $MYSQL_DUMP --skip-comments --skip-extended-insert test t1
33
49
DROP TABLE t1;
34
50
 
35
51
--echo #
36
52
--echo # Bug #2634
37
53
--echo #
38
54
 
39
 
CREATE TABLE t1 (a int);
 
55
CREATE TABLE t1 (a int) ENGINE=MYISAM;
40
56
INSERT INTO t1 VALUES (1), (2);
41
 
--exec $DRIZZLE_DUMP --skip-comments --compatible=mysql40 test t1
42
 
--exec $DRIZZLE_DUMP --skip-comments --compatible=mysql323 test t1
 
57
--exec $MYSQL_DUMP --skip-comments --compatible=mysql40 test t1
 
58
--exec $MYSQL_DUMP --skip-comments --compatible=mysql323 test t1
43
59
DROP TABLE t1;
44
60
 
45
61
--echo #
47
63
--echo #
48
64
 
49
65
create table ```a` (i int);
50
 
--exec $DRIZZLE_DUMP --compact test
 
66
--exec $MYSQL_DUMP --compact test
51
67
drop table ```a`;
52
68
 
53
69
--echo #
56
72
 
57
73
create table t1(a int);
58
74
insert into t1 values (1),(2),(3);
59
 
--exec $DRIZZLE_DUMP --skip-comments --tab=$MYSQLTEST_VARDIR/tmp/ test
 
75
--exec $MYSQL_DUMP --skip-comments --tab=$MYSQLTEST_VARDIR/tmp/ test
60
76
--cat_file $MYSQLTEST_VARDIR/tmp/t1.sql
61
77
--cat_file $MYSQLTEST_VARDIR/tmp/t1.txt
62
78
--remove_file $MYSQLTEST_VARDIR/tmp/t1.sql
63
79
--remove_file $MYSQLTEST_VARDIR/tmp/t1.txt
64
 
--exec $DRIZZLE_DUMP --tab=$MYSQLTEST_VARDIR/tmp/ test
 
80
--exec $MYSQL_DUMP --tab=$MYSQLTEST_VARDIR/tmp/ test
65
81
--remove_file $MYSQLTEST_VARDIR/tmp/t1.sql
66
82
--remove_file $MYSQLTEST_VARDIR/tmp/t1.txt
67
83
drop table t1;
70
86
--echo # Bug #6101: create database problem
71
87
--echo #
72
88
 
73
 
--exec $DRIZZLE_DUMP --skip-comments --databases test
 
89
--exec $MYSQL_DUMP --skip-comments --databases test
74
90
 
75
 
#
76
 
# @TODO Implement collation checking for UTF8 + collations
77
 
#
78
 
create database mysqldump_test_db collate utf8_esperanto_ci;
79
 
--exec $DRIZZLE_DUMP --skip-comments --databases mysqldump_test_db
 
91
create database mysqldump_test_db character set latin2 collate latin2_bin;
 
92
--exec $MYSQL_DUMP --skip-comments --databases mysqldump_test_db
80
93
drop database mysqldump_test_db;
81
94
 
82
95
--echo #
86
99
--echo # --default-character-set=xxx. However, we should dump in UTF8
87
100
--echo # if it is explicitely set.
88
101
 
 
102
CREATE TABLE t1 (a  CHAR(10));
 
103
INSERT INTO t1  VALUES (_latin1 '����');
 
104
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --skip-comments test t1
 
105
 
 
106
--echo #
 
107
--echo # Bug#8063: make test mysqldump [ fail ]
 
108
--echo # We cannot tes this command because its output depends
 
109
--echo # on --default-character-set incompiled into "mysqldump" program.
 
110
--echo # If the future we can move this command into a separate test with
 
111
--echo # checking that "mysqldump" is compiled with "latin1"
 
112
--echo #
 
113
 
 
114
#--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --skip-comments --compatible=mysql323 test t1
 
115
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --skip-comments --compatible=mysql323 --default-character-set=cp850 test t1
 
116
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --skip-comments --default-character-set=cp850 --compatible=mysql323 test t1
 
117
--exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --skip-comments --default-character-set=utf8 --compatible=mysql323 test t1
 
118
DROP TABLE t1;
89
119
 
90
120
--echo #
91
121
--echo # WL #2319: Exclude Tables from dump
95
125
CREATE TABLE t2 (a int);
96
126
INSERT INTO t1 VALUES (1),(2),(3);
97
127
INSERT INTO t2 VALUES (4),(5),(6);
98
 
--exec $DRIZZLE_DUMP --skip-comments --ignore-table=test.t1 test
 
128
--exec $MYSQL_DUMP --skip-comments --ignore-table=test.t1 test
99
129
DROP TABLE t1;
100
130
DROP TABLE t2;
101
131
 
105
135
 
106
136
CREATE TABLE t1 (`b` blob);
107
137
INSERT INTO `t1` VALUES (0x602010000280100005E71A);
108
 
--exec $DRIZZLE_DUMP --skip-extended-insert --hex-blob test --skip-comments t1
 
138
--exec $MYSQL_DUMP --skip-extended-insert --hex-blob test --skip-comments t1
109
139
DROP TABLE t1;
110
140
 
111
141
--echo #
115
145
CREATE TABLE t1 (a int);
116
146
INSERT INTO t1 VALUES (1),(2),(3);
117
147
INSERT INTO t1 VALUES (4),(5),(6);
118
 
--exec $DRIZZLE_DUMP --skip-comments --insert-ignore test t1
119
 
--exec $DRIZZLE_DUMP --skip-comments --insert-ignore --delayed-insert test t1
 
148
--exec $MYSQL_DUMP --skip-comments --insert-ignore test t1
 
149
--exec $MYSQL_DUMP --skip-comments --insert-ignore --delayed-insert test t1
120
150
DROP TABLE t1;
121
151
 
122
152
--echo #
455
485
 F_6faa8040da20ef399b63a72d0e4ab575 int,
456
486
 F_fe73f687e5bc5280214e0486b273a5f9 int);
457
487
insert into t1 (F_8d3bba7425e7c98c50f52ca1b52d3735) values (1);
458
 
--exec $DRIZZLE_DUMP --skip-comments -c test
 
488
--exec $MYSQL_DUMP --skip-comments -c test
459
489
drop table t1;
460
490
 
461
491
--echo #
464
494
 
465
495
CREATE TABLE t1 (a int);
466
496
INSERT INTO t1 VALUES (1),(2),(3);
467
 
--exec $DRIZZLE_DUMP --add-drop-database --skip-comments --databases test
 
497
--exec $MYSQL_DUMP --add-drop-database --skip-comments --databases test
468
498
DROP TABLE t1;
469
499
 
470
500
--echo #
477
507
CREATE TABLE t2 ( a INT );
478
508
INSERT INTO t1 VALUES (1), (2);
479
509
INSERT INTO t2 VALUES (1), (2);
480
 
--exec $DRIZZLE_DUMP --skip-comments --no-data mysqldump_test_db
481
 
--exec $DRIZZLE_DUMP --skip-comments --no-data mysqldump_test_db t1 t2
482
 
--exec $DRIZZLE_DUMP --skip-comments --skip-create --xml --no-data mysqldump_test_db
483
 
--exec $DRIZZLE_DUMP --skip-comments --skip-create --xml --no-data mysqldump_test_db t1 t2
 
510
--exec $MYSQL_DUMP --skip-comments --no-data mysqldump_test_db
 
511
--exec $MYSQL_DUMP --skip-comments --no-data mysqldump_test_db t1 t2
 
512
--exec $MYSQL_DUMP --skip-comments --skip-create --xml --no-data mysqldump_test_db
 
513
--exec $MYSQL_DUMP --skip-comments --skip-create --xml --no-data mysqldump_test_db t1 t2
484
514
DROP TABLE t1, t2;
485
515
DROP DATABASE mysqldump_test_db;
486
516
 
499
529
select '------ Testing with illegal table names ------' as test_sequence ;
500
530
--enable_query_log
501
531
--error 6
502
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "\d-2-1.sql" 2>&1
503
 
 
504
 
--error 6
505
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "\t1" 2>&1
506
 
 
507
 
--error 6
508
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "\\t1" 2>&1
 
532
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "\d-2-1.sql" 2>&1
 
533
 
 
534
--error 6
 
535
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db  "\t1" 2>&1
 
536
 
 
537
--error 6
 
538
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db  "\\t1" 2>&1
509
539
 
510
540
--error 6
511
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "\\\\t1" 2>&1
512
 
 
513
 
--error 6
514
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "t\1" 2>&1
515
 
 
516
 
--error 6
517
 
--exec $DRIZZLE_DUMP --compact --skip-comments  mysqldump_test_db  "t\\1" 2>&1
518
 
 
519
 
--error 6
520
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db  "t/1" 2>&1
521
 
 
522
 
--error 6
523
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
524
 
 
525
 
--error 6
526
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T%1" 2>&1
527
 
 
528
 
--error 6
529
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T'1" 2>&1
530
 
 
531
 
--error 6
532
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
533
 
 
534
 
--error 6
535
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_db "T_" 2>&1
 
541
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db  "\\\\t1" 2>&1
 
542
 
 
543
--error 6
 
544
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db  "t\1" 2>&1
 
545
 
 
546
--error 6
 
547
--exec $MYSQL_DUMP --compact --skip-comments  mysqldump_test_db  "t\\1" 2>&1
 
548
 
 
549
--error 6
 
550
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db  "t/1" 2>&1
 
551
 
 
552
--error 6
 
553
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
 
554
 
 
555
--error 6
 
556
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T%1" 2>&1
 
557
 
 
558
--error 6
 
559
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T'1" 2>&1
 
560
 
 
561
--error 6
 
562
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T_1" 2>&1
 
563
 
 
564
--error 6
 
565
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_db "T_" 2>&1
536
566
 
537
567
--disable_query_log
538
568
select '------ Testing with illegal database names ------' as test_sequence ;
539
569
--enable_query_log
540
570
--error 2
541
 
--exec $DRIZZLE_DUMP --compact --skip-comments mysqldump_test_d 2>&1
 
571
--exec $MYSQL_DUMP --compact --skip-comments mysqldump_test_d 2>&1
542
572
 
543
573
--error 2
544
 
--exec $DRIZZLE_DUMP --compact --skip-comments "mysqld\ump_test_db" 2>&1
 
574
--exec $MYSQL_DUMP --compact --skip-comments "mysqld\ump_test_db" 2>&1
545
575
 
546
576
drop table t1, t2, t3;
547
577
drop database mysqldump_test_db;
552
582
--echo # Bug #9657 mysqldump xml ( -x ) does not format NULL fields correctly
553
583
--echo #
554
584
 
555
 
create table t1 (a int);
 
585
create table t1 (a int(10));
556
586
create table t2 (pk int primary key auto_increment,
557
 
a int, b varchar(30), c datetime, d blob, e text);
 
587
a int(10), b varchar(30), c datetime, d blob, e text);
558
588
insert into t1 values (NULL), (10), (20);
559
589
insert into t2 (a, b) values (NULL, NULL),(10, NULL),(NULL, "twenty"),(30, "thirty");
560
 
--exec $DRIZZLE_DUMP  --skip-comments --xml --no-create-info test
 
590
--exec $MYSQL_DUMP  --skip-comments --xml --no-create-info test
561
591
drop table t1, t2;
562
592
 
563
593
--echo #
 
594
--echo # BUG #12123
 
595
--echo #
 
596
 
 
597
create table t1 (a text character set utf8, b text character set latin1);
 
598
insert t1 values (0x4F736E616272C3BC636B, 0x4BF66C6E);
 
599
select * from t1;
 
600
--exec $MYSQL_DUMP --tab=$MYSQLTEST_VARDIR/tmp/ test
 
601
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/t1.sql
 
602
--exec $MYSQL_IMPORT test $MYSQLTEST_VARDIR/tmp/t1.txt
 
603
select * from t1;
 
604
 
 
605
drop table t1;
 
606
 
 
607
--echo #
564
608
--echo # BUG#15328 Segmentation fault occured if my.cnf is invalid for escape sequence
565
609
--echo #
566
610
 
567
 
--exec $DRIZZLE_MY_PRINT_DEFAULTS --config-file=$DRIZZLE_TEST_DIR/std_data/bug15328.cnf mysqldump
 
611
--exec $MYSQL_MY_PRINT_DEFAULTS --config-file=$MYSQL_TEST_DIR/std_data/bug15328.cnf mysqldump
568
612
 
569
613
--echo #
570
614
--echo # BUG #19025 mysqldump doesn't correctly dump "auto_increment = [int]"
572
616
 
573
617
create table `t1` (
574
618
    t1_name varchar(255) default null,
575
 
    t1_id int not null auto_increment,
 
619
    t1_id int(10) unsigned not null auto_increment,
576
620
    key (t1_name),
577
621
    primary key (t1_id)
578
 
) auto_increment = 1000;
 
622
) auto_increment = 1000 default charset=latin1;
579
623
 
580
624
insert into t1 (t1_name) values('bla');
581
625
insert into t1 (t1_name) values('bla');
585
629
 
586
630
show create table `t1`;
587
631
 
588
 
--exec $DRIZZLE_DUMP --skip-comments test t1 > $MYSQLTEST_VARDIR/tmp/bug19025.sql
 
632
--exec $MYSQL_DUMP --skip-comments test t1 > $MYSQLTEST_VARDIR/tmp/bug19025.sql
589
633
DROP TABLE `t1`;
590
634
 
591
635
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/bug19025.sql
604
648
create table t2(a int);
605
649
create table t3(a int);
606
650
--error 6
607
 
--exec $DRIZZLE_DUMP --skip-comments --force --no-data test t3 t1 non_existing t2
 
651
--exec $MYSQL_DUMP --skip-comments --force --no-data test t3 t1 non_existing t2
608
652
drop table t1, t2, t3;
609
653
 
610
654
--echo #
613
657
 
614
658
create table t1 (a int);
615
659
--error 2
616
 
--exec $DRIZZLE_DUMP --skip-comments --force test t1 --where="xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 2>&1
 
660
--exec $MYSQL_DUMP --skip-comments --force test t1 --where="xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 2>&1
617
661
drop table t1;
618
662
 
619
663
--echo #
627
671
  `c"d` INT,
628
672
  `e``f` INT,
629
673
  PRIMARY KEY (`a b`, `c"d`, `e``f`)
630
 
);
 
674
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
631
675
insert into t1 values (0815, 4711, 2006);
632
676
 
633
 
--exec $DRIZZLE_DUMP --skip-comments --compatible=ansi --order-by-primary test t1
634
 
--exec $DRIZZLE_DUMP --skip-comments --order-by-primary test t1
 
677
--exec $MYSQL_DUMP --skip-comments --compatible=ansi --order-by-primary test t1
 
678
--exec $MYSQL_DUMP --skip-comments --order-by-primary test t1
635
679
DROP TABLE `t1`;
636
680
--enable_warnings
637
681
 
643
687
--echo #
644
688
 
645
689
--echo # --skip-dump-date:
646
 
--replace_regex /^[^-][^-].*$// /-- [^D][^u][^m][^p].*// /\/\*!.*// /^-- DRI.*///
647
 
--exec $DRIZZLE_DUMP --skip-dump-date test
 
690
--replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*//
 
691
--exec $MYSQL_DUMP --skip-dump-date test
648
692
 
649
693
--echo # --dump-date:
650
 
--replace_regex /^[^-][^-].*$// /-- [^D][^u][^m][^p].*// /\/\*!.*// / on [0-9 :-]+/ on DATE/ /^-- DRI.*///
651
 
--exec $DRIZZLE_DUMP --dump-date test 
 
694
--replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// / on [0-9 :-]+/ on DATE/
 
695
--exec $MYSQL_DUMP --dump-date test
652
696
 
653
697
--echo # --dump-date (default):
654
 
--replace_regex /^[^-][^-].*$// /-- [^D][^u][^m][^p].*// /\/\*!.*// / on [0-9 :-]+/ on DATE/ /^-- DRI.*///
655
 
--exec $DRIZZLE_DUMP test
 
698
--replace_regex /-- [^D][^u][^m][^p].*// /\/\*!.*// / on [0-9 :-]+/ on DATE/
 
699
--exec $MYSQL_DUMP test
656
700
 
657
701
--echo #
658
702
--echo # End of 5.0 tests
668
712
INSERT INTO t1 VALUES (1,1);
669
713
INSERT INTO t1 VALUES (2,3);
670
714
INSERT INTO t1 VALUES (3,4), (4,5);
671
 
--exec $DRIZZLE_DUMP --replace --skip-comments test t1
 
715
--exec $MYSQL_DUMP --replace --skip-comments test t1
672
716
DROP TABLE t1;
673
717
 
674
718
#
686
730
insert t2 values ("a more perfect", "union");
687
731
select * from t1;
688
732
select * from t2;
689
 
--exec $DRIZZLE_DUMP --tab=$MYSQLTEST_VARDIR/tmp/ test
 
733
--exec $MYSQL_DUMP --tab=$MYSQLTEST_VARDIR/tmp/ test
690
734
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/t1.sql
691
735
--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/t2.sql
692
736
# The first load tests the pausing code
693
 
--exec $DRIZZLE_IMPORT --use-threads=1 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt
 
737
--exec $MYSQL_IMPORT --use-threads=1 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt
694
738
# Now we test with multiple threads!
695
 
--exec $DRIZZLE_IMPORT --silent --use-threads=5 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt
 
739
--exec $MYSQL_IMPORT --silent --use-threads=5 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt
696
740
select * from t1;
697
741
select * from t2;
698
742
# Now we test with multiple threads, but less threads than files.
699
743
create table words(a varchar(255));
700
744
create table words2(b varchar(255));
701
 
--exec $DRIZZLE_IMPORT --silent --use-threads=2 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt $MYSQLTEST_VARDIR/std_data_ln/words.dat $MYSQLTEST_VARDIR/std_data_ln/words2.dat
 
745
--exec $MYSQL_IMPORT --silent --use-threads=2 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt $MYSQLTEST_VARDIR/std_data_ln/words.dat $MYSQLTEST_VARDIR/std_data_ln/words2.dat
702
746
select * from t1;
703
747
select * from t2;
704
748
select * from words;
708
752
drop table words;
709
753
--replace_regex /.*mysqlimport(\.exe)*/mysql-import/
710
754
--error 1
711
 
--exec $DRIZZLE_IMPORT --silent --use-threads=2 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt $MYSQLTEST_VARDIR/std_data_ln/words.dat $MYSQLTEST_VARDIR/std_data_ln/words2.dat 2>&1
 
755
--exec $MYSQL_IMPORT --silent --use-threads=2 test $MYSQLTEST_VARDIR/tmp/t1.txt $MYSQLTEST_VARDIR/tmp/t2.txt $MYSQLTEST_VARDIR/std_data_ln/words.dat $MYSQLTEST_VARDIR/std_data_ln/words2.dat 2>&1
712
756
 
713
757
drop table t1;
714
758
drop table t2;
723
767
create database `test-database`;
724
768
use `test-database`;
725
769
create table test (a int);
726
 
--exec $DRIZZLE_DUMP --compact --opt --quote-names test-database
 
770
--exec $MYSQL_DUMP --compact --opt --quote-names test-database
727
771
drop database `test-database`;
728
772
use test;
729
773