Below is the list of changes that have just been committed into a local
5.1 repository of stewart. When stewart does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2220 06/06/20 00:30:19 stewart@stripped +1 -0
BUG#20073 information_schema.FILES for UNDO LOG give incorrect EXTENT_SIZE, FREE_EXTENTS,
sql/ha_ndbcluster.cc
1.329 06/06/20 00:30:10 stewart@stripped +3 -3
fix total extents display for FILES table.
fix extra field to also contain UNDO_BUFFER_SIZE
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: stewart
# Host: willster.(none)
# Root: /home/stewart/Documents/MySQL/5.1/bug20073
--- 1.328/sql/ha_ndbcluster.cc 2006-06-18 20:20:27 +10:00
+++ 1.329/sql/ha_ndbcluster.cc 2006-06-20 00:30:10 +10:00
@@ -10364,7 +10364,7 @@
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 @@
table->field[c++]->store("NORMAL", 6, system_charset_info);
- char extra[30];
- int len= my_snprintf(extra,sizeof(extra),"CLUSTER_NODE=%u",id);
+ char extra[100];
+ 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);
}
| Thread |
|---|
| • bk commit into 5.1 tree (stewart:1.2220) BUG#20073 | Stewart Smith | 19 Jun |