summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2022-05-18 15:04:50 +0200
committerSergei Golubchik <serg@mariadb.org>2022-05-19 14:07:55 +0200
commitbf2bdd1a1a112c3bbdf53da7a663a59fafa62c7d (patch)
tree615e56754c44190551cea0381494b675108b6ae9 /sql/sp_head.cc
parent5dba54bfef31d91c082362065cd091086e20ee9a (diff)
parentb7ffccf49b5563d3078359bddf438c9d20674513 (diff)
downloadmariadb-git-bf2bdd1a1a112c3bbdf53da7a663a59fafa62c7d.tar.gz
Merge branch '10.8' into 10.9mariadb-10.9.1
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index fab72fd0c6f..bdd94fd6d0e 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -830,7 +830,7 @@ void
sp_head::set_stmt_end(THD *thd)
{
Lex_input_stream *lip= & thd->m_parser_state->m_lip; /* shortcut */
- const char *end_ptr= lip->get_cpp_ptr(); /* shortcut */
+ const char *end_ptr= lip->get_cpp_tok_start(); /* shortcut */
/* Make the string of parameters. */