Bug #41228 | The test partition_innodb_stmt fails | ||
---|---|---|---|
Submitted: | 4 Dec 2008 14:04 | Modified: | 10 Dec 2008 19:07 |
Reporter: | Vasil Dimov | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S3 (Non-critical) |
Version: | 5.1-bzr r2699 (latest) | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | partition_innodb_stmt |
[4 Dec 2008 14:04]
Vasil Dimov
[4 Dec 2008 14:16]
Vasil Dimov
This is the fix: === modified file 'mysql-test/t/partition_innodb_stmt.test' --- mysql-test/t/partition_innodb_stmt.test 2008-10-29 20:20:04 +0000 +++ mysql-test/t/partition_innodb_stmt.test 2008-12-04 14:13:38 +0000 @@ -1,5 +1,6 @@ --source include/have_binlog_format_statement.inc --source include/have_innodb.inc +--source include/have_partition.inc --echo # connection default SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ;
[4 Dec 2008 14:54]
MySQL Verification Team
Verified on Ubuntu 8.10. miguel@hegel:~/bzr/mysql-5.1-build/mysql-test$ ./mysql-test-run partition_innodb_stmt Logging: ./mysql-test-run partition_innodb_stmt MySQL Version 5.1.31 Using dynamic switching of binlog format Skipping ndbcluster, mysqld not compiled with ndbcluster Skipping SSL, mysqld not compiled with SSL Using MTR_BUILD_THREAD = 0 Using MASTER_MYPORT = 9306 Using MASTER_MYPORT1 = 9307 Using SLAVE_MYPORT = 9308 Using SLAVE_MYPORT1 = 9309 Using SLAVE_MYPORT2 = 9310 Using IM_PORT = 9313 Using IM_MYSQLD1_PORT = 9314 Using IM_MYSQLD2_PORT = 9315 Killing Possible Leftover Processes Removing Stale Files Creating Directories Installing Master Database ======================================================= TEST RESULT TIME (ms) ------------------------------------------------------- main.partition_innodb_stmt [ fail ] mysqltest: At line 7: query 'CREATE TABLE t1 ( id SMALLINT NOT NULL, PRIMARY KEY (id) ) ENGINE=innodb PARTITION BY RANGE (id) ( PARTITION p1 VALUES LESS THAN (2), PARTITION p2 VALUES LESS THAN (4), PARTITION p3 VALUES LESS THAN (10) )' failed: 1289: The 'partitioning' feature is disabled; you need MySQL built with '--with-partition' to have it working The result from queries just before the failure was: # connection default SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ; CREATE TABLE t1 ( id SMALLINT NOT NULL, PRIMARY KEY (id) ) ENGINE=innodb PARTITION BY RANGE (id) ( PARTITION p1 VALUES LESS THAN (2), PARTITION p2 VALUES LESS THAN (4), PARTITION p3 VALUES LESS THAN (10) );
[10 Dec 2008 14:38]
Mattias Jonsson
the proposed change are correct, I will push this as a post push fix for bug#39084.
[10 Dec 2008 19:07]
Mattias Jonsson
Closing as duplicate of bug#39084. Pushed the fix into mysql-5.1-bugteam.