mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 07:23:04 +01:00
Increased the plan buffer size in ISQL to accomodate the detailed plan output.
This commit is contained in:
parent
d4ac7f12ed
commit
fdf928dcb7
@ -8053,7 +8053,7 @@ static void process_plan()
|
||||
|
||||
SCHAR plan_info[1];
|
||||
plan_info[0] = ExplainPlan ? isc_info_sql_explain_plan : isc_info_sql_get_plan;
|
||||
TEXT plan_buffer[PRINT_BUFFER_LENGTH];
|
||||
TEXT plan_buffer[PLAN_BUFFER_LENGTH];
|
||||
memset(plan_buffer, 0, sizeof(plan_buffer));
|
||||
char* planPtr = plan_buffer;
|
||||
size_t planSize = sizeof(plan_buffer);
|
||||
|
@ -42,7 +42,8 @@
|
||||
hope this will last a year or so :-)
|
||||
FSG 17.Nov.2000
|
||||
*/
|
||||
const int PRINT_BUFFER_LENGTH = 2048;
|
||||
const int PRINT_BUFFER_LENGTH = 1024;
|
||||
const int PLAN_BUFFER_LENGTH = 1024 * 16;
|
||||
const int MAXTERM_SIZE = 32; // SQL termination character
|
||||
const int USER_LENGTH = 128;
|
||||
const int PASSWORD_LENGTH = 128;
|
||||
|
Loading…
Reference in New Issue
Block a user