diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-09-15 15:54:49 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-09-16 13:38:48 +0200 |
commit | d552e092c9f3e20da078d1b62b976f629f73d3a4 (patch) | |
tree | 1ad8172027bcd1d5c06fe2dd3d6acb2aa4fcb99c /sql/lex.h | |
parent | 0ff8976e129a0e1f3f17a6ed278ddc4851b4535d (diff) | |
download | mariadb-git-d552e092c9f3e20da078d1b62b976f629f73d3a4.tar.gz |
MDEV-10075: Provide index of error causing error in array INSERT
use existing Warning_info::m_current_row_for_warning instead
of a newly introduced counter.
But use m_current_row_for_warning to count rows also in the parser
and during prepare.
Diffstat (limited to 'sql/lex.h')
-rw-r--r-- | sql/lex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/lex.h b/sql/lex.h index 57d8d807909..6255cb1a35b 100644 --- a/sql/lex.h +++ b/sql/lex.h @@ -222,7 +222,7 @@ SYMBOL symbols[] = { { "ENUM", SYM(ENUM)}, { "ERROR", SYM(ERROR_SYM)}, { "ERRORS", SYM(ERRORS)}, - { "ERROR_INDEX", SYM(ERROR_INDEX_SYM)}, + { "ERROR_INDEX", SYM(ERROR_INDEX_SYM)}, { "ESCAPE", SYM(ESCAPE_SYM)}, { "ESCAPED", SYM(ESCAPED)}, { "EVENT", SYM(EVENT_SYM)}, |