diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-20 16:48:56 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-20 16:48:56 +0200 |
commit | ded128aa9b3d40775e626a08a744a93d9ba71b01 (patch) | |
tree | 2abae3ef8fd5438fc99d269b47d645faec3cb8e8 /sql/sp.cc | |
parent | 64952203af161c6e72744b6a2fb8e0f5274ea4d6 (diff) | |
parent | 259185764ba949bbe0cfa6bbef4673f61155cb90 (diff) | |
download | mariadb-git-ded128aa9b3d40775e626a08a744a93d9ba71b01.tar.gz |
Merge 10.4 into 10.5
Diffstat (limited to 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index 3768b883921..4e958aedc44 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -854,7 +854,7 @@ static sp_head *sp_compile(THD *thd, String *defstr, sql_mode_t sql_mode, if (parse_sql(thd, & parser_state, creation_ctx) || thd->lex == NULL) { sp= thd->lex->sphead; - delete sp; + sp_head::destroy(sp); sp= 0; } else |