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
4ebf43b0
Commit
4ebf43b0
authored
Jul 31, 2007
by
kostja@bodhi.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes.
parent
4b0bf300
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/sql_base.cc
sql/sql_base.cc
+2
-2
No files found.
sql/sql_base.cc
View file @
4ebf43b0
...
@@ -1701,18 +1701,18 @@ TABLE *find_temporary_table(THD *thd, TABLE_LIST *table_list)
...
@@ -1701,18 +1701,18 @@ TABLE *find_temporary_table(THD *thd, TABLE_LIST *table_list)
@retval FALSE the table was found and dropped successfully.
@retval FALSE the table was found and dropped successfully.
*/
*/
bool
close_temporary_table
(
THD
*
thd
,
const
char
*
db
,
const
char
*
table_name
)
bool
close_temporary_table
(
THD
*
thd
,
TABLE_LIST
*
table_list
)
{
{
TABLE
*
table
;
TABLE
*
table
;
if
(
!
(
table
=
find_temporary_table
(
thd
,
table_list
)))
if
(
!
(
table
=
find_temporary_table
(
thd
,
table_list
)))
return
1
;
return
1
;
close_temporary_table
(
thd
,
table
,
1
,
1
);
/*
/*
If LOCK TABLES list is not empty and contains this table,
If LOCK TABLES list is not empty and contains this table,
unlock the table and remove the table from this list.
unlock the table and remove the table from this list.
*/
*/
mysql_lock_remove
(
thd
,
thd
->
locked_tables
,
table
,
FALSE
);
mysql_lock_remove
(
thd
,
thd
->
locked_tables
,
table
,
FALSE
);
close_temporary_table
(
thd
,
table
,
1
,
1
);
return
0
;
return
0
;
}
}
...
...
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