mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
increase upper value of max_prepared_stmt_count to UINT32_MAX
The upper 1M limit for max_prepared_stmt_count was set over 10 years ago. It doesn't suite current hardware and a sysbench oltp_read_write test with 512 threads will hit this limit.
This commit is contained in:
committed by
Sergey Vojtovich
parent
10f6b7001b
commit
8ffbb825e6
@@ -532,7 +532,7 @@ bool max_user_connections_checking=0;
|
||||
Limit of the total number of prepared statements in the server.
|
||||
Is necessary to protect the server against out-of-memory attacks.
|
||||
*/
|
||||
ulong max_prepared_stmt_count;
|
||||
uint max_prepared_stmt_count;
|
||||
/**
|
||||
Current total number of prepared statements in the server. This number
|
||||
is exact, and therefore may not be equal to the difference between
|
||||
@@ -543,7 +543,7 @@ ulong max_prepared_stmt_count;
|
||||
two different connections, this counts as two distinct prepared
|
||||
statements.
|
||||
*/
|
||||
ulong prepared_stmt_count=0;
|
||||
uint prepared_stmt_count=0;
|
||||
ulong thread_id=1L,current_pid;
|
||||
ulong slow_launch_threads = 0;
|
||||
uint sync_binlog_period= 0, sync_relaylog_period= 0,
|
||||
|
Reference in New Issue
Block a user