MySQL Forums
Forum List  »  General

Re: WHY: Same timestamp for two different records from two different sessions
Posted by: Kristijan Marin
Date: January 26, 2019 06:34PM

Hi,

Yes it includes typing ...

I could try this ... we also have a development DB server which has no replication with the same problem ... so I guess replication shouldn't be the problem ...

I only set timestamp in BeforeInsert .... that's the only code in that trigger...

My question would be : IF I log the timestamp & suppose I get the same values after two inserts ... Where do I go from here ?

Would PHP PDO library that is used for DB connection, had something to do with it ?
Once I made a for loop in php for 100 inserts with 1sec delay between each insert ,,, and timestamps were fine ....

OK, I'll try with logging now and will come back with the results.

Thank you for your time.
Kris

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.