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/ha_partition.cc | |
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/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index cdb8690ba62..84a48cfed07 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -7207,7 +7207,7 @@ void ha_partition::print_error(int error, myf errflag) { if (!(thd->lex->alter_info.flags & ALTER_TRUNCATE_PARTITION)) { - m_part_info->print_no_partition_found(table); + m_part_info->print_no_partition_found(table, errflag); DBUG_VOID_RETURN; } } |