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
43382b1a
Commit
43382b1a
authored
Apr 10, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Rename INFORMATION_SCHEMA.INNODB_BUDDY to INNODB_ZIP.
parent
35db9631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
handler/ha_innodb.cc
handler/ha_innodb.cc
+15
-15
No files found.
handler/ha_innodb.cc
View file @
43382b1a
...
...
@@ -8766,7 +8766,7 @@ bool ha_innobase::check_if_incompatible_data(
Fill the dynamic table information_schema.innodb_buddy. */
static
int
innobase_
is_buddy
_fill
(
innobase_
stat_zip
_fill
(
/*===================*/
/* out: 0 on success, 1 on failure */
THD
*
thd
,
/* in: thread */
...
...
@@ -8777,7 +8777,7 @@ innobase_is_buddy_fill(
int
status
=
0
;
uint
y
=
0
;
DBUG_ENTER
(
"innobase_
is_buddy
_fill"
);
DBUG_ENTER
(
"innobase_
stat_zip
_fill"
);
/* Determine log2(PAGE_ZIP_MIN_SIZE / 2 / BUF_BUDDY_LOW). */
for
(
uint
r
=
PAGE_ZIP_MIN_SIZE
/
2
/
BUF_BUDDY_LOW
;
r
>>=
1
;
y
++
);
...
...
@@ -8810,7 +8810,7 @@ innobase_is_buddy_fill(
}
/* Fields of the dynamic table information_schema.innodb_buddy. */
static
ST_FIELD_INFO
innobase_
is_buddy
_fields
[]
=
static
ST_FIELD_INFO
innobase_
stat_zip
_fields
[]
=
{
{
"SIZE"
,
5
,
MYSQL_TYPE_LONG
,
0
,
0
,
"Block Size"
},
{
"RELOCATED"
,
21
,
MYSQL_TYPE_LONG
,
0
,
0
,
"Total Number of Relocations"
},
...
...
@@ -8828,16 +8828,16 @@ static ST_FIELD_INFO innobase_is_buddy_fields[] =
Bind the dynamic table information_schema.innodb_buddy. */
static
int
innobase_
is_buddy
_init
(
innobase_
stat_zip
_init
(
/*===================*/
/* out: 0 on success */
void
*
p
)
/* in/out: table schema object */
{
DBUG_ENTER
(
"innobase_
is_buddy
_init"
);
DBUG_ENTER
(
"innobase_
stat_zip
_init"
);
ST_SCHEMA_TABLE
*
schema
=
(
ST_SCHEMA_TABLE
*
)
p
;
schema
->
fields_info
=
innobase_
is_buddy
_fields
;
schema
->
fill_table
=
innobase_
is_buddy
_fill
;
schema
->
fields_info
=
innobase_
stat_zip
_fields
;
schema
->
fill_table
=
innobase_
stat_zip
_fill
;
DBUG_RETURN
(
0
);
}
...
...
@@ -8846,12 +8846,12 @@ innobase_is_buddy_init(
Unbind the dynamic table information_schema.innodb_buddy. */
static
int
innobase_
is_buddy
_deinit
(
innobase_
stat_zip
_deinit
(
/*=====================*/
/* out: 0 on success */
void
*
p
)
/* in/out: table schema object */
{
DBUG_ENTER
(
"innobase_
is_buddy
_deinit"
);
DBUG_ENTER
(
"innobase_
stat_zip
_deinit"
);
DBUG_RETURN
(
0
);
}
...
...
@@ -8871,7 +8871,7 @@ static SHOW_VAR innodb_status_variables_export[]= {
static
struct
st_mysql_storage_engine
innobase_storage_engine
=
{
MYSQL_HANDLERTON_INTERFACE_VERSION
};
static
struct
st_mysql_information_schema
innobase_
is_buddy
=
static
struct
st_mysql_information_schema
innobase_
stat_zip
=
{
MYSQL_INFORMATION_SCHEMA_INTERFACE_VERSION
};
mysql_declare_plugin
(
innobase
)
...
...
@@ -8891,13 +8891,13 @@ mysql_declare_plugin(innobase)
},
{
MYSQL_INFORMATION_SCHEMA_PLUGIN
,
&
innobase_
is_buddy
,
"INNODB_
BUDDY
"
,
&
innobase_
stat_zip
,
"INNODB_
ZIP
"
,
"Innobase Oy"
,
"Statistics for the InnoDB
buddy allocator
"
,
"Statistics for the InnoDB
compressed buffer pool
"
,
PLUGIN_LICENSE_GPL
,
innobase_
is_buddy
_init
,
innobase_
is_buddy
_deinit
,
innobase_
stat_zip
_init
,
innobase_
stat_zip
_deinit
,
0x0100
/* 1.0 */
,
NULL
,
NULL
,
NULL
}
...
...
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