msi: Optimise WHERE operations.
authorRobert Shearman <rob@codeweavers.com>
Sat, 18 Mar 2006 16:12:15 +0000 (16:12 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 20 Mar 2006 11:03:04 +0000 (12:03 +0100)
commit9f487ba1dee3426b1acd03e3d02e00b79e71aec0
tree0a26dfcd134376b21c4110ec94403d0b468b2335
parentd62aa01ec0a005dc9f8be481a6aef0cedb1191fe
msi: Optimise WHERE operations.

Optimise WHERE operations on matching against strings by adding a new
function find_matching_rows to the views, which eliminates the need to
examine every record when executing a query. Implement this function
in the table using a hash table on the ID stored in the data.
dlls/msi/delete.c
dlls/msi/distinct.c
dlls/msi/insert.c
dlls/msi/msipriv.h
dlls/msi/order.c
dlls/msi/select.c
dlls/msi/table.c
dlls/msi/update.c
dlls/msi/where.c