{"id":46,"date":"2006-11-28T18:46:14","date_gmt":"2006-11-28T18:46:14","guid":{"rendered":"http:\/\/thenoyes.com\/littlenoise\/?p=46"},"modified":"2006-11-28T18:47:45","modified_gmt":"2006-11-28T18:47:45","slug":"comparing-version-output","status":"publish","type":"post","link":"https:\/\/thenoyes.com\/littlenoise\/?p=46","title":{"rendered":"Comparing version output"},"content":{"rendered":"<p>Features and bugs come and go with each release of MySQL, making it tricky for us hobbyists to help each other out when we don&#8217;t have the same version installed and observed behavior is a little different for each.<\/p>\n<p>So I installed a dozen versions of MySQL, ranging from 3.23.58 to the current beta, and wrote a script (download below) to send one stream of SQL to each and compare output. Now I can show how identical SQL produces different results.<\/p>\n<p>There&#8217;s no reason they have to be different versions; I might run this script against a bunch of identical slaves to check replication status.<\/p>\n<p>I found some unexpected things along the way (who&#8217;d have thought the ON clause was so late to join the syntax?) and some silly trivia that just might win me a book someday (table formatted output differs in justification and whitespace between a few of the versions &#8211; can you find where?)<\/p>\n<p><a href=\"http:\/\/www.thenoyes.com\/storage\/MySQL_Demux.zip\" title=\"MySQL Demux\">MySQL Demux<\/a><\/p>\n<p>Requires the PEAR package Console_Getopt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Features and bugs come and go with each release of MySQL, making it tricky for us hobbyists to help each other out when we don&#8217;t have the same version installed and observed behavior is a little different for each. So I installed a dozen versions of MySQL, ranging from 3.23.58 to the current beta, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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":[4],"tags":[],"class_list":["post-46","post","type-post","status-publish","format-standard","hentry","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2IBF1-K","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":0,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"wp:attachment":[{"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thenoyes.com\/littlenoise\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}