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
cb80f4ea
Commit
cb80f4ea
authored
Nov 14, 2013
by
Rich Prohaska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#146 add debug trace to tokudb info schema tables
parent
7e153bc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
storage/tokudb/hatoku_hton.cc
storage/tokudb/hatoku_hton.cc
+12
-6
No files found.
storage/tokudb/hatoku_hton.cc
View file @
cb80f4ea
...
@@ -1390,6 +1390,7 @@ static int tokudb_file_map_fill_table(THD *thd, TABLE_LIST *tables, Item *cond)
...
@@ -1390,6 +1390,7 @@ static int tokudb_file_map_fill_table(THD *thd, TABLE_LIST *tables, Item *cond)
#else
#else
static
int
tokudb_file_map_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
static
int
tokudb_file_map_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
#endif
#endif
TOKUDB_DBUG_ENTER
(
"%s"
,
__FUNCTION__
);
int
error
;
int
error
;
TABLE
*
table
=
tables
->
table
;
TABLE
*
table
=
tables
->
table
;
...
@@ -1403,7 +1404,7 @@ static int tokudb_file_map_fill_table(THD *thd, TABLE_LIST *tables, COND *cond)
...
@@ -1403,7 +1404,7 @@ static int tokudb_file_map_fill_table(THD *thd, TABLE_LIST *tables, COND *cond)
}
}
rw_unlock
(
&
tokudb_hton_initialized_lock
);
rw_unlock
(
&
tokudb_hton_initialized_lock
);
return
error
;
TOKUDB_DBUG_RETURN
(
error
)
;
}
}
static
int
tokudb_file_map_init
(
void
*
p
)
{
static
int
tokudb_file_map_init
(
void
*
p
)
{
...
@@ -1534,6 +1535,7 @@ static int tokudb_fractal_tree_info_fill_table(THD *thd, TABLE_LIST *tables, Ite
...
@@ -1534,6 +1535,7 @@ static int tokudb_fractal_tree_info_fill_table(THD *thd, TABLE_LIST *tables, Ite
#else
#else
static
int
tokudb_fractal_tree_info_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
static
int
tokudb_fractal_tree_info_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
#endif
#endif
TOKUDB_DBUG_ENTER
(
"%s"
,
__FUNCTION__
);
int
error
;
int
error
;
TABLE
*
table
=
tables
->
table
;
TABLE
*
table
=
tables
->
table
;
...
@@ -1550,7 +1552,7 @@ static int tokudb_fractal_tree_info_fill_table(THD *thd, TABLE_LIST *tables, CON
...
@@ -1550,7 +1552,7 @@ static int tokudb_fractal_tree_info_fill_table(THD *thd, TABLE_LIST *tables, CON
//3938: unlock the status flag lock
//3938: unlock the status flag lock
rw_unlock
(
&
tokudb_hton_initialized_lock
);
rw_unlock
(
&
tokudb_hton_initialized_lock
);
return
error
;
TOKUDB_DBUG_RETURN
(
error
)
;
}
}
static
int
tokudb_fractal_tree_info_init
(
void
*
p
)
{
static
int
tokudb_fractal_tree_info_init
(
void
*
p
)
{
...
@@ -1745,6 +1747,7 @@ static int tokudb_fractal_tree_block_map_fill_table(THD *thd, TABLE_LIST *tables
...
@@ -1745,6 +1747,7 @@ static int tokudb_fractal_tree_block_map_fill_table(THD *thd, TABLE_LIST *tables
#else
#else
static
int
tokudb_fractal_tree_block_map_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
static
int
tokudb_fractal_tree_block_map_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
#endif
#endif
TOKUDB_DBUG_ENTER
(
"%s"
,
__FUNCTION__
);
int
error
;
int
error
;
TABLE
*
table
=
tables
->
table
;
TABLE
*
table
=
tables
->
table
;
...
@@ -1761,7 +1764,7 @@ static int tokudb_fractal_tree_block_map_fill_table(THD *thd, TABLE_LIST *tables
...
@@ -1761,7 +1764,7 @@ static int tokudb_fractal_tree_block_map_fill_table(THD *thd, TABLE_LIST *tables
//3938: unlock the status flag lock
//3938: unlock the status flag lock
rw_unlock
(
&
tokudb_hton_initialized_lock
);
rw_unlock
(
&
tokudb_hton_initialized_lock
);
return
error
;
TOKUDB_DBUG_RETURN
(
error
)
;
}
}
static
int
tokudb_fractal_tree_block_map_init
(
void
*
p
)
{
static
int
tokudb_fractal_tree_block_map_init
(
void
*
p
)
{
...
@@ -1890,6 +1893,7 @@ static int tokudb_trx_fill_table(THD *thd, TABLE_LIST *tables, Item *cond) {
...
@@ -1890,6 +1893,7 @@ static int tokudb_trx_fill_table(THD *thd, TABLE_LIST *tables, Item *cond) {
#else
#else
static
int
tokudb_trx_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
static
int
tokudb_trx_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
#endif
#endif
TOKUDB_DBUG_ENTER
(
"%s"
,
__FUNCTION__
);
int
error
;
int
error
;
rw_rdlock
(
&
tokudb_hton_initialized_lock
);
rw_rdlock
(
&
tokudb_hton_initialized_lock
);
...
@@ -1903,7 +1907,7 @@ static int tokudb_trx_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
...
@@ -1903,7 +1907,7 @@ static int tokudb_trx_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
}
}
rw_unlock
(
&
tokudb_hton_initialized_lock
);
rw_unlock
(
&
tokudb_hton_initialized_lock
);
return
error
;
TOKUDB_DBUG_RETURN
(
error
)
;
}
}
static
int
tokudb_trx_init
(
void
*
p
)
{
static
int
tokudb_trx_init
(
void
*
p
)
{
...
@@ -1960,6 +1964,7 @@ static int tokudb_lock_waits_fill_table(THD *thd, TABLE_LIST *tables, Item *cond
...
@@ -1960,6 +1964,7 @@ static int tokudb_lock_waits_fill_table(THD *thd, TABLE_LIST *tables, Item *cond
#else
#else
static
int
tokudb_lock_waits_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
static
int
tokudb_lock_waits_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
#endif
#endif
TOKUDB_DBUG_ENTER
(
"%s"
,
__FUNCTION__
);
int
error
;
int
error
;
rw_rdlock
(
&
tokudb_hton_initialized_lock
);
rw_rdlock
(
&
tokudb_hton_initialized_lock
);
...
@@ -1973,7 +1978,7 @@ static int tokudb_lock_waits_fill_table(THD *thd, TABLE_LIST *tables, COND *cond
...
@@ -1973,7 +1978,7 @@ static int tokudb_lock_waits_fill_table(THD *thd, TABLE_LIST *tables, COND *cond
}
}
rw_unlock
(
&
tokudb_hton_initialized_lock
);
rw_unlock
(
&
tokudb_hton_initialized_lock
);
return
error
;
TOKUDB_DBUG_RETURN
(
error
)
;
}
}
static
int
tokudb_lock_waits_init
(
void
*
p
)
{
static
int
tokudb_lock_waits_init
(
void
*
p
)
{
...
@@ -2036,6 +2041,7 @@ static int tokudb_locks_fill_table(THD *thd, TABLE_LIST *tables, Item *cond) {
...
@@ -2036,6 +2041,7 @@ static int tokudb_locks_fill_table(THD *thd, TABLE_LIST *tables, Item *cond) {
#else
#else
static
int
tokudb_locks_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
static
int
tokudb_locks_fill_table
(
THD
*
thd
,
TABLE_LIST
*
tables
,
COND
*
cond
)
{
#endif
#endif
TOKUDB_DBUG_ENTER
(
"%s"
,
__FUNCTION__
);
int
error
;
int
error
;
rw_rdlock
(
&
tokudb_hton_initialized_lock
);
rw_rdlock
(
&
tokudb_hton_initialized_lock
);
...
@@ -2049,7 +2055,7 @@ static int tokudb_locks_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
...
@@ -2049,7 +2055,7 @@ static int tokudb_locks_fill_table(THD *thd, TABLE_LIST *tables, COND *cond) {
}
}
rw_unlock
(
&
tokudb_hton_initialized_lock
);
rw_unlock
(
&
tokudb_hton_initialized_lock
);
return
error
;
TOKUDB_DBUG_RETURN
(
error
)
;
}
}
static
int
tokudb_locks_init
(
void
*
p
)
{
static
int
tokudb_locks_init
(
void
*
p
)
{
...
...
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