[Commits] acb0492b3de: fix embedded server
revision-id: acb0492b3de19bb30d0d169367052905cd3abf93 (mariadb-10.2.15-73-gacb0492b3de) parent(s): ba9f6f7fe3155b94c97489b8c32f409beac2b4f1 author: Oleksandr Byelkin committer: Oleksandr Byelkin timestamp: 2018-06-25 10:12:49 +0200 message: fix embedded server --- sql/sql_class.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sql/sql_class.cc b/sql/sql_class.cc index d2959b0dac5..524522c642a 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -7071,14 +7071,18 @@ THD::signal_wakeup_ready() void THD::set_last_commit_gtid(rpl_gtid >id) { +#ifndef EMBEDDED_LIBRARY bool changed_gtid= (m_last_commit_gtid.seq_no != gtid.seq_no); +#endif m_last_commit_gtid= gtid; +#ifndef EMBEDDED_LIBRARY if (changed_gtid && session_tracker.get_tracker(SESSION_SYSVARS_TRACKER)->is_enabled()) { session_tracker.get_tracker(SESSION_SYSVARS_TRACKER)-> mark_as_changed(this, (LEX_CSTRING*)Sys_last_gtid_ptr); } +#endif } void
participants (1)
-
Oleksandr Byelkin