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
4a3fe2b6
Commit
4a3fe2b6
authored
Jan 10, 2007
by
gluh@mysql.com/eagle.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fix
parent
9da22c73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sql/sql_base.cc
sql/sql_base.cc
+2
-1
No files found.
sql/sql_base.cc
View file @
4a3fe2b6
...
@@ -5167,6 +5167,7 @@ my_bool mysql_rm_tmp_tables(void)
...
@@ -5167,6 +5167,7 @@ my_bool mysql_rm_tmp_tables(void)
if
(
!
(
thd
=
new
THD
))
if
(
!
(
thd
=
new
THD
))
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
thd
->
thread_stack
=
(
char
*
)
&
thd
;
thd
->
store_globals
();
thd
->
store_globals
();
for
(
i
=
0
;
i
<=
mysql_tmpdir_list
.
max
;
i
++
)
for
(
i
=
0
;
i
<=
mysql_tmpdir_list
.
max
;
i
++
)
...
@@ -5196,7 +5197,7 @@ my_bool mysql_rm_tmp_tables(void)
...
@@ -5196,7 +5197,7 @@ my_bool mysql_rm_tmp_tables(void)
if
(
!
bcmp
(
reg_ext
,
ext
,
ext_len
))
if
(
!
bcmp
(
reg_ext
,
ext
,
ext_len
))
{
{
TABLE
tmp_table
;
TABLE
tmp_table
;
if
(
!
openfrm
(
filePath
,
"tmp_table"
,
(
uint
)
0
,
if
(
!
openfrm
(
thd
,
filePath
,
"tmp_table"
,
(
uint
)
0
,
READ_KEYINFO
|
COMPUTE_TYPES
|
EXTRA_RECORD
,
READ_KEYINFO
|
COMPUTE_TYPES
|
EXTRA_RECORD
,
0
,
&
tmp_table
))
0
,
&
tmp_table
))
{
{
...
...
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