From 484b80d028acc3e78f57bcd8d505c53bc634b95d Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 6 Dec 2013 11:13:41 +0100 Subject: [PATCH] Bug 11124: QA Follow-up resolving a warning and three typos Resolves warning on uninitialized author in split on line 128. Just adds the same behavior for title on line 129 for completeness. Fixes typo on occurrences and two other minor typos. Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall Signed-off-by: Galen Charlton (cherry picked from commit 1219b3153ee3501d61f22a767b7b3e68c7c8933e) Signed-off-by: Fridolin SOMERS --- misc/load_testing/benchmark_staff.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/load_testing/benchmark_staff.pl b/misc/load_testing/benchmark_staff.pl index 6ccaa4926d..56085c82b7 100644 --- a/misc/load_testing/benchmark_staff.pl +++ b/misc/load_testing/benchmark_staff.pl @@ -42,10 +42,10 @@ my $short_psec="|-\n|ON\n"; if ($help || !$baseurl || !$user || !$password) { print <execute; my ($title,$author); my @searchwords; while (($title,$author)=$sth->fetchrow) { - push @searchwords,split / /, $author; - push @searchwords,split / /, $title; + push @searchwords,split / /, $author//''; + push @searchwords,split / /, $title//''; } $sth = $dbh->prepare("select max(itemnumber) from items"); @@ -139,7 +139,7 @@ unless ($short_print) { print "--------------\n"; print "Koha STAFF benchmarking utility\n"; print "--------------\n"; - print "Benchmarking with $max_tries occurences of each operation and $concurrency concurrent sessions \n"; + print "Benchmarking with $max_tries occurrences of each operation and $concurrency concurrent sessions \n"; } # # the global benchmark we do at the end... -- 2.39.5