We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22b7fdb commit eba7584Copy full SHA for eba7584
tests/ibase_trans_003.phpt
@@ -0,0 +1,20 @@
1
+--TEST--
2
+ibase_trans(): Check order of link identifier and trans args
3
+--SKIPIF--
4
+<?php include("skipif.inc"); ?>
5
+--FILE--
6
+<?php
7
+
8
+require("interbase.inc");
9
10
+$db = ibase_connect($test_base);
11
+$tr = ibase_trans(IBASE_READ, $db) or die("Could not create transaction");
12
+@ibase_query($tr, "INSERT INTO test1 VALUES(1, 2)") or die("Could not insert");
13
+ibase_commit($tr) or die("Could not commit transaction");
14
+print "Finished OK\n";
15
16
+unset($db);
17
18
+?>
19
+--EXPECT--
20
+Could not insert
0 commit comments