Replies: 3 comments
-
could that be a race condition? E.g this branch runs before expected record exists in a page ( later when you check manually it is there ) |
Beta Was this translation helpful? Give feedback.
0 replies
-
yes, that's definitely it. do you have an idea to solve this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Unfortunately the answer is very generic:
Since the issue is likely outside of the scope of the driver and is a generic mysql server question I'm moving it to github discussions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Sometimes there is a length == 0 error when there really is a result already. This therefore creates a duplicate by mistake. How to settle? Here is my code:
The first if
if ( results.length == 0 )
is really executed from time to time when in reality there is a result in the sql database, which creates a duplicate or duplicates in sql, normally it should update with the "query update"Where could the problem come from?
Cordially
Beta Was this translation helpful? Give feedback.
All reactions