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
a07e29a0
Commit
a07e29a0
authored
May 29, 2018
by
Eugene Kosov
Committed by
Sergey Vojtovich
Mar 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup TABLE_SHARE
parent
53216091
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
sql/sql_show.cc
sql/sql_show.cc
+1
-5
sql/table.h
sql/table.h
+0
-9
No files found.
sql/sql_show.cc
View file @
a07e29a0
...
...
@@ -7288,11 +7288,7 @@ static void store_schema_partitions_record(THD *thd, TABLE *schema_table,
strlen
(
part_elem
->
tablespace_name
),
cs
);
else
{
char
*
ts
=
showing_table
->
s
->
tablespace
;
if
(
ts
)
table
->
field
[
24
]
->
store
(
ts
,
strlen
(
ts
),
cs
);
else
table
->
field
[
24
]
->
set_null
();
table
->
field
[
24
]
->
set_null
();
}
}
return
;
...
...
sql/table.h
View file @
a07e29a0
...
...
@@ -745,9 +745,6 @@ struct TABLE_SHARE
/* For sequence tables, the current sequence state */
SEQUENCE
*
sequence
;
/* Name of the tablespace used for this table */
char
*
tablespace
;
#ifdef WITH_PARTITION_STORAGE_ENGINE
/* filled in when reading from frm */
bool
auto_partitioned
;
...
...
@@ -847,12 +844,6 @@ struct TABLE_SHARE
set_table_cache_key
(
key_buff
,
key_length
);
}
inline
bool
honor_global_locks
()
{
return
((
table_category
==
TABLE_CATEGORY_USER
)
||
(
table_category
==
TABLE_CATEGORY_SYSTEM
));
}
inline
bool
require_write_privileges
()
{
return
(
table_category
==
TABLE_CATEGORY_LOG
);
...
...
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