msi: Fix SHORT column data type.

This commit is contained in:
Hib Eris 2009-04-25 21:36:27 +02:00 committed by Alexandre Julliard
parent 407866186c
commit 5e829d1323
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1155,7 +1155,7 @@ static void test_viewgetcolumninfo(void)
ok( 0x1d01 == get_columns_table_type(hdb, "Properties", 2 ), "_columns table wrong\n");
ok( 0x1502 == get_columns_table_type(hdb, "Properties", 3 ), "_columns table wrong\n");
ok( 0x1502 == get_columns_table_type(hdb, "Properties", 4 ), "_columns table wrong\n");
todo_wine ok( 0x1502 == get_columns_table_type(hdb, "Properties", 5 ), "_columns table wrong\n");
ok( 0x1502 == get_columns_table_type(hdb, "Properties", 5 ), "_columns table wrong\n");
ok( 0x1104 == get_columns_table_type(hdb, "Properties", 6 ), "_columns table wrong\n");
/* now try the names */