Author: mcbrown
Date: 2007-01-31 18:56:26 +0100 (Wed, 31 Jan 2007)
New Revision: 4714
Log:
Completing WL#3146 docs
Modified:
trunk/refman-5.1/apis-c.xml
Modified: trunk/refman-5.1/apis-c.xml
===================================================================
--- trunk/refman-5.1/apis-c.xml 2007-01-31 17:32:14 UTC (rev 4713)
+++ trunk/refman-5.1/apis-c.xml 2007-01-31 17:56:26 UTC (rev 4714)
Changed blocks: 1, Lines Added: 34, Lines Deleted: 4; 1694 bytes
@@ -3914,11 +3914,41 @@
<listitem>
<para>
- If there is an auto increment column in the table, and there
- were some explicit values for this column that were
- successfully inserted into the table, then return the last
- of the explicit values.
+ The return value varies depending on the statement used.
+ When called after an <literal>INSERT INTO</literal>
+ statement:
</para>
+
+ <itemizedlist>
+
+ <listitem>
+ <para>
+ If there is an auto increment column in the table, and
+ there were some explicit values for this column that
+ were successfully inserted into the table, then return
+ the last of the explicit values.
+ </para>
+ </listitem>
+
+ </itemizedlist>
+
+ <para>
+ When called after an <literal>INSERT ... ON DUPLICATE
+ KEY</literal> statement:
+ </para>
+
+ <itemizedlist>
+
+ <listitem>
+ <para>
+ If there is an auto increment column and the table and
+ there were some explicit succesfully inserted values, or
+ some updated rows, then return the last of the inserted
+ or updated values.
+ </para>
+ </listitem>
+
+ </itemizedlist>
</listitem>
</orderedlist>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r4714 - trunk/refman-5.1 | mcbrown | 31 Jan |