updated to conform to the new api

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@55635 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nikos Mavroyanopoulos 2001-08-21 09:02:05 +00:00
parent 4f18ef3cf8
commit b4a5bba8b8

View file

@ -1,5 +1,5 @@
<?xml encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<reference id="ref.ovrimos">
<title>Ovrimos SQL functions</title>
<titleabbrev>OvrimosSQL</titleabbrev>
@ -82,7 +82,7 @@ if ($conn != 0) {
ovrimos_result_all ($res);
ovrimos_free_result ($res);
}
ovrimos_close ($conn);
ovrimos_close($conn);
}
?&gt;
</programlisting>
@ -118,31 +118,6 @@ if ($conn != 0) {
</refsect1>
</refentry>
<refentry id="function.ovrimos-close-all">
<refnamediv>
<refname>ovrimos_close_all</refname>
<refpurpose>Closes all the connections to ovrimos</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>ovrimos_close_all</function></funcdef>
<void/>
</funcprototype>
</funcsynopsis>
<para>
<function>ovrimos_close_all</function> is used to close all the
connections.
</para>
<para>
<function>ovrimos_close_all</function> closes all connections to
Ovrimos. This has the effect of rolling back uncommitted
transactions.
</para>
</refsect1>
</refentry>
<refentry id="function.ovrimos-longreadlen">
<refnamediv>
<refname>ovrimos_longreadlen</refname>
@ -166,9 +141,8 @@ if ($conn != 0) {
<para>
<function>ovrimos_longreadlen</function> specifies how many bytes
are to be retrieved from long datatypes (long varchar and long
varbinary). Default is zero. Regardless of its taking a result_id
as an argument, it currently sets this parameter for all result
sets. Returns &true;.
varbinary). Default is zero. It currently sets this parameter
the specified result set. Returns &true;.
</para>
</refsect1>
</refentry>
@ -216,7 +190,7 @@ if ($conn!=0) {
} else {
echo "Prepare not ok!\n";
}
ovrimos_close ($conn);
ovrimos_close($conn);
}
?&gt;
</programlisting>
@ -373,7 +347,7 @@ if ($conn!=0) {
}
ovrimos_free_result ($res);
}
ovrimos_close ($conn);
ovrimos_close($conn);
}
?&gt;
</programlisting>
@ -438,7 +412,7 @@ if ($conn != 0) {
}
ovrimos_free_result ($res);
}
ovrimos_close ($conn);
ovrimos_close($conn);
}
?&gt;
</programlisting>
@ -522,7 +496,7 @@ if ($conn != 0) {
} else {
echo "Prepare not ok!\n";
}
ovrimos_close ($conn);
ovrimos_close($conn);
}
?&gt;
</programlisting>
@ -553,7 +527,7 @@ if ($conn != 0) {
ovrimos_result_all ($res);
ovrimos_free_result ($res);
}
ovrimos_close ($conn);
ovrimos_close($conn);
}
?&gt;
</programlisting>
@ -573,7 +547,7 @@ if ($conn != 0) {
echo ovrimos_num_rows ($res)." rows affected\n";
ovrimos_free_result ($res);
}
ovrimos_close ($conn);
ovrimos_close($conn);
}
?&gt;
</programlisting>