reference/uodbc/functions/odbc-autocommit.xml
a00f64d3cd559177e4ce197acff373646965bf92
...
...
@@ -10,7 +10,7 @@
10
10
<methodsynopsis>
11
11
<type class="union"><type>int</type><type>bool</type></type><methodname>odbc_autocommit</methodname>
12
12
<methodparam><type>resource</type><parameter>odbc</parameter></methodparam>
13
-
<methodparam choice="opt"><type>bool</type><parameter>enable</parameter><initializer>&false;</initializer></methodparam>
13
+
<methodparam choice="opt"><type>bool</type><parameter>enable</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Toggles autocommit behaviour.
...
...
@@ -36,6 +36,8 @@
36
36
<para>
37
37
If <parameter>enable</parameter> is &true;, auto-commit is enabled, if
38
38
it is &false; auto-commit is disabled.
39
+
If &null; is passed, this function returns the auto-commit status for
40
+
<parameter>odbc</parameter>.
39
41
</para>
40
42
</listitem>
41
43
</varlistentry>
...
...
@@ -55,6 +57,29 @@
55
57
success and &false; on failure.
56
58
</para>
57
59
</refsect1>
60
+

61
+
<refsect1 role="changelog">
62
+
&reftitle.changelog;
63
+
<informaltable>
64
+
<tgroup cols="2">
65
+
<thead>
66
+
<row>
67
+
<entry>&Version;</entry>
68
+
<entry>&Description;</entry>
69
+
</row>
70
+
</thead>
71
+
<tbody>
72
+
<row>
73
+
<entry>8.3.0</entry>
74
+
<entry>
75
+
<parameter>enable</parameter> is now nullable.
76
+
</entry>
77
+
</row>
78
+
</tbody>
79
+
</tgroup>
80
+
</informaltable>
81
+
</refsect1>
82
+

58
83
<refsect1 role="seealso">
59
84
&reftitle.seealso;
60
85
<para>
61
86