php-doc-en/reference/ingres-ii/functions/ingres-autocommit.xml
Damien Seguy 4fb6353720 Corrected function name inversion.
wq: Command not found.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@94687 c90b9560-bf6c-de11-be94-00142212c4b1
2002-09-05 10:44:36 +00:00

58 lines
1.8 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 -->
<refentry id="function.ingres-autocommit">
<refnamediv>
<refname>ingres_autocommit</refname>
<refpurpose>Switch autocommit on or off</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>ingres_autocommit</methodname>
<methodparam choice="opt"><type>resource</type><parameter>link</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;
<para>
<function>ingres_autocommit</function> is called before opening a
transaction (before the first call to
<function>ingres_query</function> or just after a call to
<function>ingres_rollback</function> or
<function>ingres_commit</function>) to switch the
"autocommit" mode of the server on or off (when the script begins
the autocommit mode is off).
</para>
<para>
When the autocommit mode is on, every query is automaticaly
commited by the server, as if <function>ingres_commit</function>
was called after every call to <function>ingres_query</function>.
</para>
<para>
See also
<function>ingres_query</function>,
<function>ingres_rollback</function>, and
<function>ingres_commit</function>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->