logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

bk commit into 3.23 tree: msg#00303

Subject: bk commit into 3.23 tree
Below is the list of changes that have just been committed into a local
3.23 repository of serg. When serg 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://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.1233 02/10/25 20:39:02 serg@xxxxxxxxxxxxxx +1 -0
  memory leak closed

  sql/sql_base.cc
    1.99 02/10/25 20:39:00 serg@xxxxxxxxxxxxxx +2 -1
    memory leak closed

# 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: serg
# Host: serg.mysql.com
# Root: /usr/home/serg/Abk/mysql

--- 1.98/sql/sql_base.cc        Sat Sep 21 18:36:19 2002
+++ 1.99/sql/sql_base.cc        Fri Oct 25 20:39:00 2002
@@ -1530,12 +1530,13 @@
              ha_open_options,
              tmp_table))
   {
+    my_free((gptr) tmp_table,MYF(0));
     DBUG_RETURN(0);
   }
 
   tmp_table->file->extra(HA_EXTRA_NO_READCHECK); // Not needed in SQL
   tmp_table->reginfo.lock_type=TL_WRITE;        // Simulate locked
-  tmp_table->tmp_table = (tmp_table->file->has_transactions() ? 
+  tmp_table->tmp_table = (tmp_table->file->has_transactions() ?
                          TRANSACTIONAL_TMP_TABLE : TMP_TABLE);
   tmp_table->table_cache_key=(char*) (tmp_table+1);
   tmp_table->key_length= (uint) (strmov((tmp_table->real_name=

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail internals-thread5155@xxxxxxxxxxxxxxx
To unsubscribe, e-mail <internals-unsubscribe@xxxxxxxxxxxxxxx>




<Prev in Thread] Current Thread [Next in Thread>