mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:03:02 +01:00
Avoid replicating internal DDL statements (just in case they would exist)
This commit is contained in:
parent
128ce239f2
commit
3a0078f2c3
@ -1016,7 +1016,10 @@ void DsqlDdlRequest::execute(thread_db* tdbb, jrd_tra** traHandle,
|
||||
|
||||
node->executeDdl(tdbb, internalScratch, req_transaction);
|
||||
|
||||
if (node->mustBeReplicated())
|
||||
const bool isInternalRequest =
|
||||
(internalScratch->flags & DsqlCompilerScratch::FLAG_INTERNAL_REQUEST);
|
||||
|
||||
if (!isInternalRequest && node->mustBeReplicated())
|
||||
REPL_exec_sql(tdbb, req_transaction, getStatement()->getOrgText());
|
||||
}
|
||||
catch (status_exception& ex)
|
||||
|
Loading…
Reference in New Issue
Block a user