Fix the INSERT query when inserting integers into a table.

oldstable
Mike McCormack 2004-06-30 19:46:15 +00:00 committed by Alexandre Julliard
parent eb0e0df908
commit 99c2b9a994
1 changed files with 4 additions and 1 deletions

View File

@ -102,7 +102,10 @@ static UINT INSERT_execute( struct tagMSIVIEW *view, MSIHANDLE record )
val = msi_addstringW( iv->db->strings, 0, str, -1, 1 );
}
else
val = MsiRecordGetInteger( record, n++ );
{
val = MsiRecordGetInteger( record, n );
val |= 0x8000;
}
r = sv->ops->set_int( sv, row, n, val );
if( r )
break;