diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-08-13 15:27:00 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-08-13 16:04:02 +0200 |
commit | 6dd98c1fa89abb8ee9b91504a73d3a1c3f10e6d4 (patch) | |
tree | c6509f014ad0cdd8492b7cf5285661addd01340b /WHATS_NEW_DM | |
parent | 9738a02d3d56a3a30bd8b59838eae8f805ba3bcc (diff) | |
download | lvm2-6dd98c1fa89abb8ee9b91504a73d3a1c3f10e6d4.tar.gz |
select: fix string list selection to match whole words only but not prefixes of searched string
$ lvs -o name,tags vg/lvol0
LV LV Tags
lvol0 a
Before this patch:
$ lvs -o name,tags vg/lvol0 -S 'tags=[a]'
LV LV Tags
lvol0 a
$ lvs -o name,tags vg/lvol0 -S 'tags=[ab]'
LV LV Tags
lvol0 a
(incorrect!)
$ lvs -o name,tags vg/lvol0 -S 'tags=[abc]'
LV LV Tags
lvol0 a
(incorrect!)
With this patch applied:
$ lvs -o name,tags vg/lvol0 -S 'tags=[a]'
LV LV Tags
lvol0 a
$ lvs -o name,tags vg/lvol0 -S 'tags=[ab]'
(no result - correct!)
$ lvs -o name,tags vg/lvol0 -S 'tags=[abc]'
(no result - correct!)
Diffstat (limited to 'WHATS_NEW_DM')
-rw-r--r-- | WHATS_NEW_DM | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 842ee1547..7bb3f4ccb 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.89 - ================================= + Fix string list selection to match whole words only, not prefixes. Version 1.02.88 - 5th August 2014 ================================= |