diff options
author | Daniel Black <daniel@linux.vnet.ibm.com> | 2018-03-27 07:55:56 +1100 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2018-04-03 10:37:20 +0400 |
commit | 8ffbb825e6a09d3055f46ed4b456573aef5c474c (patch) | |
tree | bfd9c343b03ead1361e5a75f455ca790fe662e97 /sql/mysqld.h | |
parent | 10f6b7001bd7b683c013ae407c2c48793caa3633 (diff) | |
download | mariadb-git-8ffbb825e6a09d3055f46ed4b456573aef5c474c.tar.gz |
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.
Diffstat (limited to 'sql/mysqld.h')
-rw-r--r-- | sql/mysqld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.h b/sql/mysqld.h index 78e832e4abc..188ac0449c8 100644 --- a/sql/mysqld.h +++ b/sql/mysqld.h @@ -178,7 +178,7 @@ extern ulong slave_trans_retries; extern uint slave_net_timeout; extern int max_user_connections; extern ulong what_to_log,flush_time; -extern ulong max_prepared_stmt_count, prepared_stmt_count; +extern uint max_prepared_stmt_count, prepared_stmt_count; extern ulong open_files_limit; extern ulonglong binlog_cache_size, binlog_stmt_cache_size; extern ulonglong max_binlog_cache_size, max_binlog_stmt_cache_size; |