msi: Get rid of the remove_column() view operation.
It was added to the structure, rather unnecessarily, by ccef56f2c. Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ced768f2ec
commit
c2810f40a0
@ -240,7 +240,6 @@ static const MSIVIEWOPS alter_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
UINT ALTER_CreateView( MSIDATABASE *db, MSIVIEW **view, LPCWSTR name, column_info *colinfo, int hold )
|
||||
|
@ -141,7 +141,6 @@ static const MSIVIEWOPS create_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
static UINT check_columns( const column_info *col_info )
|
||||
|
@ -183,7 +183,6 @@ static const MSIVIEWOPS delete_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
UINT DELETE_CreateView( MSIDATABASE *db, MSIVIEW **view, MSIVIEW *table )
|
||||
|
@ -266,7 +266,6 @@ static const MSIVIEWOPS distinct_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
UINT DISTINCT_CreateView( MSIDATABASE *db, MSIVIEW **view, MSIVIEW *table )
|
||||
|
@ -111,7 +111,6 @@ static const MSIVIEWOPS drop_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
UINT DROP_CreateView(MSIDATABASE *db, MSIVIEW **view, LPCWSTR name)
|
||||
|
@ -337,7 +337,6 @@ static const MSIVIEWOPS insert_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
static UINT count_column_info( const column_info *ci )
|
||||
|
@ -316,11 +316,6 @@ typedef struct tagMSIVIEWOPS
|
||||
*/
|
||||
UINT (*add_column)( struct tagMSIVIEW *view, LPCWSTR table, UINT number, LPCWSTR column, UINT type, BOOL hold );
|
||||
|
||||
/*
|
||||
* remove_column - removes the column represented by table name and column number from the table
|
||||
*/
|
||||
UINT (*remove_column)( struct tagMSIVIEW *view, LPCWSTR table, UINT number );
|
||||
|
||||
/*
|
||||
* sort - orders the table by columns
|
||||
*/
|
||||
|
@ -350,7 +350,6 @@ static const MSIVIEWOPS select_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
static UINT SELECT_AddColumn( MSISELECTVIEW *sv, LPCWSTR name,
|
||||
|
@ -434,7 +434,6 @@ static const MSIVIEWOPS storages_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
static INT add_storages_to_table(MSISTORAGESVIEW *sv)
|
||||
|
@ -356,7 +356,6 @@ static const MSIVIEWOPS streams_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
static HRESULT open_stream( MSIDATABASE *db, const WCHAR *name, IStream **stream )
|
||||
|
@ -2072,7 +2072,6 @@ static const MSIVIEWOPS table_ops =
|
||||
TABLE_add_ref,
|
||||
TABLE_release,
|
||||
TABLE_add_column,
|
||||
TABLE_remove_column,
|
||||
NULL,
|
||||
TABLE_drop,
|
||||
};
|
||||
|
@ -213,7 +213,6 @@ static const MSIVIEWOPS update_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
};
|
||||
|
||||
UINT UPDATE_CreateView( MSIDATABASE *db, MSIVIEW **view, LPWSTR table,
|
||||
|
@ -1081,7 +1081,6 @@ static const MSIVIEWOPS where_ops =
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
WHERE_sort,
|
||||
NULL,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user