summaryrefslogtreecommitdiff
path: root/mysql-test/r/range.result
diff options
context:
space:
mode:
authorunknown <monty@mishka.local>2005-04-16 10:53:30 +0300
committerunknown <monty@mishka.local>2005-04-16 10:53:30 +0300
commit48faa137af3d610228041d221363a3e574c137f8 (patch)
treea671e7e830d1281e3ff4bd54043017e0c63e298b /mysql-test/r/range.result
parent2be63528bc0f7d524df4660cea4fcc002604c42e (diff)
downloadmariadb-git-48faa137af3d610228041d221363a3e574c137f8.tar.gz
Added more rows to test to get predictable results
mysql-test/t/range.test: Added more rows to test to get predictable results (if it still fails, we need to add even more rows) scripts/make_binary_distribution.sh: Apply Jims patch for mysql.server support-files/mysql.server.sh: Apply Jims patch to support mysqld_safe
Diffstat (limited to 'mysql-test/r/range.result')
-rw-r--r--mysql-test/r/range.result6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/range.result b/mysql-test/r/range.result
index d98ed90e158..049d6c0fd44 100644
--- a/mysql-test/r/range.result
+++ b/mysql-test/r/range.result
@@ -250,18 +250,18 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index x x 5 NULL 9 Using where; Using index
drop table t1;
CREATE TABLE t1 (key1 int(11) NOT NULL default '0', KEY i1 (key1));
-INSERT INTO t1 VALUES (0),(1),(1);
+INSERT INTO t1 VALUES (0),(0),(0),(0),(0),(1),(1);
CREATE TABLE t2 (keya int(11) NOT NULL default '0', KEY j1 (keya));
INSERT INTO t2 VALUES (0),(0),(1),(1),(2),(2);
explain select * from t1, t2 where (t1.key1 <t2.keya + 1) and t2.keya=3;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ref j1 j1 4 const 1 Using index
-1 SIMPLE t1 index i1 i1 4 NULL 3 Using where; Using index
+1 SIMPLE t1 range i1 i1 4 NULL 7 Using where; Using index
explain select * from t1 force index(i1), t2 force index(j1) where
(t1.key1 <t2.keya + 1) and t2.keya=3;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ref j1 j1 4 const 1 Using index
-1 SIMPLE t1 index i1 i1 4 NULL 3 Using where; Using index
+1 SIMPLE t1 range i1 i1 4 NULL 7 Using where; Using index
DROP TABLE t1,t2;
CREATE TABLE t1 (
a int(11) default NULL,