[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][gambas/gambas][master] New ODBC database driver is finished, but only tested with a MySQL data source.



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


Commits:
de3a49a6 by Benoît Minisini at 2024-07-19T00:24:58+02:00
New ODBC database driver is finished, but only tested with a MySQL data source.

[GB.DB2]
* NEW: Implement some default methods in the database driver parent class.

[GB.DB2.ODBC]
* NEW: Extract underlying database server version.
* NEW: Internally extract database server type.
* NEW: Initialize 'Connection.Name' and 'Connection.User' automatically when a connection string is used.
* NEW: Implement table creation, and use the driver parent class handle default methods.
* NEW: Detect index properties correctly. It seems that the MySQL ODBC driver is unable to detect unique indexes correctly.
* NEW: Fields with "BIGINT UNSIGNED" definition are supposed to be serial fields. Only tested with a MySQL data source!
* NEW: Implement 'GetLastInsertId()' driver method for MySQL data sources.

- - - - -


6 changed files:

- gb.db2.mysql/src/gb.db2.mysql/.src/_DatabaseDriver_MySql.class
- gb.db2.odbc/src/gb.db2.odbc/.src/_DatabaseDriver_Odbc.class
- gb.db2.odbc/src/main.c
- gb.db2.postgresql/src/gb.db2.postgresql/.src/_DatabaseDriver_Postgresql.class
- gb.db2.sqlite3/src/gb.db2.sqlite3/.src/_DatabaseDriver_Sqlite3.class
- main/comp/gb.db2/.src/_DatabaseDriver.class


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

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