List:Commits« Previous MessageNext Message »
From:Georgi Kodinov Date:January 13 2011 9:11am
Subject:bzr push into mysql-5.1 branch (Georgi.Kodinov:3547 to 3548)
View as plain text  
 3548 Georgi Kodinov	2011-01-13 [merge]
      bumped up the version to 5.1.56

    modified:
      configure.in
 3547 Martin Hansson	2011-01-13
      Bug#58165: "my_empty_string" gets modified and causes LOAD DATA to fail and
      other crashes
      
      Some string manipulating SQL functions use a shared string object intended to
      contain an immutable empty string. This object was used by the SQL function
      SUBSTRING_INDEX() to return an empty string when one argument was of the wrong
      datatype. If the string object was then modified by the sql function INSERT(),
      undefined behavior ensued.
      
      Fixed by instead modifying the string object representing the function's
      result value whenever string manipulating SQL functions return an empty
      string.
      
      Relevant code has also been documented.

    modified:
      mysql-test/r/func_str.result
      mysql-test/t/func_str.test
      sql/item_strfunc.cc
      sql/item_strfunc.h
      sql/sql_string.cc
      sql/sql_string.h
=== modified file 'configure.in'
--- a/configure.in	2010-12-28 23:47:05 +0000
+++ b/configure.in	2011-01-13 08:59:11 +0000
@@ -12,7 +12,7 @@ dnl
 dnl When changing the major version number please also check the switch
 dnl statement in mysqlbinlog::check_master_version().  You may also need
 dnl to update version.c in ndb.
-AC_INIT([MySQL Server], [5.1.55], [], [mysql])
+AC_INIT([MySQL Server], [5.1.56], [], [mysql])
 
 AC_CONFIG_SRCDIR([sql/mysqld.cc])
 AC_CANONICAL_SYSTEM

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1 branch (Georgi.Kodinov:3547 to 3548) Georgi Kodinov13 Jan