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

Do not re-prepare statements when execute DDL in ISQL.

This commit is contained in:
Adriano dos Santos Fernandes 2024-09-06 07:25:51 -03:00
parent 4d70f480c4
commit 883200d192

View File

@ -9110,7 +9110,7 @@ static processing_state process_statement(const std::string& str)
(statement_type == isc_info_sql_stmt_ddl ||
statement_type == isc_info_sql_stmt_set_generator))
{
DB->execute(fbStatus, D__trans, 0, str.c_str(), isqlGlob.SQL_dialect, NULL, NULL, NULL, NULL);
global_Stmt->execute(fbStatus, D__trans, nullptr, nullptr, nullptr, nullptr);
setValues.StmtTimeout = 0;
if (ISQL_errmsg(fbStatus))
{