Fix a valgrind warning spotted while trying to repeat Bug#7166
"Server crashes when running out of connections" sql/sql_class.cc: thd->query_id is compared with thd->warn_id in push_warning, THD::THD seems to be the best place to fix it.
Showing
Please register or sign in to comment