BOOL abbrev = (len < 1024) || 0 < ci->force_abbrev_connstr;
UInt4 flag;
+mylog("%s row_versioning=%s\n", __FUNCTION__, ci->row_versioning);
+
MYLOG(DETAIL_LOG_LEVEL, "force_abbrev=%d abbrev=%d\n", ci->force_abbrev_connstr, abbrev);
encode(ci->password, encoded_item, sizeof(encoded_item));
/* fundamental info */
STRCPY_FIXED(ci->drivername, value);
else if (stricmp(attribute, INI_KDESC) == 0)
STRCPY_FIXED(ci->desc, value);
- else if (stricmp(attribute, INI_DATABASE) == 0)
+ else if (stricmp(attribute, INI_DATABASE) == 0 || stricmp(attribute, ABBR_DATABASE) == 0)
STRCPY_FIXED(ci->database, value);
else if (stricmp(attribute, INI_SERVER) == 0 || stricmp(attribute, SPEC_SERVER) == 0)
STRCPY_FIXED(ci->server, value);
ODBC_INI);
SQLWritePrivateProfileString(DSN,
- INI_DATABASE,
+ ABBR_DATABASE,
ci->database,
ODBC_INI);
#define INI_PORT "Port" /* Port on which the
* Postmaster is listening */
#define INI_DATABASE "Database" /* Database Name */
+#define ABBR_DATABASE "DX" /* Database Name */
#define INI_UID "UID" /* Default User Name */
#define INI_USERNAME "Username" /* Default User Name */
#define INI_PASSWORD "Password" /* Default Password */
BOOL setIdentity = FALSE;
int table_info = 0;
- MYLOG(0, "entering...stmt=%p scnm=%p len=%d\n", stmt, szTableOwner, cbTableOwner);
+ MYLOG(0, "entering...stmt=%p scnm=%p len=%d columnOpt=%x\n", stmt, szTableOwner, cbTableOwner, flag);
if (result = SC_initialize_and_recycle(stmt), SQL_SUCCESS != result)
return result;