HBASE-5398 HBase shell disable_all/enable_all/drop_all promp wrong tables for confirmation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1244169 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ac0fb8d5ae
commit
caf2c0c67a
|
@ -30,7 +30,7 @@ EOF
|
|||
end
|
||||
|
||||
def command(regex)
|
||||
regex = /#{regex}/ unless regex.is_a?(Regexp)
|
||||
regex = /^#{regex}$/ unless regex.is_a?(Regexp)
|
||||
list = admin.list.grep(regex)
|
||||
count = list.size
|
||||
list.each do |table|
|
||||
|
|
|
@ -30,7 +30,7 @@ EOF
|
|||
end
|
||||
|
||||
def command(regex)
|
||||
regex = /#{regex}/ unless regex.is_a?(Regexp)
|
||||
regex = /^#{regex}$/ unless regex.is_a?(Regexp)
|
||||
list = admin.list.grep(regex)
|
||||
count = list.size
|
||||
list.each do |table|
|
||||
|
|
|
@ -30,7 +30,7 @@ EOF
|
|||
end
|
||||
|
||||
def command(regex)
|
||||
regex = /#{regex}/ unless regex.is_a?(Regexp)
|
||||
regex = /^#{regex}$/ unless regex.is_a?(Regexp)
|
||||
list = admin.list.grep(regex)
|
||||
count = list.size
|
||||
list.each do |table|
|
||||
|
|
Loading…
Reference in New Issue