ODBC
Jump to navigation
Jump to search
This article lists problems or things to remember when developing with ODBC for Naiade.
unixODBC
- Apparently, SQLBindCol does NOT accept a NULL pointer argument as its last argument (SQLLEN * StrLen_or_Ind). This leads to a segmentation fault and a crash when calling SQLFetch later. This does not seem conform to Microsoft specifications, since providing a NULL pointer is legal. Under Windows, this behavior does not happen.
- A good documentation for unixODBC is available here.
iODBC
- If installed using Portage, the configuration file is at /etc/iodbc/odbc.ini, NOT /etc/odbc.ini as said in the official documentation!
- iODBC documentation is simply non-existant. So I don't plan to support iODBC for Naiade right now; the goal is to get it working with unixODBC first.