Commit bf67b146 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

msi: Fix bytes_per_column for binary types when the database is using 3-byte string references.

parent 0876f766
......@@ -125,6 +125,8 @@ void msi_table_set_strref(UINT bytes_per_strref)
static inline UINT bytes_per_column( const MSICOLUMNINFO *col )
{
if( MSITYPE_IS_BINARY(col->type) )
return 2;
if( col->type & MSITYPE_STRING )
return _Columns_cols[1].offset;
if( (col->type & 0xff) > 4 )
......
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