List:Commits« Previous MessageNext Message »
From:<gshchepa Date:May 31 2007 9:25pm
Subject:bk commit into 5.0 tree (gshchepa:1.2515) BUG#28244
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of uchum. When uchum 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-06-01 02:25:11+05:00, gshchepa@stripped +1 -0
  sql_view.cc:
    Additional patch for bug #28244 to workaround valgrind warnings.

  sql/sql_view.cc@stripped, 2007-06-01 02:22:20+05:00, gshchepa@stripped +1 -1
    Additional patch for bug #28244 to workaround valgrind warnings.

# 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:	gshchepa
# Host:	gleb.loc
# Root:	/home/uchum/work/bk/mysql-5.0-opt-28244

--- 1.112/sql/sql_view.cc	2007-05-31 19:05:02 +05:00
+++ 1.113/sql/sql_view.cc	2007-06-01 02:22:20 +05:00
@@ -706,7 +706,7 @@ static int mysql_register_view(THD *thd,
   DBUG_PRINT("info", ("View: %s", str.ptr()));
 
   /* fill structure */
-  view->query.str= str.c_ptr();
+  view->query.str= str.c_ptr_safe();
   view->query.length= str.length();
   view->source.str= thd->query + thd->lex->create_view_select_start;
   view->source.length= skip_rear_comments((char *)view->source.str,
Thread
bk commit into 5.0 tree (gshchepa:1.2515) BUG#28244gshchepa31 May