There was an error while loading. Please reload this page.
1 parent 42fd537 commit f2c1c95Copy full SHA for f2c1c95
sql/sql_parse.cc
@@ -1,5 +1,5 @@
1
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
2
- Copyright (c) 2008, 2018, MariaDB
+ Copyright (c) 2008, 2019, MariaDB
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
@@ -3016,8 +3016,10 @@ mysql_execute_command(THD *thd)
3016
else
3017
{
3018
WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_SHOW);
3019
+#ifdef ENABLED_PROFILING
3020
if (lex->sql_command == SQLCOM_SHOW_PROFILE)
3021
thd->profiling.discard_current_query();
3022
+#endif
3023
}
3024
3025
thd->status_var.last_query_cost= 0.0;
0 commit comments