Robert Shearman : msi: Optimise WHERE operations.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 20 06:17:51 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 9f487ba1dee3426b1acd03e3d02e00b79e71aec0
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=9f487ba1dee3426b1acd03e3d02e00b79e71aec0

Author: Robert Shearman <rob at 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=9f487ba1dee3426b1acd03e3d02e00b79e71aec0



More information about the wine-cvs mailing list