]> git.stg.codes - stg.git/blobdiff - stglibs/ibpp.lib/statement.cpp
Massive refactoring.
[stg.git] / stglibs / ibpp.lib / statement.cpp
index 1a3031fe80943e7f88a34f2544bab57d1b38a429..e2271cf4b544011cc471d67af06e21bac4207568 100644 (file)
@@ -422,7 +422,7 @@ bool StatementImpl::Fetch()
                        _("No statement has been executed or no result set available."));\r
 \r
        IBS status;\r
-       int code = (*gds.Call()->m_dsql_fetch)(status.Self(), &mHandle, 1, mOutRow->Self());\r
+       ISC_STATUS code = (*gds.Call()->m_dsql_fetch)(status.Self(), &mHandle, 1, mOutRow->Self());\r
        if (code == 100)        // This special code means "no more rows"\r
        {\r
                mResultSetAvailable = false;\r
@@ -452,7 +452,7 @@ bool StatementImpl::Fetch(IBPP::Row& row)
        row = rowimpl;\r
 \r
        IBS status;\r
-       int code = (*gds.Call()->m_dsql_fetch)(status.Self(), &mHandle, 1,\r
+       ISC_STATUS code = (*gds.Call()->m_dsql_fetch)(status.Self(), &mHandle, 1,\r
                                        rowimpl->Self());\r
        if (code == 100)        // This special code means "no more rows"\r
        {\r