From aeee59edd2e57cc9e1cb34dc2b4394e2e108ff2b Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Sun, 31 May 2026 15:30:28 +0300 Subject: [PATCH] Capture more system variables in optimizer_context: sql_mode --- sql/opt_context_store_replay.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/opt_context_store_replay.cc b/sql/opt_context_store_replay.cc index 7531cdce798..082b829abca 100644 --- a/sql/opt_context_store_replay.cc +++ b/sql/opt_context_store_replay.cc @@ -383,6 +383,7 @@ static const char *opt_related_sys_vars[]= "join_buffer_size", "timestamp", "old_mode", + "sql_mode", NULL };