mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
10.0-monty merge
includes: * remove some remnants of "Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING" * introduce LOCK_share, now LOCK_ha_data is strictly for engines * rea_create_table() always creates .par file (even in "frm-only" mode) * fix a 5.6 bug, temp file leak on dummy ALTER TABLE
This commit is contained in:
@ -68,7 +68,7 @@
|
||||
#define PSEUDO_TABLE_BITS (PARAM_TABLE_BIT | OUTER_REF_TABLE_BIT | \
|
||||
RAND_TABLE_BIT)
|
||||
#define MAX_FIELDS 4096 /* Limit in the .frm file */
|
||||
#define MAX_PARTITIONS 1024
|
||||
#define MAX_PARTITIONS 8192
|
||||
|
||||
#define MAX_SELECT_NESTING (sizeof(nesting_map)*8-1)
|
||||
|
||||
@ -77,7 +77,6 @@
|
||||
|
||||
/* Some portable defines */
|
||||
|
||||
#define portable_sizeof_char_ptr 8
|
||||
#define STRING_BUFFER_USUAL_SIZE 80
|
||||
|
||||
/* Memory allocated when parsing a statement / saving a statement */
|
||||
@ -129,6 +128,13 @@
|
||||
*/
|
||||
#define TABLE_DEF_CACHE_MIN 400
|
||||
|
||||
/**
|
||||
Maximum number of connections default value.
|
||||
151 is larger than Apache's default max children,
|
||||
to avoid "too many connections" error in a common setup.
|
||||
*/
|
||||
#define MAX_CONNECTIONS_DEFAULT 151
|
||||
|
||||
/*
|
||||
Stack reservation.
|
||||
Feel free to raise this by the smallest amount you can to get the
|
||||
@ -233,7 +239,7 @@
|
||||
#define DELAYED_LIMIT 100 /**< pause after xxx inserts */
|
||||
#define DELAYED_QUEUE_SIZE 1000
|
||||
#define DELAYED_WAIT_TIMEOUT 5*60 /**< Wait for delayed insert */
|
||||
#define MAX_CONNECT_ERRORS 10 ///< errors before disabling host
|
||||
#define MAX_CONNECT_ERRORS 100 ///< errors before disabling host
|
||||
|
||||
#define LONG_TIMEOUT ((ulong) 3600L*24L*365L)
|
||||
|
||||
|
Reference in New Issue
Block a user