MySQL Forums
Forum List  »  Performance

Re: Values not inserting into MySQL Database table
Posted by: Shan Abdussalam
Date: November 12, 2015 01:53PM

Hey Øystein

Yes I believe you are right. From what I can make out MySQL returns the number of rows affected by the insert if successful, else false. The primary key retuning seems to be a Zend functionality.

But I do not think that is the main concern here. The question remains, why MySQL did not return false if the query was not executed successfully. From what I can see; the query was sent successfully to MySQL (from MySQl Logs) and there was no error returned. But still the data insertion failed to take place. What could have happened that this failed in MySQL?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Values not inserting into MySQL Database table
1035
November 12, 2015 01:53PM


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.