summaryrefslogtreecommitdiff
path: root/tests
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-10-05 12:44:55 +0530
commitd5e606c60545eae8ab86d68e9d432c92450c3122 (patch)
tree43a340383a626461f0b3cfde0a7937ea72d20801 /tests
parente9d8002721434c37213907b735338e29ef9b2163 (diff)
downloadmariadb-git-d5e606c60545eae8ab86d68e9d432c92450c3122.tar.gz
MDEV-26611: ERROR_INDEX isn't intuitively clear
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 'tests')
-rw-r--r--tests/mysql_client_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 128215d01a7..dfcbcf344de 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -21580,7 +21580,7 @@ void test_mdev_10075()
mysql_stmt_close(stmt);
- rc= mysql_query(mysql, "GET DIAGNOSTICS CONDITION 1 @var1 = ERROR_INDEX");
+ rc= mysql_query(mysql, "GET DIAGNOSTICS CONDITION 1 @var1 = ROW_NUMBER");
myquery(rc);
rc= mysql_query(mysql, "SELECT @var1");