Module: wine Branch: master Commit: 15cb7290ee49babb0ab1521ddc592a640019d46e URL: http://source.winehq.org/git/wine.git/?a=commit;h=15cb7290ee49babb0ab1521ddc...
Author: Hib Eris Hib@hiberis.nl Date: Sat Apr 25 21:35:10 2009 +0200
msi: Fix INT column data type.
---
dlls/msi/sql.y | 2 +- dlls/msi/tests/db.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/sql.y b/dlls/msi/sql.y index d71c186..f22234e 100644 --- a/dlls/msi/sql.y +++ b/dlls/msi/sql.y @@ -367,7 +367,7 @@ data_type: } | TK_INT { - $$ = 2; + $$ = 2 | 0x400; } | TK_LONG { diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c index 0cf9af1..ec9443b 100644 --- a/dlls/msi/tests/db.c +++ b/dlls/msi/tests/db.c @@ -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 );