Below is the list of changes that have just been committed into a local
4.1 repository of istruewing. When istruewing 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, 2006-09-20 08:33:46+02:00, istruewing@stripped +4 -0
Merge bk-internal.mysql.com:/home/bk/mysql-4.1-engines
into chilla.local:/home/mydev/mysql-4.1-bug14400-monty
MERGE: 1.2546.1.1
BitKeeper/etc/ignore@stripped, 2006-09-20 08:33:29+02:00, istruewing@stripped +1 -1
auto-union
MERGE: 1.235.1.1
mysql-test/r/myisam.result@stripped, 2006-09-20 08:33:36+02:00, istruewing@stripped +0 -0
Auto merged
MERGE: 1.62.1.2
mysql-test/t/myisam.test@stripped, 2006-09-20 08:33:36+02:00, istruewing@stripped +0 -0
Auto merged
MERGE: 1.48.1.2
sql/sql_select.cc@stripped, 2006-09-20 08:33:37+02:00, istruewing@stripped +0 -0
Auto merged
MERGE: 1.453.1.1
# 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: istruewing
# Host: chilla.local
# Root: /home/mydev/mysql-4.1-bug14400-monty/RESYNC
--- 1.457/sql/sql_select.cc 2006-09-20 08:33:58 +02:00
+++ 1.458/sql/sql_select.cc 2006-09-20 08:33:58 +02:00
@@ -9103,6 +9103,8 @@ setup_copy_fields(THD *thd, TMP_TABLE_PA
param->copy_funcs.empty();
for (i= 0; (pos= li++); i++)
{
+ Field *field;
+ char *tmp;
if (pos->type() == Item::FIELD_ITEM)
{
Item_field *item;
@@ -9131,14 +9133,22 @@ setup_copy_fields(THD *thd, TMP_TABLE_PA
set up save buffer and change result_field to point at
saved value
*/
- Field *field= item->field;
+ field= item->field;
item->result_field=field->new_field(thd->mem_root,field->table);
- char *tmp=(char*) sql_alloc(field->pack_length()+1);
+ /*
+ We need to allocate one extra byte for null handling and
+ another extra byte to not get warnings from purify in
+ Field_string::val_int
+ */
+ tmp= (char*) sql_alloc(field->pack_length()+2);
if (!tmp)
goto err;
copy->set(tmp, item->result_field);
item->result_field->move_field(copy->to_ptr,copy->to_null_ptr,1);
- copy++;
+#ifdef HAVE_purify
+ copy->to_ptr[copy->from_length]= 0;
+#endif
+ copy++;
}
}
else if ((pos->type() == Item::FUNC_ITEM ||
--- 1.236/BitKeeper/etc/ignore 2006-09-20 08:33:58 +02:00
+++ 1.237/BitKeeper/etc/ignore 2006-09-20 08:33:58 +02:00
@@ -1,3 +1,5 @@
+*.Plo
+*.Po
*.a
*.bb
*.bbg
@@ -11,6 +13,8 @@
*.reject
*.spec
*/*_pure_*warnings
+*/.deps
+*/.libs/*
*/.pure
*~
.*.swp
@@ -336,6 +340,7 @@ isam/test2
isam/test3
libmysql/*.c
libmysql/conf_to_src
+libmysql/libmysql.ver
libmysql/my_static.h
libmysql/my_time.c
libmysql/mysys_priv.h
@@ -443,6 +448,7 @@ libmysqld/sql_insert.cc
libmysqld/sql_lex.cc
libmysqld/sql_list.cc
libmysqld/sql_load.cc
+libmysqld/sql_locale.cc
libmysqld/sql_manager.cc
libmysqld/sql_map.cc
libmysqld/sql_olap.cc
@@ -519,6 +525,7 @@ mysql-4.1.8-win-src.zip
mysql-max-4.0.2-alpha-pc-linux-gnu-i686.tar.gz
mysql-test/gmon.out
mysql-test/install_test_db
+mysql-test/mtr
mysql-test/mysql-test-run
mysql-test/mysql-test-run.log
mysql-test/mysql_test_run_new
@@ -1057,6 +1064,3 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslserver
vio/viotest-ssl
-libmysql/libmysql.ver
-libmysqld/sql_locale.cc
-mysql-test/mtr
| Thread |
|---|
| • bk commit into 4.1 tree (istruewing:1.2548) | ingo | 20 Sep |