Skip to content

Instantly share code, notes, and snippets.

@chenrui333
Created September 2, 2023 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chenrui333/5192b6ef1b1dfeae7912b8dddf618b63 to your computer and use it in GitHub Desktop.
Save chenrui333/5192b6ef1b1dfeae7912b8dddf618b63 to your computer and use it in GitHub Desktop.
diff --git a/sqlite3odbc.c b/sqlite3odbc.c
index 79361da..fbe711a 100644
--- a/sqlite3odbc.c
+++ b/sqlite3odbc.c
@@ -13305,7 +13305,7 @@ drvdriverconnect(SQLHDBC dbc, SQLHWND hwnd,
attas, sizeof (attas), ODBC_INI);
}
#endif
- illag[0] = '\0';
+ ilflag[0] = '\0';
getdsnattr(buf, "ilike", ilflag, sizeof (ilflag));
#ifndef WITHOUT_DRIVERMGR
if (dsn[0] && !ilflag[0]) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment