MySQL Forums
Forum List  »  InnoDB

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.

Options: ReplyQuote


Subject
Views
Written By
Posted
2177
September 03, 2013 02:27AM
Re: Duplicated VARCHAR primary key ignored
1053
September 07, 2013 02:33PM


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.