reference/uodbc/functions/odbc-pconnect.xml
902c2b77f827e8d0ecccf4f62fb90065d2f6ef79
...
...
@@ -9,11 +9,11 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>resource</type><methodname>odbc_pconnect</methodname>
12
+
<type class="union"><type>resource</type><type>false</type></type><methodname>odbc_pconnect</methodname>
13
13
<methodparam><type>string</type><parameter>dsn</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>user</parameter></methodparam>
15
15
<methodparam><type>string</type><parameter>password</parameter></methodparam>
16
-
<methodparam choice="opt"><type>int</type><parameter>cursor_type</parameter></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>cursor_option</parameter><initializer><constant>SQL_CUR_USE_DRIVER</constant></initializer></methodparam>
17
17
</methodsynopsis>
18
18
<para>
19
19
Opens a persistent database connection.
...
...
@@ -40,7 +40,7 @@
40
40
<refsect1 role="returnvalues">
41
41
&reftitle.returnvalues;
42
42
<para>
43
-
Returns an ODBC connection id or 0 (&false;) on
43
+
Returns an ODBC connection, &return.falseforfailure;.
44
44
error.
45
45
</para>
46
46
</refsect1>
...
...
@@ -66,7 +66,6 @@
66
66
</refsect1>
67
67

68
68
</refentry>
69
-

70
69
<!-- Keep this comment at the end of the file
71
70
Local variables:
72
71
mode: sgml
73
72