Hello all,

We're experiencing a bit of difficulty replicating from a 4.0.2 master on
Linux to a 4.0.2 slave on Linux.  Most of our tables, including the one
that's giving us headaches are InnoDB.  My colleague encountered the
problem, his description follows:

> It seems to barf on auto_increment fields, at least in
> some cases.  It thinks there's a duplicate key where
> there isn't one:
>
> error 'Duplicate entry '6781602' for key 1' on query
> 'INSERT INTO visitor(partner_id, campaign_id, referrer_id,
> when_firstvisit) VALUES(NULL, NULL, NULL, NOW())'
>
[From the slave:]
> mysql> select * from visitor where id=6781602;
> Empty set (0.00 sec)
[From the master:]
> mysql> select * from visitor where id=6781602;
> +---------+------------+-------------+-------------+---------------------+
> | id      | partner_id | campaign_id | referrer_id | when_firstvisit     |
> +---------+------------+-------------+-------------+---------------------+
> | 6781602 |         17 |        NULL |        NULL | 2002-07-26 00:28:12 |
> +---------+------------+-------------+-------------+---------------------+

Any ideas?

-JF


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to