Commit 99c2b9a9 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fix the INSERT query when inserting integers into a table.

parent eb0e0df9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment