diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-01-23 00:03:05 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-01-23 00:03:05 +0100 |
commit | 0cdf1573b698bad3a2de5b726eaab8a6a015e12a (patch) | |
tree | e7acc3f65133df0a2392e2b9c81bb37ee769845a /sql/partition_info.h | |
parent | 8d2fba9331011b5e52965cef5428e851796e8fc7 (diff) | |
download | mariadb-git-0cdf1573b698bad3a2de5b726eaab8a6a015e12a.tar.gz |
MDEV-5421 Assertion `! is_set()' fails on INSERT IGNORE when a table has no partition for a value
make print_no_partition_found() to respect MYF(errflag)
mysql-test/suite/parts/t/insert_ignore-5421.test:
mdev:5421
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r-- | sql/partition_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h index d3706c8abf4..ffd6e25c45c 100644 --- a/sql/partition_info.h +++ b/sql/partition_info.h @@ -288,7 +288,7 @@ public: bool check_partition_info(THD *thd, handlerton **eng_type, handler *file, HA_CREATE_INFO *info, bool check_partition_function); - void print_no_partition_found(TABLE *table); + void print_no_partition_found(TABLE *table, myf errflag); void print_debug(const char *str, uint*); Item* get_column_item(Item *item, Field *field); int fix_partition_values(THD *thd, |