msi: Optimise WHERE operations

Robert Shearman rob at codeweavers.com
Sat Mar 18 10:12:15 CST 2006


ChangeLog:
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   |   11 +++++
 dlls/msi/distinct.c |   24 +++++++++++
 dlls/msi/insert.c   |   11 +++++
 dlls/msi/msipriv.h  |   16 +++++++
 dlls/msi/order.c    |   21 +++++++++-
 dlls/msi/select.c   |   21 +++++++++-
 dlls/msi/table.c    |  109
++++++++++++++++++++++++++++++++++++++++++++++++++-
 dlls/msi/update.c   |   10 ++++-
 dlls/msi/where.c    |   63 +++++++++++++++++++++++++++++
 9 files changed, 276 insertions(+), 10 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: a6a369e03b323f43f47133ea939df587002c9ac6.diff
Type: text/x-patch
Size: 14614 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060318/ba21c045/a6a369e03b323f43f47133ea939df587002c9ac6.diff


More information about the wine-patches mailing list