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
7d7b92c1
Commit
7d7b92c1
authored
Sep 24, 2016
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable encryption info and first page read info for every tablespace
on product builds.
parent
5d001d13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
storage/innobase/fil/fil0fil.cc
storage/innobase/fil/fil0fil.cc
+6
-2
storage/xtradb/fil/fil0fil.cc
storage/xtradb/fil/fil0fil.cc
+6
-2
No files found.
storage/innobase/fil/fil0fil.cc
View file @
7d7b92c1
...
...
@@ -1251,12 +1251,14 @@ fil_space_create(
space
->
page_0_crypt_read
=
true
;
}
#ifdef UNIV_DEBUG
ib_logf
(
IB_LOG_LEVEL_INFO
,
"Created tablespace for space %lu name %s key_id %u encryption %d
\n
"
,
"Created tablespace for space %lu name %s key_id %u encryption %d
.
"
,
space
->
id
,
space
->
name
,
space
->
crypt_data
?
space
->
crypt_data
->
key_id
:
0
,
space
->
crypt_data
?
space
->
crypt_data
->
encryption
:
0
);
#endif
rw_lock_create
(
fil_space_latch_key
,
&
space
->
latch
,
SYNC_FSP
);
...
...
@@ -7267,13 +7269,15 @@ fil_space_get_crypt_data(
space
->
crypt_data
=
fil_space_read_crypt_data
(
space_id
,
page
,
offset
);
ut_free
(
buf
);
#ifdef UNIV_DEBUG
ib_logf
(
IB_LOG_LEVEL_INFO
,
"Read page 0 from tablespace for space %lu name %s key_id %u encryption %d handle %d
\n
"
,
"Read page 0 from tablespace for space %lu name %s key_id %u encryption %d handle %d
.
"
,
space_id
,
space
->
name
,
space
->
crypt_data
?
space
->
crypt_data
->
key_id
:
0
,
space
->
crypt_data
?
space
->
crypt_data
->
encryption
:
0
,
node
->
handle
);
#endif
ut_a
(
space
->
id
==
space_id
);
...
...
storage/xtradb/fil/fil0fil.cc
View file @
7d7b92c1
...
...
@@ -1296,12 +1296,14 @@ fil_space_create(
space
->
page_0_crypt_read
=
true
;
}
#ifdef UNIV_DEBUG
ib_logf
(
IB_LOG_LEVEL_INFO
,
"Created tablespace for space %lu name %s key_id %u encryption %d
\n
"
,
"Created tablespace for space %lu name %s key_id %u encryption %d
.
"
,
space
->
id
,
space
->
name
,
space
->
crypt_data
?
space
->
crypt_data
->
key_id
:
0
,
space
->
crypt_data
?
space
->
crypt_data
->
encryption
:
0
);
#endif
UT_LIST_ADD_LAST
(
space_list
,
fil_system
->
space_list
,
space
);
...
...
@@ -7365,13 +7367,15 @@ fil_space_get_crypt_data(
space
->
crypt_data
=
fil_space_read_crypt_data
(
space_id
,
page
,
offset
);
ut_free
(
buf
);
#ifdef UNIV_DEBUG
ib_logf
(
IB_LOG_LEVEL_INFO
,
"Read page 0 from tablespace for space %lu name %s key_id %u encryption %d handle %d
\n
"
,
"Read page 0 from tablespace for space %lu name %s key_id %u encryption %d handle %d
.
"
,
space_id
,
space
->
name
,
space
->
crypt_data
?
space
->
crypt_data
->
key_id
:
0
,
space
->
crypt_data
?
space
->
crypt_data
->
encryption
:
0
,
node
->
handle
);
#endif
ut_a
(
space
->
id
==
space_id
);
...
...
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