diff options
| author | Chad MILLER <chad@mysql.com> | 2009-04-17 16:00:53 -0400 |
|---|---|---|
| committer | Chad MILLER <chad@mysql.com> | 2009-04-17 16:00:53 -0400 |
| commit | 04d83cc85c42ecb7c03cb139bee6b23e8881466e (patch) | |
| tree | 26a59da68994ddd577577a59c944a9d0a8bb1e00 /mysql-test/r | |
| parent | b27261a6f710850636ccac4616e2cbd15bc55442 (diff) | |
| download | mariadb-git-04d83cc85c42ecb7c03cb139bee6b23e8881466e.tar.gz | |
Move test for bug 39559, which uses command-line mysql client
to separate test file that doesn't permit mysqld embedded in
mysqltest.
Also, fix different comment handling in a incorrect new-to-5.1
test.
Diffstat (limited to 'mysql-test/r')
| -rw-r--r-- | mysql-test/r/parser.result | 49 | ||||
| -rw-r--r-- | mysql-test/r/parser_not_embedded.result | 49 | ||||
| -rw-r--r-- | mysql-test/r/partition_mgm.result | 9 |
3 files changed, 57 insertions, 50 deletions
diff --git a/mysql-test/r/parser.result b/mysql-test/r/parser.result index 097f6dc69ff..7e703de0876 100644 --- a/mysql-test/r/parser.result +++ b/mysql-test/r/parser.result @@ -616,54 +616,5 @@ SELECT a1, a4 FROM t2 WHERE a4 LIKE {fn UCASE('1789-07-14')}; a1 a4 DROP TABLE t1, t2, t3; # -# Bug#39559: dump of stored procedures / functions with C-style -# comment can't be read back -# -+----------+--------+ -| expected | result | -+----------+--------+ -| 2 | 2 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 1 | 1 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 3 | 3 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 2 | 2 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 7 | 7 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 8 | 8 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 7 | 7 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 4 | 4 | -+----------+--------+ -+----------+--------+ -| expected | result | -+----------+--------+ -| 4 | 4 | -+----------+--------+ -# # End of 5.1 tests # diff --git a/mysql-test/r/parser_not_embedded.result b/mysql-test/r/parser_not_embedded.result new file mode 100644 index 00000000000..871eb226cc4 --- /dev/null +++ b/mysql-test/r/parser_not_embedded.result @@ -0,0 +1,49 @@ +# +# Bug#39559: dump of stored procedures / functions with C-style +# comment can't be read back +# ++----------+--------+ +| expected | result | ++----------+--------+ +| 2 | 2 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 1 | 1 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 3 | 3 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 2 | 2 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 7 | 7 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 8 | 8 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 7 | 7 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 4 | 4 | ++----------+--------+ ++----------+--------+ +| expected | result | ++----------+--------+ +| 4 | 4 | ++----------+--------+ diff --git a/mysql-test/r/partition_mgm.result b/mysql-test/r/partition_mgm.result index a1f35756e21..2ff6e3f1923 100644 --- a/mysql-test/r/partition_mgm.result +++ b/mysql-test/r/partition_mgm.result @@ -53,7 +53,14 @@ CREATE TABLE t1 (a INT) of multi-line comment */ PARTITIONS 5 */; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '*/' at line 6 +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` int(11) DEFAULT NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1 +/*!50100 PARTITION BY HASH (a) +PARTITIONS 5 */ +DROP TABLE t1; CREATE TABLE t1 (a INT) /*!50100 PARTITION BY HASH (a) -- with a single line comment embedded |
