List:Commits« Previous MessageNext Message »
From:gluh Date:August 22 2007 11:13am
Subject:bk commit into 5.2 tree (gluh:1.2571)
View as plain text  
Below is the list of changes that have just been committed into a local
5.2 repository of gluh. When gluh 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-08-22 14:13:34+05:00, gluh@stripped +1 -0
  valgrind error fix

  sql/sql_show.cc@stripped, 2007-08-22 14:13:32+05:00, gluh@stripped +3 -3
    valgrind error fix

diff -Nrup a/sql/sql_show.cc b/sql/sql_show.cc
--- a/sql/sql_show.cc	2007-08-20 18:15:34 +05:00
+++ b/sql/sql_show.cc	2007-08-22 14:13:32 +05:00
@@ -3535,8 +3535,8 @@ bool store_schema_params(THD *thd, TABLE
                                      proc_table->
                                      field[MYSQL_PROC_FIELD_SQL_MODE]->val_int(),
                                      routine_type,
-                                     returns.c_ptr(),
-                                     params.c_ptr(),
+                                     returns.c_ptr_safe(),
+                                     params.c_ptr_safe(),
                                      &free_sp_head);
 
   if (sp)
@@ -3677,7 +3677,7 @@ bool store_schema_proc(THD *thd, TABLE *
                                            field[MYSQL_PROC_FIELD_SQL_MODE]->
                                            val_int(),
                                            TYPE_ENUM_FUNCTION,
-                                           tmp_string.c_ptr(),
+                                           tmp_string.c_ptr_safe(),
                                            "", &free_sp_head);
 
         if (sp)
Thread
bk commit into 5.2 tree (gluh:1.2571)gluh22 Aug