diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-02-06 21:36:56 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-02-06 21:36:56 +0100 |
commit | 9c8c572fd327385b6c3801fbd8d1a9419484b0f4 (patch) | |
tree | 94abbbb8b599065dc825f1ae04a00d2890000b51 /mysql-test/lib/mtr_misc.pl | |
parent | e06c1c70e592f9b9aa476fe5bddafed1b22f9d36 (diff) | |
download | mariadb-git-9c8c572fd327385b6c3801fbd8d1a9419484b0f4.tar.gz |
per-file combinations
Diffstat (limited to 'mysql-test/lib/mtr_misc.pl')
-rw-r--r-- | mysql-test/lib/mtr_misc.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_misc.pl b/mysql-test/lib/mtr_misc.pl index 0377047c4eb..98f2c27ebce 100644 --- a/mysql-test/lib/mtr_misc.pl +++ b/mysql-test/lib/mtr_misc.pl @@ -263,6 +263,11 @@ sub mtr_wait_lock_file { return ($waited); } +sub uniq(@) { + my %seen = map { $_ => $_ } @_; + values %seen; +} + # Simple functions to start and check timers (have to be actively polled) # Timer can be "killed" by setting it to 0 |