Below is the list of changes that have just been committed into a local
5.1 repository of kostja. When kostja 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-07-19 21:10:19+04:00, kostja@bodhi.(none) +1 -0
A follow-up fix for Bug#29431 "killing an insert delayed thread causes
crash" in 5.1
sql/sql_insert.cc@stripped, 2007-07-19 21:10:16+04:00, kostja@bodhi.(none) +2 -1
Additional safety fix: do not assume we already have a share in
get_local_table.
diff -Nrup a/sql/sql_insert.cc b/sql/sql_insert.cc
--- a/sql/sql_insert.cc 2007-07-19 20:27:32 +04:00
+++ b/sql/sql_insert.cc 2007-07-19 21:10:16 +04:00
@@ -1961,7 +1961,7 @@ TABLE *Delayed_insert::get_local_table(T
my_ptrdiff_t adjust_ptrs;
Field **field,**org_field, *found_next_number_field;
TABLE *copy;
- TABLE_SHARE *share= table->s;
+ TABLE_SHARE *share;
uchar *bitmap;
DBUG_ENTER("Delayed_insert::get_local_table");
@@ -1985,6 +1985,7 @@ TABLE *Delayed_insert::get_local_table(T
goto error;
}
}
+ share= table->s;
/*
Allocate memory for the TABLE object, the field pointers array, and
Thread |
---|
• bk commit into 5.1 tree (kostja:1.2559) BUG#29431 | konstantin | 19 Jul |