summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-02-22 12:01:08 +0000
committerlsces <lester@lsces.co.uk>2026-02-22 12:01:08 +0000
commit334a8ef5781ba2648a10f4976982da27950acfe1 (patch)
tree09570922a5812c806950434d8e979733a35ff956
parentcd289175c7a1a8950a8ec76ee26da75b498d390a (diff)
downloadilluminate-firebird-334a8ef5781ba2648a10f4976982da27950acfe1.tar.gz
illuminate-firebird-334a8ef5781ba2648a10f4976982da27950acfe1.tar.bz2
illuminate-firebird-334a8ef5781ba2648a10f4976982da27950acfe1.zip
Wrap execute block with 'set term ~;'
-rwxr-xr-xsrc/Schema/Grammars/FirebirdGrammar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Schema/Grammars/FirebirdGrammar.php b/src/Schema/Grammars/FirebirdGrammar.php
index ebeefb0..17c03db 100755
--- a/src/Schema/Grammars/FirebirdGrammar.php
+++ b/src/Schema/Grammars/FirebirdGrammar.php
@@ -131,7 +131,7 @@ class FirebirdGrammar extends Grammar
$table = str_replace('"', "'", $this->wrapTable($blueprint));
return sprintf(
- "execute block as begin if (exists(%s)) then execute statement '%s'; end",
+ "set term #; execute block as begin if (exists(%s)) then execute statement '%s'; end set term ;#",
$this->compileTableExists( '', $table),
$this->compileDrop($blueprint, $command)
);