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
9ce830d6
Commit
9ce830d6
authored
Sep 25, 2014
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.1' of github.com:MariaDB/server into 10.1
parents
e74bf079
3f2d9a90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
mysql-test/r/temp_table_frm.result
mysql-test/r/temp_table_frm.result
+1
-0
mysql-test/t/temp_table_frm.test
mysql-test/t/temp_table_frm.test
+3
-0
No files found.
mysql-test/r/temp_table_frm.result
View file @
9ce830d6
set @@session.max_heap_table_size=16*1024*1024;
create table t1 select * from information_schema.session_status where variable_name like 'Opened%';
create table t1 select * from information_schema.session_status where variable_name like 'Opened%';
create temporary table t2 (a int) engine=memory;
create temporary table t2 (a int) engine=memory;
select variable_name, session_status.variable_value - t1.variable_value
select variable_name, session_status.variable_value - t1.variable_value
...
...
mysql-test/t/temp_table_frm.test
View file @
9ce830d6
#
#
# MDEV-4260 Don't create frm files for temporary tables
# MDEV-4260 Don't create frm files for temporary tables
#
#
# Ensure we don't overflow the internal heap table size in the join
set
@@
session
.
max_heap_table_size
=
16
*
1024
*
1024
;
create
table
t1
select
*
from
information_schema
.
session_status
where
variable_name
like
'Opened%'
;
create
table
t1
select
*
from
information_schema
.
session_status
where
variable_name
like
'Opened%'
;
create
temporary
table
t2
(
a
int
)
engine
=
memory
;
create
temporary
table
t2
(
a
int
)
engine
=
memory
;
select
variable_name
,
session_status
.
variable_value
-
t1
.
variable_value
select
variable_name
,
session_status
.
variable_value
-
t1
.
variable_value
...
...
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