Skip to content

Commit 0650cb5

Browse files
nickvergessencome-nc
authored andcommitted
fixup! I have no idea what I'm doing
1 parent 5f2fa46 commit 0650cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/DB/AdapterOCI8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function fixupStatement($statement) {
2929

3030
$statement = preg_replace(
3131
'/^INSERT INTO (".*")( ?\(.*) ?VALUES( ?\(.*)$/',
32-
'DECLARE vRowid ROWID; BEGIN INSERT INTO ${1} VALUES ${2} RETURNING ROWID INTO vRowid dbms_output.put_line(vRowid); END',
32+
'DECLARE vRowid ROWID; BEGIN INSERT INTO ${1} VALUES ${2}; RETURNING ROWID INTO vRowid dbms_output.put_line(vRowid); END;',
3333
$statement
3434
);
3535

0 commit comments

Comments
 (0)