[Commits] a640bc6: yet another forgottrn fix

Oleksandr Byelkin sanja at mariadb.com
Mon May 30 19:58:01 EEST 2016


revision-id: a640bc6c01f2dc8de2d24e4ba0348d7c432009e2 (mariadb-10.2.0-56-ga640bc6)
parent(s): 18b7a7a7b1629c9ea1750365e813fd650a5696b6
committer: Oleksandr Byelkin
timestamp: 2016-05-30 18:58:01 +0200
message:

yet another forgottrn fix

---
 sql/session_tracker.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sql/session_tracker.cc b/sql/session_tracker.cc
index 2ae2ca5..cfbb170 100644
--- a/sql/session_tracker.cc
+++ b/sql/session_tracker.cc
@@ -745,6 +745,7 @@ void Session_sysvars_tracker::mark_as_changed(THD *thd,
     m_changed= true;
     /* do not cache the statement when there is change in session state */
     thd->lex->safe_to_cache_query= 0;
+    thd->server_status|= SERVER_SESSION_STATE_CHANGED;
   }
 }
 


More information about the commits mailing list