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
7c240a1b
Commit
7c240a1b
authored
Jan 04, 2015
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into releases/tokudb-7.5
parents
5ed812ec
9cd31bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+6
-7
No files found.
storage/tokudb/hatoku_hton.cc
View file @
7c240a1b
...
...
@@ -1614,12 +1614,12 @@ static ST_FIELD_INFO tokudb_fractal_tree_info_field_info[] = {
static
int
tokudb_report_fractal_tree_info_for_db
(
const
DBT
*
dname
,
const
DBT
*
iname
,
TABLE
*
table
,
THD
*
thd
)
{
int
error
;
DB
*
db
;
uint64_t
bt_num_blocks_allocated
;
uint64_t
bt_num_blocks_in_use
;
uint64_t
bt_size_allocated
;
uint64_t
bt_size_in_use
;
DB
*
db
=
NULL
;
error
=
db_create
(
&
db
,
db_env
,
0
);
if
(
error
)
{
goto
exit
;
...
...
@@ -1631,12 +1631,6 @@ static int tokudb_report_fractal_tree_info_for_db(const DBT *dname, const DBT *i
error
=
db
->
get_fractal_tree_info64
(
db
,
&
bt_num_blocks_allocated
,
&
bt_num_blocks_in_use
,
&
bt_size_allocated
,
&
bt_size_in_use
);
{
int
close_error
=
db
->
close
(
db
,
0
);
if
(
!
error
)
{
error
=
close_error
;
}
}
if
(
error
)
{
goto
exit
;
}
...
...
@@ -1668,6 +1662,11 @@ static int tokudb_report_fractal_tree_info_for_db(const DBT *dname, const DBT *i
error
=
schema_table_store_record
(
thd
,
table
);
exit:
if
(
db
)
{
int
close_error
=
db
->
close
(
db
,
0
);
if
(
error
==
0
)
error
=
close_error
;
}
return
error
;
}
...
...
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