summaryrefslogtreecommitdiff
path: root/sql/sql_get_diagnostics.h
diff options
context:
space:
mode:
authorRucha Deodhar <rucha.deodhar@mariadb.com>2021-09-29 14:18:40 +0530
committerRucha Deodhar <rucha.deodhar@mariadb.com>2021-09-29 14:28:14 +0530
commit28224147833e59f47491e05f247948a774b4c712 (patch)
treef94eb508bbc0a2a0422d5fc97855056938e3ac25 /sql/sql_get_diagnostics.h
parent8dd4794c4e11b8790fadf0c203bcd118e7b755e8 (diff)
downloadmariadb-git-bb-10.7-MDEV-26611.tar.gz
MDEV-26611: ERROR_INDEX isn't intuitively clearbb-10.7-MDEV-26611
Fixup for MDEV-10075 Analysis: ERROR_INDEX implemented in MDEV-10075 was not intuitively clear. Fix: changed parser to use ROW_NUMBER instead of ERROR_INDEX. Removed ERROR_INDEX and ERROR_INDEX_SYM from related files. Changed m_error_index to m_row_number.
Diffstat (limited to 'sql/sql_get_diagnostics.h')
-rw-r--r--sql/sql_get_diagnostics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_get_diagnostics.h b/sql/sql_get_diagnostics.h
index 69432f9cf86..efe526d7c61 100644
--- a/sql/sql_get_diagnostics.h
+++ b/sql/sql_get_diagnostics.h
@@ -255,7 +255,7 @@ public:
MESSAGE_TEXT,
MYSQL_ERRNO,
RETURNED_SQLSTATE,
- ERROR_INDEX
+ ROW_NUMBER
};
/**