MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Mats Kindahl Date:September 21 2010 9:24pm
Subject:bzr commit into mysql-5.5-bugfixing branch (mats.kindahl:3202)
View as plain text  
#At file:///home/bzr/bugs/b51841-5.5-bugfixing/ based on revid:epotemkin@stripped

 3202 Mats Kindahl	2010-09-21
      Merging into mysql-5.5-bugfixing.

    modified:
      sql/sql_plugin.cc
=== modified file 'sql/sql_plugin.cc'
--- a/sql/sql_plugin.cc	2010-08-23 09:38:10 +0000
+++ b/sql/sql_plugin.cc	2010-09-21 21:24:29 +0000
@@ -519,7 +519,7 @@ static st_plugin_dl *plugin_dl_add(const
       /* no op */;
 
     cur= (struct st_mysql_plugin*)
-          my_malloc(i*sizeof(struct st_mysql_plugin), MYF(MY_ZEROFILL|MY_WME));
+      my_malloc((i+1)*sizeof(struct st_mysql_plugin), MYF(MY_ZEROFILL|MY_WME));
     if (!cur)
     {
       free_plugin_mem(&plugin_dl);


Attachment: [text/bzr-bundle] bzr/mats.kindahl@oracle.com-20100921212429-n388hvwt85yeg5l9.bundle
Thread
bzr commit into mysql-5.5-bugfixing branch (mats.kindahl:3202) Mats Kindahl21 Sep