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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
25c32c89
Commit
25c32c89
authored
8 years ago
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial cleanup
parent
8eb66bc3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
sql/sql_show.cc
sql/sql_show.cc
+2
-5
No files found.
sql/sql_show.cc
View file @
25c32c89
...
...
@@ -4430,15 +4430,13 @@ try_acquire_high_prio_shared_mdl_lock(THD *thd, TABLE_LIST *table,
open_tables function for this table
*/
static
int
fill_schema_table_from_frm
(
THD
*
thd
,
TABLE
_LIST
*
tables
,
static
int
fill_schema_table_from_frm
(
THD
*
thd
,
TABLE
*
table
,
ST_SCHEMA_TABLE
*
schema_table
,
LEX_STRING
*
db_name
,
LEX_STRING
*
table_name
,
enum
enum_schema_tables
schema_table_idx
,
Open_tables_backup
*
open_tables_state_backup
,
bool
can_deadlock
)
{
TABLE
*
table
=
tables
->
table
;
TABLE_SHARE
*
share
;
TABLE
tbl
;
TABLE_LIST
table_list
;
...
...
@@ -4796,9 +4794,8 @@ int get_all_tables(THD *thd, TABLE_LIST *tables, COND *cond)
if
(
!
(
table_open_method
&
~
OPEN_FRM_ONLY
)
&&
db_name
!=
&
INFORMATION_SCHEMA_NAME
)
{
if
(
!
fill_schema_table_from_frm
(
thd
,
table
s
,
schema_table
,
if
(
!
fill_schema_table_from_frm
(
thd
,
table
,
schema_table
,
db_name
,
table_name
,
schema_table_idx
,
&
open_tables_state_backup
,
can_deadlock
))
continue
;
...
...
This diff is collapsed.
Click to expand it.
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