Skip to content

Commit 8761047

Browse files
committed
Work around MDEV-37478
THD::get_net_wait_timeout(): Silence GCC -Wconversion by an explicit conversion from ulong (64 or 32 bits) to uint (32 bits).
1 parent 6bf1ed5 commit 8761047

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
@@ -5748,7 +5748,7 @@ class THD: public THD_count, /* this must be first */
57485748
return variables.idle_transaction_timeout;
57495749
}
57505750

5751-
return variables.net_wait_timeout;
5751+
return uint(variables.net_wait_timeout);
57525752
}
57535753

57545754
/**

0 commit comments

Comments
 (0)