Skip to content

Commit

Permalink
#86 : Error fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
s-takeuchi committed Oct 12, 2024
1 parent f9a0085 commit b89cddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/restapi/ApiOdbcInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ StkObject* ApiOdbcInfo::GetOdbcInfo(wchar_t UrlPath[StkWebAppExec::URL_PATH_LENG
DatObjDb->AppendChildElement(new StkObject(L"ConnStr", ConnStr));

DbAccessor* Da = OdbcManager::GetInstance()->CreateAccessorObject(DbmsType);
int Ret = Da->Test(ConnStr);
int Ret = Da->Test((SQLTCHAR*)ConnStr);
if (Ret == SQL_SUCCESS) {
DatObjDb->AppendChildElement(new StkObject(L"Status", L"connectable"));
} else {
Expand Down

0 comments on commit b89cddd

Please sign in to comment.