Commit c95a6aa6 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Fix field numbering so the CREATE query works for multiple columns.

parent 9cb2787a
...@@ -142,6 +142,8 @@ static UINT CREATE_execute( struct tagMSIVIEW *view, MSIHANDLE record ) ...@@ -142,6 +142,8 @@ static UINT CREATE_execute( struct tagMSIVIEW *view, MSIHANDLE record )
r = tv->ops->set_int( tv, row, 4, 0x8000|col->type ); r = tv->ops->set_int( tv, row, 4, 0x8000|col->type );
if( r ) if( r )
break; break;
nField++;
} }
if( !col ) if( !col )
r = ERROR_SUCCESS; r = ERROR_SUCCESS;
......
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