mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
BUG#17138: Error in stored procedure
Review comments mysql-test/t/partition.test: Changed procedure names ensured procedures were dropped sql/ha_ndbcluster.h: Improved name of method sql/ha_partition.h: Improved name of method sql/handler.h: Improved name of method Removed deprecated constants sql/item_sum.cc: Improved name of method sql/sql_acl.cc: Improved name of method sql/sql_insert.cc: Removed use of HA_WRITE_SKIP and introduced is_fatal_error instead sql/sql_select.cc: Improved name of method sql/sql_table.cc: Improved name of method Reintroduced dead code for future possible use sql/sql_union.cc: Improved name of method sql/sql_update.cc: Improved name of method
This commit is contained in:
parent
9fc2ade279
commit
5329154849
11 changed files with 35 additions and 34 deletions
|
|
@ -302,9 +302,9 @@ public:
|
|||
virtual void start_bulk_insert(ha_rows rows);
|
||||
virtual int end_bulk_insert();
|
||||
|
||||
virtual bool cannot_ignore_error(int error, uint flags)
|
||||
virtual bool is_fatal_error(int error, uint flags)
|
||||
{
|
||||
if (!handler::cannot_ignore_error(error, flags))
|
||||
if (!handler::is_fatal_error(error, flags))
|
||||
return FALSE;
|
||||
if (error == HA_ERR_NO_PARTITION_FOUND)
|
||||
return FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue