-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the way we handle connection warnings.
Originally we just checked the various SQLCA fields for any 'W' flag set to determine the database features during ifxCreateConnectionXact() and ifxSetConnection(). Now check if any SQLCA warning is set first (SQLCA_WARN_SET), and do the check for any feature warnings only if true. I'm not sure the former behavior was even correct, since it is not obvious when SQLCA warning fields get cleared overall. This commit also adds an is_obsolete field to IfxConnectionInfo connection structure, to remember wether ifxCreateConnectionXact() or ifxSetConnection() got a connection to an obsolete Informix instance version. I'm planning to use this information later, when attacking the bug reported in #19, where IMPORT FOREIGN SCHEMA isn't able to import the table schemas from Informix SE instances, since they don't support extended data types (e.g. sqlxtdtypes).
- Loading branch information
Bernd Helmle
committed
May 11, 2018
1 parent
f141f6d
commit 3afb89d
Showing
3 changed files
with
70 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters