Bug #12164 | Created merge table never accessible | ||
---|---|---|---|
Submitted: | 25 Jul 2005 21:25 | Modified: | 25 Jul 2005 21:42 |
Reporter: | Rob Vieira | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.12 | OS: | Windows (Windows 2003) |
Assigned to: | CPU Architecture: | Any |
[25 Jul 2005 21:25]
Rob Vieira
[25 Jul 2005 21:42]
MySQL Verification Team
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ Additional info: c:\mysql\bin>mysql -uroot db5 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 to server version: 4.1.13-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> CREATE TABLE t1 ( -> a INT NOT NULL AUTO_INCREMENT PRIMARY KEY, -> message CHAR(20)); Query OK, 0 rows affected (0.09 sec) mysql> CREATE TABLE t2 ( -> a INT NOT NULL AUTO_INCREMENT PRIMARY KEY, -> message CHAR(20)); Query OK, 0 rows affected (0.06 sec) mysql> INSERT INTO t1 (message) VALUES ('Testing'); Query OK, 1 row affected (0.02 sec) mysql> INSERT INTO t1 (message) VALUES ('table'); Query OK, 1 row affected (0.00 sec) mysql> INSERT INTO t2 (message) VALUES ('t2'); Query OK, 1 row affected (0.00 sec) mysql> CREATE TABLE total ( -> a INT NOT NULL AUTO_INCREMENT, -> message CHAR(20), INDEX(a)) -> ENGINE=MERGE UNION=(t1,t2) INSERT_METHOD=LAST; Query OK, 0 rows affected (0.06 sec) mysql> SELECT * FROM total; +---+---------+ | a | message | +---+---------+ | 1 | Testing | | 2 | table | | 1 | t2 | +---+---------+ 3 rows in set (0.02 sec) mysql>