Skip to content

Commit

Permalink
Do not re-prepare statements when execute DDL in ISQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
asfernandes committed Sep 7, 2024
1 parent 4d70f48 commit 883200d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isql/isql.epp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 883200d

Please sign in to comment.