MySQL Lists are EOL. Please join:

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

 3273 Mats Kindahl	2010-09-21 [merge]
      Merging into mysql-trunk-bugfixing.

    modified:
      sql/sql_plugin.cc
=== modified file 'sql/sql_plugin.cc'
--- a/sql/sql_plugin.cc	2010-08-23 17:02:22 +0000
+++ b/sql/sql_plugin.cc	2010-09-21 21:26:13 +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-20100921212613-5apzojgux9ewr75n.bundle
Thread
bzr commit into mysql-trunk-bugfixing branch (mats.kindahl:3273) Mats Kindahl21 Sep