Skip to content

snowflake-odbc v4.2.0

Choose a tag to compare

v4.2.0

Changes:

  • Changed SQLDriverConnect so unrecognized connection-string keywords are reported with a local 01S00 warning and are not forwarded to the server. Recognized session parameters are sent to the server.
  • Changed the leftover ODBC 3.x TRACING keyword in a DSN or connection string to post a SQLSTATE 01000 deprecation warning on connect that names LogLevel in sf.odbc.ini; the keyword still has no effect.
  • Changed login to omit CLIENT_SESSION_KEEP_ALIVE and CLIENT_PREFETCH_THREADS unless the connection sets them.
  • Changed login to send a set validate_default_parameters value, true or false, as CLIENT_VALIDATE_DEFAULT_PARAMETERS, and to leave that parameter off the login request when it is unset.

Bug fixes:

  • Fixed saving a Windows DSN through the setup dialog or ConfigDSN (including Add-OdbcDsn) failing with "Failed to save DSN configuration." or a FALSE return; saving now leaves a stored TRACING value in place.
  • Fixed SQLDriverConnect so ODBC_QUERY_RESULT_FORMAT is sent to the server and selects the session query result format.
  • Fixed statement-level TIMEZONE overrides so a TIMEZONE set on a statement is sent on the query request.
  • Fixed SQLTables so the SQL_ALL_CATALOGS and SQL_ALL_SCHEMAS listings return the account's catalogs or schemas when TableType is null or any other value, instead of an empty result.
  • Changed TLS certificate checks for RUSTSEC-2026-0382 by updating bundled root certificates and distrusting compromised intermediate Certificate Authority (CA) certificates.