diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-11-30 09:52:09 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-06 20:30:31 +0100 |
commit | 1e5fa538b7095ab94110808c585cb55b5b1ec23f (patch) | |
tree | deffcc9f2089897955d844751265b9c9d4a20c2a /libmsi/table.c | |
parent | 4d30b26af155a14221b1669e97dccf500a7cbc77 (diff) | |
download | msitools-1e5fa538b7095ab94110808c585cb55b5b1ec23f.tar.gz msitools-1e5fa538b7095ab94110808c585cb55b5b1ec23f.tar.xz msitools-1e5fa538b7095ab94110808c585cb55b5b1ec23f.zip |
rename View functions to Query
The implementation-side "view" concept is different from the API side.
Rename the API to make it more consistent.
Diffstat (limited to 'libmsi/table.c')
-rw-r--r-- | libmsi/table.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmsi/table.c b/libmsi/table.c index 89d69e7..1d26278 100644 --- a/libmsi/table.c +++ b/libmsi/table.c @@ -1284,11 +1284,11 @@ static unsigned msi_addstreamW( LibmsiDatabase *db, const WCHAR *name, IStream * if ( r != ERROR_SUCCESS ) goto err; - r = MSI_DatabaseOpenViewW( db, insert, &query ); + r = MSI_DatabaseOpenQueryW( db, insert, &query ); if ( r != ERROR_SUCCESS ) goto err; - r = MSI_ViewExecute( query, rec ); + r = MSI_QueryExecute( query, rec ); err: msiobj_release( &query->hdr ); @@ -1735,7 +1735,7 @@ static unsigned msi_table_update(LibmsiView *view, LibmsiRecord *rec, unsigned r LibmsiTableVIEW *tv = (LibmsiTableVIEW *)view; unsigned r, new_row; - /* FIXME: MsiViewFetch should set rec index 0 to some ID that + /* FIXME: MsiQueryFetch should set rec index 0 to some ID that * sets the fetched record apart from other records */ |