Bug #17216 | SP with CREATE TABLE ... PARTITIONED ... crashes on multiple executions | ||
---|---|---|---|
Submitted: | 8 Feb 2006 0:22 | Modified: | 16 Feb 2006 18:57 |
Reporter: | Jonathan Miller | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S1 (Critical) |
Version: | 5.1.7 | OS: | Linux (Linux 32 Bit OS) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[8 Feb 2006 0:22]
Jonathan Miller
[16 Feb 2006 2:06]
Jonathan Miller
Running the test today produced this error message, thought I would add: rpl_sp004 [ fail ] Errors are (from /home/ndbdev/jmiller/clones/mysql-5.1-new/mysql-test/var/log/mysqltest-time) : mysqltest: At line 68: query 'CALL test.p1()' failed: 1477: Too many partitions were defined (the last lines may be the most important ones)
[16 Feb 2006 18:57]
Jim Winstead
This is just another manifestation of Bug #14526. (Just using a stored procedure instead of a prepared statement.) Stripped-down test case: delimiter |; CREATE PROCEDURE p1() BEGIN CREATE TABLE t1(a INT, PRIMARY KEY(a)) PARTITION BY KEY(); END| delimiter ;| CALL p1(); DROP TABLE t1; CALL p1(); DROP TABLE t1;
[16 Feb 2006 19:21]
Jim Winstead
This is actually a duplicate of Bug #14350. I moved the comments that were made against the wrong bug to that one.