Skip to content

Instantly share code, notes, and snippets.

@spetrunia
Created September 29, 2022 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spetrunia/74f75364952fb5fbafefbe79dde057ac to your computer and use it in GitHub Desktop.
Save spetrunia/74f75364952fb5fbafefbe79dde057ac to your computer and use it in GitHub Desktop.
git diff ../client/mysqltest.cc
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index c462e9ee662..1a2928d2fe8 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -8582,6 +8582,7 @@ void run_query_stmt(struct st_connection *cn, struct st_command *command,
var_set_errno(mysql_stmt_errno(stmt));
+ display_optimizer_trace(cn, ds);
revert_properties();
/* Close the statement if reconnect, need new prepare */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment