mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
MDEV-28701 Update Server HELP
Bootstrap size increase and error fix by Daniel Black.
This commit is contained in:
parent
90ba999e80
commit
4d0c53a327
4 changed files with 739 additions and 744 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -23,7 +23,7 @@
|
||||||
The longest query in use depends on the documentation content,
|
The longest query in use depends on the documentation content,
|
||||||
see the file fill_help_tables.sql
|
see the file fill_help_tables.sql
|
||||||
*/
|
*/
|
||||||
#define MAX_BOOTSTRAP_QUERY_SIZE 20000
|
#define MAX_BOOTSTRAP_QUERY_SIZE 60000
|
||||||
/**
|
/**
|
||||||
The maximum size of a bootstrap query, expressed in a single line.
|
The maximum size of a bootstrap query, expressed in a single line.
|
||||||
Do not increase this size, use the multiline syntax instead.
|
Do not increase this size, use the multiline syntax instead.
|
||||||
|
|
|
@ -1046,9 +1046,9 @@ int bootstrap(MYSQL_FILE *file)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case READ_BOOTSTRAP_QUERY_SIZE:
|
case READ_BOOTSTRAP_QUERY_SIZE:
|
||||||
my_printf_error(ER_UNKNOWN_ERROR, "Boostrap file error. Query size "
|
my_printf_error(ER_UNKNOWN_ERROR, "Bootstrap file error. Query size "
|
||||||
"exceeded %d bytes near '%s'.", MYF(0),
|
"exceeded %d bytes near '%s'.", MYF(0),
|
||||||
MAX_BOOTSTRAP_LINE_SIZE, err_ptr);
|
MAX_BOOTSTRAP_QUERY_SIZE, err_ptr);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Reference in a new issue