true vs TRUE again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3022,7 +3022,7 @@ bool wxDb::Catalog(const wxChar *userID, const wxString &fileName)
|
|||||||
tblNameSave.Empty();
|
tblNameSave.Empty();
|
||||||
int cnt = 0;
|
int cnt = 0;
|
||||||
|
|
||||||
while (true)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
retcode = SQLFetch(hstmt);
|
retcode = SQLFetch(hstmt);
|
||||||
if (retcode != SQL_SUCCESS && retcode != SQL_SUCCESS_WITH_INFO)
|
if (retcode != SQL_SUCCESS && retcode != SQL_SUCCESS_WITH_INFO)
|
||||||
@@ -3722,7 +3722,7 @@ const wxChar WXDLLEXPORT *wxDbLogExtendedErrorMsg(const wxChar *userText, wxDb *
|
|||||||
|
|
||||||
msg.Append (wxT("\nODBC errors:\n"));
|
msg.Append (wxT("\nODBC errors:\n"));
|
||||||
msg += wxT("\n");
|
msg += wxT("\n");
|
||||||
|
|
||||||
// Display errors for this connection
|
// Display errors for this connection
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < DB_MAX_ERROR_HISTORY; i++)
|
for (i = 0; i < DB_MAX_ERROR_HISTORY; i++)
|
||||||
|
Reference in New Issue
Block a user