{"id":54,"date":"2008-06-27T21:18:00","date_gmt":"2008-06-27T21:18:00","guid":{"rendered":"https:\/\/karwin.com\/blog\/index.php\/2008\/06\/27\/building-mysql-from-bazaar\/"},"modified":"2008-06-27T21:18:00","modified_gmt":"2008-06-27T21:18:00","slug":"building-mysql-from-bazaar","status":"publish","type":"post","link":"https:\/\/karwin.com\/blog\/index.php\/2008\/06\/27\/building-mysql-from-bazaar\/","title":{"rendered":"Building MySQL from Bazaar"},"content":{"rendered":"<p>I wanted to try using MySQL source from its new VCS, Bazaar, and I saw Daniel Fischer&#8217;s extremely helpful post &#8220;<a href=\"http:\/\/dev.mysql.com\/tech-resources\/articles\/getting-started-with-bazaar-for-mysql.html\">Getting started with Bazaar for MySQL code<\/a>&#8220;.  Thanks Daniel!<\/p>\n<p>Downloading using Bazaar is indeed slow, as Daniel warns.  I am constrained to 1MBps ADSL, and the intial download took quite a bit of time.  I think over an hour.  But subsequent merges and other operations are quicker.<\/p>\n<p>Building the source seems conventional, but I have run into <a href=\"http:\/\/bugs.mysql.com\/bug.php?id=37075\">Bug #37075<\/a> running tests.  There seems to be a regression that is exhibited by th LIMIT tests with prepared statements.  Here are the steps to reproduce:<\/p>\n<pre><\/pre>\n<blockquote>\n<pre>$ configure --with-innodb --with-ssl<br \/>$ make<br \/>$ cd mysql-test<br \/>$ perl mysql-test-run limit<br \/><\/pre>\n<\/blockquote>\n<p>Here&#8217;s the output:<\/p>\n<pre><blockquote>TEST                           RESULT         TIME (ms)<br \/>-------------------------------------------------------<br \/><br \/>main.limit                     [ fail ]<br \/><br \/>--- \/Users\/bill\/workspace\/bzr\/mysql-server\/mysql-test\/r\/limit.result 2008-06-26<br \/>01:04:04.000000000 +0300<br \/>+++ \/Users\/bill\/workspace\/bzr\/mysql-server\/mysql-test\/r\/limit.reject 2008-06-26<br \/>23:47:59.000000000 +0300<br \/>@@ -107,6 +107,7 @@<br \/>set @a=14632475938453979136;<br \/>execute s using @a, @a;<br \/>1<br \/>+1<br \/>set @a=-14632475938453979136;<br \/>execute s using @a, @a;<br \/>ERROR HY000: Incorrect arguments to EXECUTE<br \/><br \/>mysqltest: Result length mismatch<br \/><br \/>Warnings from just before the error:<br \/>Error 1292 Truncated incorrect DECIMAL value: ''<br \/><br \/>Aborting: main.limit failed in default mode.<br \/>To continue, re-run with '--force'.<\/blockquote><\/pre>\n<p>This affects MySQL 5.1.27 (revno 2662) and MySQL 6.0.6 (revno 2671).  But the tests pass in MySQL 5.0.66.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to try using MySQL source from its new VCS, Bazaar, and I saw Daniel Fischer&#8217;s extremely helpful post &#8220;Getting started with Bazaar for MySQL code&#8220;. Thanks Daniel! Downloading using Bazaar is indeed slow, as Daniel warns. I am constrained to 1MBps ADSL, and the intial download took quite a bit of time. I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pawgV7-S","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/karwin.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}