msi: Fix INT column data type.

This commit is contained in:
Hib Eris 2009-04-25 21:35:10 +02:00 committed by Alexandre Julliard
parent fa8f8a3efc
commit 15cb7290ee
2 changed files with 2 additions and 2 deletions

View File

@ -367,7 +367,7 @@ data_type:
}
| TK_INT
{
$$ = 2;
$$ = 2 | 0x400;
}
| TK_LONG
{

View File

@ -1144,7 +1144,7 @@ static void test_viewgetcolumninfo(void)
/* check the type in _Columns */
ok( 0x3dff == get_columns_table_type(hdb, "Properties", 1 ), "_columns table wrong\n");
ok( 0x1d01 == get_columns_table_type(hdb, "Properties", 2 ), "_columns table wrong\n");
todo_wine ok( 0x1502 == get_columns_table_type(hdb, "Properties", 3 ), "_columns table wrong\n");
ok( 0x1502 == get_columns_table_type(hdb, "Properties", 3 ), "_columns table wrong\n");
/* now try the names */
rec = get_column_info( hdb, "select * from `Properties`", MSICOLINFO_NAMES );