MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Mikael Ronstrom Date:December 17 2009 5:29pm
Subject:bzr commit into mysql-5.5-trunk branch (mikael:2926) Bug#49591
View as plain text  
#At file:///home/mikael/mysql_clones/mysql-trunk-bug49591/ based on revid:mikael@stripped

 2926 Mikael Ronstrom	2009-12-17
      BUG#49591, review fixes

    modified:
      sql/partition_info.cc
=== modified file 'sql/partition_info.cc'
--- a/sql/partition_info.cc	2009-12-16 18:14:05 +0000
+++ b/sql/partition_info.cc	2009-12-17 17:29:24 +0000
@@ -142,8 +142,12 @@ void partition_info::set_show_version_st
       packet->append(STRING_WITH_LEN("\n/*!50100"));
     }
     else
-      packet->append(STRING_WITH_LEN("\n/*!50500"));
-    DBUG_ASSERT(version <= 50500);
+    {
+      char buf[65];
+      char *buf_ptr= longlong10_to_str((longlong)version, buf, 10);
+      packet->append(STRING_WITH_LEN("\n/*!"));
+      packet->append(buf, (size_t)(buf_ptr - buf));
+    }
   }
 }
 


Attachment: [text/bzr-bundle] bzr/mikael@mysql.com-20091217172924-cszffir4g9p84zfw.bundle
Thread
bzr commit into mysql-5.5-trunk branch (mikael:2926) Bug#49591Mikael Ronstrom17 Dec