Lines Matching refs:lpszConnStr
2434 char *lpszConnStr = emalloc(CONNSTRSIZE); in odbc_sqlconnect() local
2435 if (lpszConnStr && db) { in odbc_sqlconnect()
2445 strlcpy( lpszConnStr, db, CONNSTRSIZE); in odbc_sqlconnect()
2448 strcpy(lpszConnStr, "DSN="); in odbc_sqlconnect()
2449 strlcat(lpszConnStr, db, CONNSTRSIZE); in odbc_sqlconnect()
2453 strlcat(lpszConnStr, ";UID=", CONNSTRSIZE); in odbc_sqlconnect()
2454 strlcat(lpszConnStr, uid, CONNSTRSIZE); in odbc_sqlconnect()
2455 strlcat(lpszConnStr, ";", CONNSTRSIZE); in odbc_sqlconnect()
2459 strlcat(lpszConnStr, "PWD=", CONNSTRSIZE); in odbc_sqlconnect()
2460 strlcat(lpszConnStr, pwd, CONNSTRSIZE); in odbc_sqlconnect()
2461 strlcat(lpszConnStr, ";", CONNSTRSIZE); in odbc_sqlconnect()
2465 …rc = SQLDriverConnect((*conn)->hdbc, NULL, lpszConnStr, SQL_NTS, lpszConnStr, CONNSTRSIZE, &cbszCo… in odbc_sqlconnect()
2466 efree(lpszConnStr); in odbc_sqlconnect()