| Bug #15966 | Partitions: crash if session default engine <> engine used in create table | ||
|---|---|---|---|
| Submitted: | 23 Dec 2005 14:22 | Modified: | 24 Jan 2006 10:45 |
| Reporter: | Matthias Leich | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Partitions | Severity: | S1 (Critical) |
| Version: | 5.1 | OS: | |
| Assigned to: | Mikael Ronström | CPU Architecture: | Any |
[24 Jan 2006 10:45]
Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
Documented bugfix in 5.1.6 changelog. Closed.

Description: SET SESSION storage_engine=MyISAM; CREATE TABLE t1 ( f1 INTEGER, f2 char(20)) PARTITION BY HASH(f1) ( PARTITION part1 ENGINE = 'MYISAM'); SELECT * FROM t1; DROP TABLE t1; # Now the default storage engine differs from the engine assigned # within the create table statement SET SESSION storage_engine=MEMORY; CREATE TABLE t1 ( f1 INTEGER, f2 char(20)) PARTITION BY HASH(f1) ( PARTITION part1 ENGINE = 'MYISAM'); SELECT * FROM t1; ----> query 'SELECT * FROM t1' failed: 2013: Lost connection to MySQL server during query My environment: - Intel PC with Linux(SuSE 9.3) - MySQL compiled from source bk-internal.mysql.com:/home/bk/mysql-5.1-wl2604-new last ChangeSet@1.1981, 2005-12-15 How to repeat: How to repeat: Please execute the statements above or the test ps_02myisam, which is pushed into the tree bk-internal.mysql.com:/home/bk/mysql-5.1-wl2604-new