MySQL Lists are EOL. Please join:

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

 3297 Mats Kindahl	2010-09-21 [merge]
      Merging into mysql-next-mr-bugfixing.

    modified:
      sql/sql_plugin.cc
=== modified file 'sql/sql_plugin.cc'
--- a/sql/sql_plugin.cc	2010-08-23 17:43:34 +0000
+++ b/sql/sql_plugin.cc	2010-09-21 21:27:43 +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-20100921212743-lz53e73lcjw38ye7.bundle
Thread
bzr commit into mysql-next-mr-bugfixing branch (mats.kindahl:3297) Mats Kindahl21 Sep