#At file:///home/malff/BZR_TREE/mysql-trunk-bugfixing-55817/ based on revid:alik@ibmvm-20100823170222-qfahagegk2vo17ad
3227 Marc Alff 2010-08-23
Bug#55817 Server in bootstrap mode cannot execute long queries, installation breaks
Increased the maximun query length in bootstrap mode,
to accomodate the documentation generated content in file fill_help_tables.sql
modified:
sql/sql_bootstrap.h
=== modified file 'sql/sql_bootstrap.h'
--- a/sql/sql_bootstrap.h 2010-06-30 14:05:18 +0000
+++ b/sql/sql_bootstrap.h 2010-08-23 22:29:36 +0000
@@ -20,15 +20,15 @@
/**
The maximum size of a bootstrap query.
Increase this size if parsing a longer query during bootstrap is necessary.
- The longest query in use currently is:
- INSERT INTO time_zone_transition ..., 8059 characters
+ The longest query in use depends on the documentation content,
+ see the file fill_help_tables.sql
*/
-#define MAX_BOOTSTRAP_QUERY_SIZE 10000
+#define MAX_BOOTSTRAP_QUERY_SIZE 20000
/**
The maximum size of a bootstrap query, expressed in a single line.
- Do not increase this size, use the multiline syntax with 'GO' instead.
+ Do not increase this size, use the multiline syntax instead.
*/
-#define MAX_BOOTSTRAP_LINE_SIZE 10000
+#define MAX_BOOTSTRAP_LINE_SIZE 20000
#define READ_BOOTSTRAP_EOF 1
#define READ_BOOTSTRAP_ERROR 2
Attachment: [text/bzr-bundle] bzr/marc.alff@oracle.com-20100823222936-prazu35i65725lm9.bundle
| Thread |
|---|
| • bzr commit into mysql-trunk-bugfixing branch (marc.alff:3227) Bug#55817 | Marc Alff | 23 Aug |