-
Notifications
You must be signed in to change notification settings - Fork 2
/
mysql-5.1.34.patch
42 lines (37 loc) · 1.5 KB
/
mysql-5.1.34.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -urB mysql-5.1.34/sql-bench/test-ATIS mysql-5.1.34-mods/sql-bench/test-ATIS
--- mysql-5.1.34/sql-bench/test-ATIS 2009-05-08 11:55:05.000000000 +0200
+++ mysql-5.1.34-mods/sql-bench/test-ATIS 2009-05-08 12:03:36.000000000 +0200
@@ -40,6 +40,8 @@
print "ATIS table test\n\n";
+=for this test is disabled
+
####
#### Connect and start timeing
####
@@ -564,3 +566,5 @@
# Alias used in joins
@extra_names=("airport as from_airport","airport as to_airport");
}
+
+=cut
diff -urB mysql-5.1.34/sql-bench/test-create mysql-5.1.34-mods/sql-bench/test-create
--- mysql-5.1.34/sql-bench/test-create 2009-05-06 16:09:43.000000000 +0200
+++ mysql-5.1.34-mods/sql-bench/test-create 2009-05-08 11:38:47.000000000 +0200
@@ -34,7 +34,7 @@
use DBI;
use Benchmark;
-$opt_loop_count=10000; # Change this to make test harder/easier
+$opt_loop_count=1000; # Change this to make test harder/easier
# This is the default value for the amount of tables used in this test.
$pwd = cwd(); $pwd = "." if ($pwd eq '');
diff -urB mysql-5.1.34/sql-bench/test-insert mysql-5.1.34-mods/sql-bench/test-insert
--- mysql-5.1.34/sql-bench/test-insert 2009-05-06 16:09:43.000000000 +0200
+++ mysql-5.1.34-mods/sql-bench/test-insert 2009-05-08 11:50:42.000000000 +0200
@@ -33,7 +33,7 @@
use Benchmark;
use Data::Dumper;
-$opt_loop_count=100000; # number of rows/3
+$opt_loop_count=10000; # number of rows/3
$small_loop_count=10; # Loop for full table retrieval
$range_loop_count=$small_loop_count*50;
$many_keys_loop_count=$opt_loop_count;