diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-02-01 13:43:19 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-02-02 20:57:46 +0100 |
commit | 80ce0c1c9c234dc53b963659690a1a8368b52124 (patch) | |
tree | 780f5ec1acf50505e6a115cf2005c710429d8d6f /mysql-test/t | |
parent | 06c16904459db6b46518e2f4ac6e21327d336cfd (diff) | |
download | mariadb-git-80ce0c1c9c234dc53b963659690a1a8368b52124.tar.gz |
cleanup: ha_checktype()
* error reporting was never needed
* avoid useless transformaton hton to db_type to hton
* in many cases the engine was guaranteed to exist, add asserts
* use ha_default_handlerton() instead of ha_checktype(DB_TYPE_DEFAULT)
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/partition_not_blackhole.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/partition_not_blackhole.test b/mysql-test/t/partition_not_blackhole.test index 7352aeaa230..103c441dac4 100644 --- a/mysql-test/t/partition_not_blackhole.test +++ b/mysql-test/t/partition_not_blackhole.test @@ -17,7 +17,7 @@ let $MYSQLD_DATADIR= `SELECT @@datadir`; --copy_file std_data/parts/t1_blackhole.par $MYSQLD_DATADIR/test/t1.par SHOW TABLES; --replace_result $MYSQLD_DATADIR ./ ---error ER_NOT_FORM_FILE +--error ER_FAILED_READ_FROM_PAR_FILE SHOW CREATE TABLE t1; --error ER_BAD_TABLE_ERROR DROP TABLE t1; |