MSI: Fix the INSERT query when inserting integers into a table
Mike McCormack
mike at codeweavers.com
Tue Jun 29 07:53:01 CDT 2004
ChangeLog:
* Fix the INSERT query when inserting integers into a table
-------------- next part --------------
diff -ur dlls/msi.old/insert.c dlls/msi/insert.c
--- dlls/msi.old/insert.c 2004-06-29 07:51:17.000000000 -0500
+++ dlls/msi/insert.c 2004-06-29 07:51:28.000000000 -0500
@@ -102,7 +102,10 @@
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;
More information about the wine-patches
mailing list