summaryrefslogtreecommitdiff
path: root/sql/sql_error.cc
diff options
context:
space:
mode:
authorRucha Deodhar <rucha.deodhar@mariadb.com>2021-09-26 11:14:49 +0530
committerRucha Deodhar <rucha.deodhar@mariadb.com>2021-09-26 19:47:02 +0530
commit159700376b6d98597361e75c819b7dc642a7fddd (patch)
treee32d3f7b396ba8a7ae81ecff92485c84acf5c1b3 /sql/sql_error.cc
parentbe09524b00248393bba5f0b0a9385c17edf76365 (diff)
downloadmariadb-git-bb-10.7-MDEV-26684.tar.gz
MDEV-26684: Unexpected ERROR_INDEX in a condition raised by a diagnosticsbb-10.7-MDEV-26684
statement Not repeatable after MDEV-26606. Test case added.
Diffstat (limited to 'sql/sql_error.cc')
-rw-r--r--sql/sql_error.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_error.cc b/sql/sql_error.cc
index 2c27fd13532..ca9da3dbf89 100644
--- a/sql/sql_error.cc
+++ b/sql/sql_error.cc
@@ -664,7 +664,7 @@ void Warning_info::reserve_space(THD *thd, uint count)
Sql_condition *Warning_info::push_warning(THD *thd,
const Sql_condition_identity *value,
const char *msg,
- ulonglong current_error_index)
+ ulong current_error_index)
{
Sql_condition *cond= NULL;