simplic / simplic-cdn-odbc

This repository contains the odbc-driver to work with the simplic cdn using sql-syntax or embed it as a remote server in other dbms.
MIT License
5 stars 1 forks source link

Setting ODBC DBMS Version to Cdn Version #20

Open simplicbe opened 7 years ago

simplicbe commented 7 years ago

@jts93 Should we set the dbms version to the simplic cdn version?

m_info.addField(SQL_DBMS_VER, new StringInfoField("00.00.0000"));
simplicbe commented 7 years ago

@jts93 any news here?

jts93 commented 7 years ago

Setting this to the Simplic.CDN version would make sense. Ideally, this would be done by calling a Simplic.CDN API that returns that version string. See https://github.com/simplic-systems/simplic-cdn/issues/8

simplicbe commented 7 years ago

But the Simplic.CDN version might be different from the ODBC Driver version, or not?

jts93 commented 7 years ago

Yes, that's why we need the API. The SQL_DBMS_VER request type is used to request the version of the DBMS (=Simplic.CDN), not the driver.

simplicbe commented 7 years ago

Ah, got it. I'll implement it.

simplicbe commented 7 years ago

Done: https://github.com/simplic-systems/simplic-cdn/issues/8