Skip to content

Commit 18de7a0

Browse files
committed
Added default initialization for 'Query_Info' fields 'start_time' and 'end_time' #3458
1 parent bd3e96a commit 18de7a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/MySQL_Session.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ Query_Info::Query_Info() {
212212
waiting_since = 0;
213213
affected_rows=0;
214214
rows_sent=0;
215+
start_time=0;
216+
end_time=0;
215217
}
216218

217219
Query_Info::~Query_Info() {

0 commit comments

Comments
 (0)