[MDEV-6644] ODBC connection in Connect storage engine through libiodbc Created: 2014-08-26  Updated: 2021-05-11

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - Connect
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Heinz Wiesinger Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: connect-engine


 Description   

It would be nice to see the Connect storage engine support ODBC connections also through libiodbc as well as unixODBC. There's already a mention about this in the cmake files:

Note, we currently detect unixODBC only on Linux.
TODO: detect iODBC as well. Simply adding "iodbc" into NAMES in
find_library does not work on machines with both unixODBC and iODBC
installed, because it finds headers from unixODBC while libraries
from iODBC. We could search for 'isql.h' instead of 'sql.h' so
the library 'libodbc' gets compiled with 'isql.h' and
the library 'libiodbc' gets compiled with 'sql'h.
This will also need changes in the sources (e.g. #include <isql.h>).


Generated at Thu Feb 08 07:13:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.