Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6644

ODBC connection in Connect storage engine through libiodbc

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.1
    • Component/s: None
    • Labels:

      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>).

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                pprkut Heinz Wiesinger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: