Skip to content

Commit b7bca3f

Browse files
MDEV-34518 Initialise THD::max_tmp_space_used
1 parent 45d99ea commit b7bca3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_class.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3867,7 +3867,7 @@ class THD: public THD_count, /* this must be first */
38673867
ulonglong tmp_tables_size;
38683868
ulonglong bytes_sent_old;
38693869
ulonglong affected_rows; /* Number of changed rows */
3870-
ulonglong max_tmp_space_used;
3870+
ulonglong max_tmp_space_used= 0;
38713871

38723872
Opt_trace_context opt_trace;
38733873
pthread_t real_id; /* For debugging */

0 commit comments

Comments
 (0)