Module: wine Branch: refs/heads/master Commit: 9f487ba1dee3426b1acd03e3d02e00b79e71aec0 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=9f487ba1dee3426b1acd03e3...
Author: Robert Shearman rob@codeweavers.com Date: Sat Mar 18 16:12:15 2006 +0000
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 | 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(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=9f487ba1dee3426b1acd...