Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas 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.2191 06/02/28 12:40:19 tomas@stripped +2 -0
Merge tulin@stripped:/home/bk/mysql-5.1-new
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
sql/sql_table.cc
1.312 06/02/28 12:40:10 tomas@stripped +0 -0
Auto merged
sql/ha_ndbcluster_binlog.cc
1.28 06/02/28 12:40:10 tomas@stripped +0 -0
Auto merged
# 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: tomas
# Host: poseidon.ndb.mysql.com
# Root: /home/tomas/mysql-5.1-new/RESYNC
--- 1.311/sql/sql_table.cc 2006-02-27 16:58:33 +01:00
+++ 1.312/sql/sql_table.cc 2006-02-28 12:40:10 +01:00
@@ -5200,6 +5200,8 @@
*/
to->file->ha_set_all_bits_in_write_set();
from->file->ha_retrieve_all_cols();
+ if (from->part_info)
+ bitmap_set_all(&(from->part_info->used_partitions));
init_read_record(&info, thd, from, (SQL_SELECT *) 0, 1,1);
if (ignore ||
handle_duplicates == DUP_REPLACE)
--- 1.27/sql/ha_ndbcluster_binlog.cc 2006-02-27 17:23:15 +01:00
+++ 1.28/sql/ha_ndbcluster_binlog.cc 2006-02-28 12:40:10 +01:00
@@ -284,11 +284,11 @@
it may be in use by the injector thread
*/
share->ndb_value[0]= (NdbValue*)
- alloc_root(mem_root, sizeof(NdbValue) * table->s->fields
- + 1 /*extra for hidden key*/);
+ alloc_root(mem_root, sizeof(NdbValue) *
+ (table->s->fields + 2 /*extra for hidden key and part key*/));
share->ndb_value[1]= (NdbValue*)
- alloc_root(mem_root, sizeof(NdbValue) * table->s->fields
- +1 /*extra for hidden key*/);
+ alloc_root(mem_root, sizeof(NdbValue) *
+ (table->s->fields + 2 /*extra for hidden key and part key*/));
DBUG_RETURN(0);
}
| Thread |
|---|
| • bk commit into 5.1 tree (tomas:1.2191) | tomas | 28 Feb |