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@stripped, 2007-03-21 09:26:05+01:00, tomas@stripped +1 -0
Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-telco-gca
into whalegate.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
MERGE: 1.2403.16.3
sql/ha_ndbcluster.cc@stripped, 2007-03-21 09:26:02+01:00, tomas@stripped +0
-0
Auto merged
MERGE: 1.397.7.4
# 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: whalegate.ndb.mysql.com
# Root: /home/tomas/mysql-5.1-new-ndb/RESYNC
--- 1.417/sql/ha_ndbcluster.cc 2007-03-20 17:07:50 +01:00
+++ 1.418/sql/ha_ndbcluster.cc 2007-03-21 09:26:02 +01:00
@@ -1008,7 +1008,7 @@
DBUG_ASSERT(m_table == NULL);
DBUG_ASSERT(m_table_info == NULL);
- const void *data, *pack_data;
+ const void *data= NULL, *pack_data= NULL;
uint length, pack_length;
/*
@@ -4732,7 +4732,7 @@
NDBTAB tab;
NDBCOL col;
uint pack_length, length, i, pk_length= 0;
- const void *data, *pack_data;
+ const void *data= NULL, *pack_data= NULL;
bool create_from_engine= (create_info->table_options &
HA_OPTION_CREATE_FROM_ENGINE);
bool is_truncate= (thd->lex->sql_command == SQLCOM_TRUNCATE);
char tablespace[FN_LEN];
@@ -5065,7 +5065,7 @@
{
Ndb* ndb;
const NDBTAB *tab;
- const void *data, *pack_data;
+ const void *data= NULL, *pack_data= NULL;
uint length, pack_length;
int error= 0;
@@ -6108,7 +6108,7 @@
int error= 0;
NdbError ndb_error;
uint len;
- const void* data;
+ const void* data= NULL;
Ndb* ndb;
char key[FN_REFLEN];
DBUG_ENTER("ndbcluster_discover");
@@ -6187,6 +6187,7 @@
DBUG_RETURN(0);
err:
+ my_free((char*)data, MYF(MY_ALLOW_ZERO_PTR));
if (share)
{
/* ndb_share reference temporary free */
| Thread |
|---|
| • bk commit into 5.1 tree (tomas:1.2504) | tomas | 21 Mar |