Post-review fixes to original changeset http://lists.mysql.com/internals/32422
BUILD/SETUP.sh:
BUG #14524
Added flags to no-ndb build script to include archive.
mysql-test/r/partition.result:
BUG #14524
Post review mods to test results
mysql-test/t/partition.test:
BUG #14524
Post review mods to test
sql/ha_partition.cc:
BUG# 14524
Post review modifications to code - removed if, just pass m_no_locks
Patch that fixes crashing when partition uses blackole for
underlying tables.
mysql-test/r/partition.result:
BUG #14524 New test result
mysql-test/t/partition.test:
BUG #14524
New test
sql/ha_partition.cc:
BUG# 14524
Added new class var m_no_locks to keep track of the absense of locks. If
'0', then lock_count returns 0, which keeps thr_multi_lock from crashing
in the case of the underlying table being ha_blackhole.
sql/ha_partition.h:
BUG #14524
Added new class var m_no_locks to keep track of lock count
sql/lock.cc:
BUG #14524
DBUG PRINTs and ENTERs to make tracking the bug easier. I think these are
useful regardless of this bug.
sql/sql_partition.cc:
BUG #14524
Changed umlaut o to allow fixing bug 14524 using DDD (file would not display
in DDD)
partitioned tables
mysql-test/r/partition.result:
New test cases for SHOW CREATE TABLE
mysql-test/r/partition_range.result:
New test cases for SHOW CREATE TABLE
mysql-test/t/partition.test:
New test cases for SHOW CREATE TABLE
mysql-test/t/partition_range.test:
New test cases for SHOW CREATE TABLE
sql/handler.h:
Handle default engine type better
sql/sql_partition.cc:
Handle default engine type better
sql/sql_show.cc:
Handle default engine type better
sql/sql_table.cc:
Handle default engine type better
sql/sql_yacc.yy:
Handle default engine type better
sql/table.cc:
Handle default engine type better
sql/unireg.cc:
Handle default engine type better
Select count(*) returned 2 on empty table where handler
used exact count
mysql-test/r/partition.result:
New test case for Bug #13323
mysql-test/t/partition.test:
New test case for Bug #13323
sql/ha_partition.cc:
Fix for Bug #13323
Used AND when modulo should have been used to calculate partition id
for PARTITION BY KEY and SUBPARTITION BY KEY
mysql-test/r/partition.result:
New test for Bug #13154
mysql-test/t/partition.test:
New test for Bug #13154