Re: Values not inserting into MySQL Database table
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?
Subject
Views
Written By
Posted
8570
November 11, 2015 06:13AM
2052
November 11, 2015 12:28PM
1118
November 11, 2015 12:49PM
780
November 12, 2015 07:01AM
1109
November 12, 2015 07:06AM
954
November 12, 2015 07:11AM
Re: Values not inserting into MySQL Database table
1035
November 12, 2015 01:53PM
1163
November 12, 2015 07:21PM
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.