summaryrefslogtreecommitdiff
path: root/sql/sql_partition.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-05-29 23:54:25 +0200
committerSergei Golubchik <serg@mariadb.org>2018-06-04 12:32:23 +0200
commitc9061d11022d8fc7274510b04d48bf3f164ebf96 (patch)
treea259f436b0ffe9b61aaf4185f809005796065fd7 /sql/sql_partition.cc
parent37659ef43be689b2a2f8c507d9395e839bf66066 (diff)
downloadmariadb-git-c9061d11022d8fc7274510b04d48bf3f164ebf96.tar.gz
mysys: rename ME_xxx flags to match plugin api
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r--sql/sql_partition.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index c0ff1c54549..6a4b02c012a 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -2644,7 +2644,7 @@ char *generate_partition_syntax(THD *thd, partition_info *part_info,
default:
DBUG_ASSERT(0);
/* We really shouldn't get here, no use in continuing from here */
- my_error(ER_OUT_OF_RESOURCES, MYF(ME_FATALERROR));
+ my_error(ER_OUT_OF_RESOURCES, MYF(ME_FATAL));
DBUG_RETURN(NULL);
}
if (part_info->part_type == VERSIONING_PARTITION)
@@ -5991,7 +5991,7 @@ static bool mysql_change_partitions(ALTER_PARTITION_PARAM_TYPE *lpt)
lpt->pack_frm_data,
lpt->pack_frm_len))))
{
- file->print_error(error, MYF(error != ER_OUTOFMEMORY ? 0 : ME_FATALERROR));
+ file->print_error(error, MYF(error != ER_OUTOFMEMORY ? 0 : ME_FATAL));
}
if (mysql_trans_commit_alter_copy_data(thd))