Re: Duplicated VARCHAR primary key ignored
Posted by:
Jure Vizjak
Date: September 07, 2013 02:33PM
I'm using PHP.
The insert is
INSERT INTO token VALUES ('rss0nukacwa6ckslpafot3vz1mr2uzjjnjc9kci5dab64pczh2', '10');
Yes, the token value is [0-9a-z].
I have quite some experience with PHP and MySQL, but I have never experienced something like this. I was googling about MySQL, concurrent inserts, and duplicated key errors, but I haven't found anything that would suggest that MySQL could be causing the problem. It seems that there's a problem in my code and not with MySQL.
Subject
Views
Written By
Posted
2177
September 03, 2013 02:27AM
823
September 04, 2013 10:46PM
852
September 06, 2013 04:59AM
835
September 07, 2013 10:36AM
Re: Duplicated VARCHAR primary key ignored
1053
September 07, 2013 02:33PM
917
September 12, 2013 01:29AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.