Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
486375f8
Commit
486375f8
authored
Oct 29, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
755316c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
Firebird.php
lib/Doctrine/Export/Firebird.php
+7
-8
No files found.
lib/Doctrine/Export/Firebird.php
View file @
486375f8
...
@@ -88,13 +88,12 @@ class Doctrine_Export_Firebird extends Doctrine_Export
...
@@ -88,13 +88,12 @@ class Doctrine_Export_Firebird extends Doctrine_Export
$table
=
$this
->
conn
->
quoteIdentifier
(
$table
,
true
);
$table
=
$this
->
conn
->
quoteIdentifier
(
$table
,
true
);
$name
=
$this
->
conn
->
quoteIdentifier
(
$name
,
true
);
$name
=
$this
->
conn
->
quoteIdentifier
(
$name
,
true
);
$triggerSql
=
'CREATE TRIGGER '
.
$trigger_name
.
' FOR '
.
$table
.
'
$triggerSql
=
'CREATE TRIGGER '
.
$trigger_name
.
' FOR '
.
$table
ACTIVE BEFORE INSERT POSITION 0
.
' ACTIVE BEFORE INSERT POSITION 0 AS'
AS
.
' BEGIN'
BEGIN
.
' IF (NEW.'
.
$name
.
' IS NULL OR NEW.'
.
$name
.
' = 0) THEN'
IF (NEW.'
.
$name
.
' IS NULL OR NEW.'
.
$name
.
' = 0) THEN
.
' NEW.'
.
$name
.
' = GEN_ID('
.
$sequence_name
.
', 1)'
NEW.'
.
$name
.
' = GEN_ID('
.
$sequence_name
.
', 1);
.
' END'
;
END'
;
$result
=
$this
->
conn
->
exec
(
$triggerSql
);
$result
=
$this
->
conn
->
exec
(
$triggerSql
);
// TODO ? $this->_silentCommit();
// TODO ? $this->_silentCommit();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment