svn: /phpdoc/en/trunk/reference/mysql/functions/ mysql-insert-id.xml
| From: | Jakub Vrana | Date: | Sat, 14 Nov 2009 15:43:46 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysql/functions/ mysql-insert-id.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5387@lists.php.net to get a copy of this message | ||
vrana Sat, 14 Nov 2009 15:43:46 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290747
Log:
Works with all queries (bug #50171)
Bug: http://bugs.php.net/50171 (Closed) Code behaviour
different from documentation
Changed paths:
U phpdoc/en/trunk/reference/mysql/functions/mysql-insert-id.xml
Modified: phpdoc/en/trunk/reference/mysql/functions/mysql-insert-id.xml
===================================================================
--- phpdoc/en/trunk/reference/mysql/functions/mysql-insert-id.xml 2009-11-14 15:04:04 UTC (rev
290746)
+++ phpdoc/en/trunk/reference/mysql/functions/mysql-insert-id.xml 2009-11-14 15:43:46 UTC (rev
290747)
@@ -3,7 +3,7 @@
<refentry xml:id="function.mysql-insert-id" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_insert_id</refname>
- <refpurpose>Get the ID generated from the previous INSERT operation</refpurpose>
+ <refpurpose>Get the ID generated in the last query</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -14,7 +14,7 @@
</methodsynopsis>
<para>
Retrieves the ID generated for an AUTO_INCREMENT column by the previous
- INSERT query.
+ query (usually INSERT).
</para>
</refsect1>
@@ -31,7 +31,7 @@
&reftitle.returnvalues;
<para>
The ID generated for an AUTO_INCREMENT column by the previous
- INSERT query on success, <literal>0</literal> if the previous
+ query on success, <literal>0</literal> if the previous
query does not generate an AUTO_INCREMENT value, or &false; if
no MySQL connection was established.
</para>