[Gambas-Notification] [Git][gambas/gambas][master] Fix corner-cases for forward-only Result objects.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Sat Apr 10 03:44:33 CEST 2021



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
25694283 by gambas at 2021-04-10T03:41:31+02:00
Fix corner-cases for forward-only Result objects.

[GB.DB]
* BUG: Don't call the collation driver routine if the 'no_collation' flag is set by the database driver.
* BUG: Do not try to seek anywhere in the Result object if the 'no_seek' flag is set, even if the row count is positive.
* BUG: Result.Delete() never removes a row from the result set if its row count is negative (i.e. if it is forward-only).

- - - - -


2 changed files:

- main/lib/db/CConnection.c
- main/lib/db/CResult.c


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/256942831fd66e102a6ddf3a01030879c2cc39b9

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/256942831fd66e102a6ddf3a01030879c2cc39b9
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210410/4d4c5d07/attachment.htm>


More information about the Notification mailing list