[Gambas-Notification] [Git][gambas/gambas][master] 3 commits: Tells the database driver if the connection has already been closed when releasing a query result.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Sat Apr 10 16:24:22 CEST 2021



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


Commits:
171b46c2 by gambas at 2021-04-10T16:15:34+02:00
Tells the database driver if the connection has already been closed when releasing a query result.

[INTERPRETER]
* NEW: Add an API to know if a native error has already been raised.

[GB.DB]
* NEW: The Result.Release() driver API now tells if the connection has been closed.
* NEW: Raise an error when retrieving the primary key fails, if the driver has not already raised it.

- - - - -
3677f9ef by gambas at 2021-04-10T16:18:29+02:00
Fix ton of bugs. Some remains.

[GB.DB.ODBC]
* BUG: Result objects are correctly freed now after the database has been closed.
* BUG: Retrieving the contents of a row now works.
* BUG: Clean-up error handlings with this good old 'goto'. Statement handles should now always correctly be freed.
* OPT: Replace linked lists by arrays almost everywhere.
* NEW: Column names can now be up to 255 characters length.

*

- - - - -
50e3b33e by gambas at 2021-04-10T16:23:00+02:00
Update to the new signature of Result.Release() driver API.

[GB.DB.MYSQL]
* NEW: Update to the new signature of Result.Release() driver API.

[GB.DB.POSTGRESQL]
* NEW: Update to the new signature of Result.Release() driver API.

[GB.DB.SQLITE2]
* NEW: Update to the new signature of Result.Release() driver API.

[GB.DB.SQLITE3]
* NEW: Update to the new signature of Result.Release() driver API.

- - - - -


15 changed files:

- gb.db.mysql/src/main.c
- gb.db.odbc/src/main.c
- gb.db.postgresql/src/main.c
- gb.db.sqlite2/src/main.cpp
- gb.db.sqlite3/src/main.c
- main/gbx/gbx_api.c
- main/gbx/gbx_api.h
- main/lib/db/CResult.c
- main/lib/db/CTable.c
- main/lib/db/gb.db.h
- main/lib/db/gb.db.proto.h
- main/lib/test/gb.test/.component
- main/lib/test/gb.test/.project
- main/lib/test/gb.test/.test
- main/share/gambas.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/cad7c492eebedefc040d725349d9758a7d76fd8c...50e3b33eaff2051a3bab7e727d1857792e54021c

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/compare/cad7c492eebedefc040d725349d9758a7d76fd8c...50e3b33eaff2051a3bab7e727d1857792e54021c
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/d80cd727/attachment.htm>


More information about the Notification mailing list