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
917203dd
Commit
917203dd
authored
Jun 20, 2006
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#20073 information_schema.FILES for UNDO LOG give incorrect EXTENT_SIZE, FREE_EXTENTS,
parent
c0850425
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+3
-3
No files found.
sql/ha_ndbcluster.cc
View file @
917203dd
...
...
@@ -10364,7 +10364,7 @@ static int ndbcluster_fill_files_table(THD *thd, TABLE_LIST *tables,
table
->
field
[
c
++
]
->
set_null
();
// DELETED_ROWS
table
->
field
[
c
++
]
->
set_null
();
// UPDATE_COUNT
table
->
field
[
c
++
]
->
store
(
lfg
.
getUndoFreeWords
());
// FREE_EXTENTS
table
->
field
[
c
++
]
->
store
(
lfg
.
getUndoBufferSize
()
);
// TOTAL_EXTENTS
table
->
field
[
c
++
]
->
store
(
uf
.
getSize
()
/
4
);
// TOTAL_EXTENTS
table
->
field
[
c
++
]
->
store
(
4
);
// EXTENT_SIZE
table
->
field
[
c
++
]
->
store
(
uf
.
getSize
());
// INITIAL_SIZE
...
...
@@ -10394,8 +10394,8 @@ static int ndbcluster_fill_files_table(THD *thd, TABLE_LIST *tables,
table
->
field
[
c
++
]
->
store
(
"NORMAL"
,
6
,
system_charset_info
);
char
extra
[
3
0
];
int
len
=
my_snprintf
(
extra
,
sizeof
(
extra
),
"CLUSTER_NODE=%u
"
,
id
);
char
extra
[
10
0
];
int
len
=
my_snprintf
(
extra
,
sizeof
(
extra
),
"CLUSTER_NODE=%u
;UNDO_BUFFER_SIZE=%lu"
,
id
,
lfg
.
getUndoBufferSize
()
);
table
->
field
[
c
]
->
store
(
extra
,
len
,
system_charset_info
);
schema_table_store_record
(
thd
,
table
);
}
...
...
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