8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Increased the plan buffer size in ISQL to accomodate the detailed plan output.

This commit is contained in:
dimitr 2013-08-05 11:59:28 +00:00
parent d4ac7f12ed
commit fdf928dcb7
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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;