summaryrefslogtreecommitdiff
path: root/sql-bench/test-select.sh
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-09-23 13:36:01 +0300
committerunknown <monty@narttu.mysql.fi>2003-09-23 13:36:01 +0300
commita86e11ef153433cf52886692c493e90784e10ee2 (patch)
tree367cc7ddc8eef505b0dd3d8bd8d196d7aa8a105f /sql-bench/test-select.sh
parentcfdd9890988ae75598874995a9960aa7641f9837 (diff)
downloadmariadb-git-a86e11ef153433cf52886692c493e90784e10ee2.tar.gz
Block SIGPIPE also for not threaded client programs.
Added --include and --libs_r options to mysql_config. Added mysql_get_client_version() to client library Fixed some minor benchmark issues acinclude.m4: Fixed that 'no' is printed if openssl not used configure.in: Fixed error message extra/comp_err.c: Skip lines before first { include/mysql.h: Indentation cleanup libmysql/libmysql.c: Block SIGPIPE also for not threaded programs. This is now done once in mysql_server_init() and not for every call to mysql_init(). Added mysql_get_client_version() libmysql/libmysql.def: added mysql_get_client_version scripts/Makefile.am: Add openssl libraries to mysql_config scripts/mysql_config.sh: Added options --include and --libs_r Added C compiler options to 'cflags' scripts/mysql_install_db.sh: Fixed tests with IN_RPM to not give warnings sql-bench/bench-init.pl.sh: Updated version number sql-bench/server-cfg.sh: Remove duplicate line sql-bench/test-alter-table.sh: Increase loops for more relevant test sql-bench/test-select.sh: Fix wrong test for count_distinct_2 tests/mail_to_db.pl: Default db and table for easier usage
Diffstat (limited to 'sql-bench/test-select.sh')
-rw-r--r--sql-bench/test-select.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql-bench/test-select.sh b/sql-bench/test-select.sh
index a5de042cab1..8981fa49cff 100644
--- a/sql-bench/test-select.sh
+++ b/sql-bench/test-select.sh
@@ -356,7 +356,8 @@ if ($limits->{'group_distinct_functions'})
timestr(timediff($end_time, $loop_time),"all") . "\n";
# Workaround mimer's behavior
- if (limits->{'multi_distinct'} == 1 ) {
+ if ($limits->{'multi_distinct'})
+ {
$loop_time=new Benchmark;
$rows=$estimated=$count=0;
for ($i=0 ; $i < $opt_medium_loop_count ; $i++)
@@ -370,7 +371,7 @@ if ($limits->{'group_distinct_functions'})
print_time($estimated);
print " for count_distinct_2 ($count:$rows): " .
timestr(timediff($end_time, $loop_time),"all") . "\n";
- }
+ }
$loop_time=new Benchmark;
$rows=$estimated=$count=0;