reference/uodbc/functions/odbc-errormsg.xml
902c2b77f827e8d0ecccf4f62fb90065d2f6ef79
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>string</type><methodname>odbc_errormsg</methodname>
12
-
<methodparam choice="opt"><type>resource</type><parameter>connection_id</parameter></methodparam>
12
+
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>odbc</parameter><initializer>&null;</initializer></methodparam>
13
13
</methodsynopsis>
14
14
<simpara>
15
15
Returns a string containing the last ODBC error message, or an empty
...
...
@@ -21,7 +21,7 @@
21
21
<para>
22
22
<variablelist>
23
23
<varlistentry>
24
-
<term><parameter>connection_id</parameter></term>
24
+
<term><parameter>odbc</parameter></term>
25
25
<listitem>
26
26
&odbc.connection.id;
27
27
</listitem>
...
...
@@ -32,7 +32,7 @@
32
32
<refsect1 role="returnvalues">
33
33
&reftitle.returnvalues;
34
34
<para>
35
-
If <parameter>connection_id</parameter> is specified, the last state
35
+
If <parameter>odbc</parameter> is specified, the last state
36
36
of that connection is returned, else the last state of any connection
37
37
is returned.
38
38
</para>
...
...
@@ -41,6 +41,29 @@
41
41
(i.e. <function>odbc_exec</function> returned &false;).
42
42
</para>
43
43
</refsect1>
44
+

45
+
<refsect1 role="changelog">
46
+
&reftitle.changelog;
47
+
<informaltable>
48
+
<tgroup cols="2">
49
+
<thead>
50
+
<row>
51
+
<entry>&Version;</entry>
52
+
<entry>&Description;</entry>
53
+
</row>
54
+
</thead>
55
+
<tbody>
56
+
<row>
57
+
<entry>8.0.0</entry>
58
+
<entry>
59
+
<parameter>odbc</parameter> is nullable now.
60
+
</entry>
61
+
</row>
62
+
</tbody>
63
+
</tgroup>
64
+
</informaltable>
65
+
</refsect1>
66
+

44
67
<refsect1 role="seealso">
45
68
&reftitle.seealso;
46
69
<para>
...
...
@@ -51,7 +74,6 @@
51
74
</para>
52
75
</refsect1>
53
76
</refentry>
54
-

55
77
<!-- Keep this comment at the end of the file
56
78
Local variables:
57
79
mode: sgml
58
80