Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1bc0b0b5
Commit
1bc0b0b5
authored
Apr 19, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a couple of dbug tests not to write to /tmp
parent
cc04a9fc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
10 deletions
+8
-10
mysql-test/r/mdev6830.result
mysql-test/r/mdev6830.result
+1
-2
mysql-test/r/select_debug.result
mysql-test/r/select_debug.result
+1
-1
mysql-test/t/mdev6830-master.opt
mysql-test/t/mdev6830-master.opt
+0
-1
mysql-test/t/mdev6830.test
mysql-test/t/mdev6830.test
+5
-5
mysql-test/t/select_debug.test
mysql-test/t/select_debug.test
+1
-1
No files found.
mysql-test/r/mdev6830.result
View file @
1bc0b0b5
drop table if exists t1,t2,t3;
set @@debug_dbug= 'd,opt';
drop view if exists v2,v3;
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
CREATE TABLE t1 (pk INT PRIMARY KEY) ENGINE=MyISAM;
CREATE TABLE t2 (
CREATE TABLE t2 (
f1 DATE,
f1 DATE,
...
...
mysql-test/r/select_debug.result
View file @
1bc0b0b5
...
@@ -6,7 +6,7 @@ insert into t1 values (2,2), (1,1);
...
@@ -6,7 +6,7 @@ insert into t1 values (2,2), (1,1);
create table t2 (a int);
create table t2 (a int);
insert into t2 values (2), (3);
insert into t2 values (2), (3);
set session join_cache_level=3;
set session join_cache_level=3;
set @@debug_dbug= 'd
:t:O,/tmp/trace.ou
t';
set @@debug_dbug= 'd
,op
t';
explain select t1.b from t1,t2 where t1.b=t2.a;
explain select t1.b from t1,t2 where t1.b=t2.a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using where
1 SIMPLE t1 ALL NULL NULL NULL NULL 2 Using where
...
...
mysql-test/t/mdev6830-master.opt
deleted
100644 → 0
View file @
cc04a9fc
--debug
mysql-test/t/mdev6830.test
View file @
1bc0b0b5
#
# MDEV-6830 Server crashes in best_access_path after a sequence of SELECTs invollving a temptable view
#
--
source
include
/
have_debug
.
inc
--
source
include
/
have_debug
.
inc
--
disable_warnings
set
@@
debug_dbug
=
'd,opt'
;
drop
table
if
exists
t1
,
t2
,
t3
;
drop
view
if
exists
v2
,
v3
;
--
enable_warnings
CREATE
TABLE
t1
(
pk
INT
PRIMARY
KEY
)
ENGINE
=
MyISAM
;
CREATE
TABLE
t1
(
pk
INT
PRIMARY
KEY
)
ENGINE
=
MyISAM
;
CREATE
TABLE
t2
(
CREATE
TABLE
t2
(
...
...
mysql-test/t/select_debug.test
View file @
1bc0b0b5
...
@@ -10,7 +10,7 @@ create table t2 (a int);
...
@@ -10,7 +10,7 @@ create table t2 (a int);
insert
into
t2
values
(
2
),
(
3
);
insert
into
t2
values
(
2
),
(
3
);
set
session
join_cache_level
=
3
;
set
session
join_cache_level
=
3
;
set
@@
debug_dbug
=
'd
:t:O,/tmp/trace.ou
t'
;
set
@@
debug_dbug
=
'd
,op
t'
;
explain
select
t1
.
b
from
t1
,
t2
where
t1
.
b
=
t2
.
a
;
explain
select
t1
.
b
from
t1
,
t2
where
t1
.
b
=
t2
.
a
;
select
t1
.
b
from
t1
,
t2
where
t1
.
b
=
t2
.
a
;
select
t1
.
b
from
t1
,
t2
where
t1
.
b
=
t2
.
a
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment