diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-02 11:04:54 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-02 11:04:54 +0300 |
commit | 5c3ff5cb93f8363820d506cdad3daafbc944f03b (patch) | |
tree | f5671e95dabd8ced0c7925e54b351bd704e41bcf /sql/sp_head.cc | |
parent | f9ab7b473a935141f85d27994d0faf3433a73144 (diff) | |
parent | 7b42d892de6acc04490f5cb6b8355c72b8f1a406 (diff) | |
download | mariadb-git-5c3ff5cb93f8363820d506cdad3daafbc944f03b.tar.gz |
Merge 10.3 into 10.4
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r-- | sql/sp_head.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc index dc5123efe36..bd4d74c58a8 100644 --- a/sql/sp_head.cc +++ b/sql/sp_head.cc @@ -532,6 +532,7 @@ sp_head::sp_head(sp_package *parent, const Sp_handler *sph, DBUG_ENTER("sp_head::sp_head"); + m_security_ctx.init(); m_backpatch.empty(); m_backpatch_goto.empty(); m_cont_backpatch.empty(); @@ -1338,7 +1339,7 @@ sp_head::execute(THD *thd, bool merge_da_on_success) if (WSREP(thd) && thd->wsrep_next_trx_id() == WSREP_UNDEFINED_TRX_ID) { thd->set_wsrep_next_trx_id(thd->query_id); - WSREP_DEBUG("assigned new next trx ID for SP, trx id: %lu", thd->wsrep_next_trx_id()); + WSREP_DEBUG("assigned new next trx ID for SP, trx id: %" PRIu64, thd->wsrep_next_trx_id()); } #endif /* WITH_WSREP */ err_status= i->execute(thd, &ip); |