ClearMemberVar() did not correctly handle columns defined as SQL_C_LONG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2179,6 +2179,7 @@ void wxDbTable::ClearMemberVar(UWORD colNo, bool setToNull)
|
||||
case SQL_C_USHORT:
|
||||
*((UWORD*) colDefs[colNo].PtrDataObj) = 0;
|
||||
break;
|
||||
case SQL_C_LONG:
|
||||
case SQL_C_SLONG:
|
||||
*((SDWORD *) colDefs[colNo].PtrDataObj) = 0;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user