Below is the list of changes that have just been committed into a local
5.0 repository of osku. When osku 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.2002 05/09/23 14:31:31 osku@127.(none) +2 -0
InnoDB: Minor fixes.
sql/ha_innodb.cc
1.260 05/09/23 14:31:28 osku@127.(none) +6 -6
Change some memory allocations to fail-on-error.
Cast argument of my_free to gptr, not char*.
innobase/include/trx0trx.h
1.54 05/09/23 14:31:28 osku@127.(none) +1 -1
Fix invalid comment.
# 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: osku
# Host: 127.(none)
# Root: /home/osku/mysql/5.0/misc
--- 1.53/innobase/include/trx0trx.h 2005-08-12 11:29:56 +03:00
+++ 1.54/innobase/include/trx0trx.h 2005-09-23 14:31:28 +03:00
@@ -205,7 +205,7 @@
XID* xid_list, /* in/out: prepared transactions */
ulint len); /* in: number of slots in xid_list */
/***********************************************************************
-This function is used to commit one X/Open XA distributed transaction
+This function is used to find one X/Open XA distributed transaction
which is in the prepared state */
trx_t *
trx_get_trx_by_xid(
--- 1.259/sql/ha_innodb.cc 2005-09-23 11:20:23 +03:00
+++ 1.260/sql/ha_innodb.cc 2005-09-23 14:31:28 +03:00
@@ -1252,7 +1252,7 @@
copy of it: */
internal_innobase_data_file_path = my_strdup(innobase_data_file_path,
- MYF(MY_WME));
+ MYF(MY_FAE));
ret = (bool) srv_parse_data_file_paths_and_sizes(
internal_innobase_data_file_path,
@@ -2386,7 +2386,7 @@
"how you can resolve the problem.\n",
norm_name);
free_share(share);
- my_free((char*) upd_buff, MYF(0));
+ my_free((gptr) upd_buff, MYF(0));
my_errno = ENOENT;
DBUG_RETURN(HA_ERR_NO_SUCH_TABLE);
@@ -2404,7 +2404,7 @@
"how you can resolve the problem.\n",
norm_name);
free_share(share);
- my_free((char*) upd_buff, MYF(0));
+ my_free((gptr) upd_buff, MYF(0));
my_errno = ENOENT;
dict_table_decrement_handle_count(ib_table);
@@ -2498,7 +2498,7 @@
row_prebuilt_free((row_prebuilt_t*) innobase_prebuilt);
- my_free((char*) upd_buff, MYF(0));
+ my_free((gptr) upd_buff, MYF(0));
free_share(share);
/* Tell InnoDB server that there might be work for
@@ -5147,7 +5147,7 @@
mysql_byte* key_val_buff2 = (mysql_byte*) my_malloc(
table->s->reclength
+ table->s->max_key_length + 100,
- MYF(MY_WME));
+ MYF(MY_FAE));
ulint buff2_len = table->s->reclength
+ table->s->max_key_length + 100;
dtuple_t* range_start;
@@ -5206,7 +5206,7 @@
dtuple_free_for_mysql(heap1);
dtuple_free_for_mysql(heap2);
- my_free((char*) key_val_buff2, MYF(0));
+ my_free((gptr) key_val_buff2, MYF(0));
prebuilt->trx->op_info = (char*)"";
| Thread |
|---|
| • bk commit into 5.0 tree (osku:1.2002) | Osku Salerma | 23 Sep |