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:
parent
4d70f480c4
commit
883200d192
@ -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_ddl ||
|
||||||
statement_type == isc_info_sql_stmt_set_generator))
|
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;
|
setValues.StmtTimeout = 0;
|
||||||
if (ISQL_errmsg(fbStatus))
|
if (ISQL_errmsg(fbStatus))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user