Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion reference/uodbc/functions/odbc-autocommit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<methodsynopsis>
<type class="union"><type>int</type><type>bool</type></type><methodname>odbc_autocommit</methodname>
<methodparam><type>resource</type><parameter>odbc</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>enable</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>enable</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Toggles autocommit behaviour.
Expand All @@ -36,6 +36,8 @@
<para>
If <parameter>enable</parameter> is &true;, auto-commit is enabled, if
it is &false; auto-commit is disabled.
If &null; is passed, this function returns the auto-commit status for
<parameter>odbc</parameter>.
</para>
</listitem>
</varlistentry>
Expand All @@ -55,6 +57,29 @@
success and &false; on failure.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.3.0</entry>
<entry>
<parameter>enable</parameter> is now nullable.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<para>
Expand Down