Skip to content

Commit ac49345

Browse files
committed
Merge 10.1 into 10.2
2 parents 226ca25 + f2c1c95 commit ac49345

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sql/sql_parse.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
2-
Copyright (c) 2008, 2018, MariaDB
2+
Copyright (c) 2008, 2019, MariaDB
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -3511,8 +3511,10 @@ mysql_execute_command(THD *thd)
35113511
else
35123512
{
35133513
WSREP_SYNC_WAIT(thd, WSREP_SYNC_WAIT_BEFORE_SHOW);
3514+
#ifdef ENABLED_PROFILING
35143515
if (lex->sql_command == SQLCOM_SHOW_PROFILE)
35153516
thd->profiling.discard_current_query();
3517+
#endif
35163518
}
35173519

35183520
thd->status_var.last_query_cost= 0.0;

0 commit comments

Comments
 (0)