Last insert id problem/bug

2004-07-24 Thread Bill Easton
original message follows -- Date: Thu, 22 Jul 2004 22:56:12 -0700 Subject: Last insert id problem/bug From: Scott Haneda <[EMAIL PROTECTED]> I am not sure this is just how it is, my issue, or a bug, I searched the bugs database, but don't really know what to call this in order

Re: Last insert id problem/bug

2004-07-23 Thread Scott Haneda
on 7/23/04 5:30 AM, Harald Fuchs at [EMAIL PROTECTED] wrote: > The behavior is indeed strange, but it's not a bug, since it's documented: > > If you use `INSERT IGNORE' and the record is ignored, the > `AUTO_INCREMENT' counter still is incremented and > `LAST_INSERT_ID()' returns t

Re: Last insert id problem/bug

2004-07-23 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, Scott Haneda <[EMAIL PROTECTED]> writes: > I am not sure this is just how it is, my issue, or a bug, I searched the > bugs database, but don't really know what to call this in order to properly > look up the info: > MySQL 4.0.18-standard > CREATE TABLE `addresses`

Re: Last insert id problem/bug

2004-07-22 Thread Scott Haneda
on 7/22/04 10:56 PM, Scott Haneda at [EMAIL PROTECTED] wrote: > I am not sure this is just how it is, my issue, or a bug, I searched the > bugs database, but don't really know what to call this in order to properly > look up the info: > > MySQL 4.0.18-standard Also note, I just tested this on 4.

Last insert id problem/bug

2004-07-22 Thread Scott Haneda
I am not sure this is just how it is, my issue, or a bug, I searched the bugs database, but don't really know what to call this in order to properly look up the info: MySQL 4.0.18-standard CREATE TABLE `addresses` ( `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0',