diff options
author | Dan Gudmundsson <[email protected]> | 2015-09-10 10:09:28 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-09-10 10:09:28 +0200 |
commit | 027726da70f31541bd3c4813bf464489a808ae91 (patch) | |
tree | 22b47c65f19c1e2cd5bf872f50a63ef9c72690a4 /lib/mnesia/src/mnesia_schema.erl | |
parent | bfdc9f97f1738d072d09b98a8980b0b59639db0b (diff) | |
download | otp-027726da70f31541bd3c4813bf464489a808ae91.tar.gz otp-027726da70f31541bd3c4813bf464489a808ae91.tar.bz2 otp-027726da70f31541bd3c4813bf464489a808ae91.zip |
mnesia: Improve index updates
There is no need to update the index table if a record is updated in non
indexed field. This removes one timing glitch where dirty_index_read would
return an empty list for records that where updated.
There is still an issue with dirty_index_read when updates are made to
the index field, it have been reduced but the real table updates are made
after the index table references have been added.
Originally reported by Nick Marino in erl-questions mailing list, thanks.
Diffstat (limited to 'lib/mnesia/src/mnesia_schema.erl')
0 files changed, 0 insertions, 0 deletions