From 9c8c572fd327385b6c3801fbd8d1a9419484b0f4 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 6 Feb 2012 21:36:56 +0100 Subject: per-file combinations --- mysql-test/lib/mtr_misc.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mysql-test/lib/mtr_misc.pl') 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 -- cgit v1.2.1