diff options
author | unknown <istruewing@stella.local> | 2007-10-09 13:10:51 +0200 |
---|---|---|
committer | unknown <istruewing@stella.local> | 2007-10-09 13:10:51 +0200 |
commit | 0c0042a5de8df6a26fa70d52e10ace7dde3e43b3 (patch) | |
tree | 85848eb7a2ba7a6ce604659549eba981aff99381 /mysql-test/r/merge.result | |
parent | d1210318db1c23f084d5aa41f9abf16e82b13d8f (diff) | |
download | mariadb-git-0c0042a5de8df6a26fa70d52e10ace7dde3e43b3.tar.gz |
Bug#15522 - create ... select and with merge tables
Added test case.
The fix for Bug#20662 does also fix this one.
mysql-test/r/merge.result:
Bug#15522 - create ... select and with merge tables
Added test result.
mysql-test/t/merge.test:
Bug#15522 - create ... select and with merge tables
Added test case.
Diffstat (limited to 'mysql-test/r/merge.result')
-rw-r--r-- | mysql-test/r/merge.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/merge.result b/mysql-test/r/merge.result index 42669eeb66f..24a56fbf575 100644 --- a/mysql-test/r/merge.result +++ b/mysql-test/r/merge.result @@ -876,4 +876,9 @@ CHECK TABLE tm1; Table Op Msg_type Msg_text test.tm1 check status OK DROP TABLE tm1, t1, t2; +CREATE TABLE t1(c1 INT); +CREATE TABLE t2 (c1 INT) ENGINE=MERGE UNION=(t1) INSERT_METHOD=FIRST; +CREATE TABLE IF NOT EXISTS t1 SELECT * FROM t2; +ERROR HY000: You can't specify target table 't1' for update in FROM clause +DROP TABLE t1, t2; End of 5.0 tests |