Search found 2 matches

by bbiuser
02.06.2021, 09:14
Forum: ZeosLib 7.2 Forum
Topic: mysql - last_insert_id() - sometimes the result is zero
Replies: 2
Views: 251

Re: mysql - last_insert_id() - sometimes the result is zero

Update: I updated ZeosLib to version 7.2.10 and it seams to work now.
by bbiuser
31.05.2021, 12:56
Forum: ZeosLib 7.2 Forum
Topic: mysql - last_insert_id() - sometimes the result is zero
Replies: 2
Views: 251

mysql - last_insert_id() - sometimes the result is zero

Hi, I'm using Delphi7 with Zeos 7.2.4 and mysql (mysql 5.7, libmariadb.dll 3.0.0.7, same with mysql.dlls) and this is my problem: I insert rows in my table and sometimes I get 0 as result with the mysql builtin function "last_insert_id()". There is a pattern: id 1-59 -> ok / id 60-99 -> no...