{"id":1270,"date":"2008-11-24T12:53:16","date_gmt":"2008-11-24T02:53:16","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=1270"},"modified":"2008-11-24T12:53:16","modified_gmt":"2008-11-24T02:53:16","slug":"hold-me-im-scared","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2008\/11\/24\/hold-me-im-scared\/","title":{"rendered":"Hold me, I&#8217;m scared&#8230;."},"content":{"rendered":"<p>From ha_myisam.cc:<\/p>\n<p>\/*<br \/>\nTODO: switch from protocol to push_warning here. The main reason we didn&#8217;t<br \/>\nit yet is parallel repair. Due to following trace:<br \/>\nmi_check_print_msg\/push_warning\/sql_alloc\/my_pthread_getspecific_ptr.<\/p>\n<p>Also we likely need to lock mutex here (in both cases with protocol and<br \/>\npush_warning).<br \/>\n*\/<br \/>\nprotocol-&gt;prepare_for_resend();<br \/>\nprotocol-&gt;store(name, length, system_charset_info);<br \/>\nprotocol-&gt;store(param-&gt;op_name, system_charset_info);<br \/>\nprotocol-&gt;store(msg_type, system_charset_info);<br \/>\nprotocol-&gt;store(msgbuf, msg_length, system_charset_info);<br \/>\nif (protocol-&gt;write())<br \/>\nsql_print_error(&#8220;Failed on my_net_write, writing to stderr instead: %s\\n&#8221;,<br \/>\nmsgbuf);<br \/>\nreturn;<\/p>\n<p>Hopefully this will serve as a good TODO list to go and fix at some point.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From ha_myisam.cc: \/* TODO: switch from protocol to push_warning here. The main reason we didn&#8217;t it yet is parallel repair. Due to following trace: mi_check_print_msg\/push_warning\/sql_alloc\/my_pthread_getspecific_ptr. Also we likely need to lock mutex here (in both cases with protocol and push_warning). &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2008\/11\/24\/hold-me-im-scared\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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},"jetpack_post_was_ever_published":false},"categories":[75,14],"tags":[],"class_list":["post-1270","post","type-post","status-publish","format-standard","hentry","category-drizzle-work-et-al","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-ku","jetpack-related-posts":[{"id":915,"url":"https:\/\/www.flamingspork.com\/blog\/2007\/11\/08\/twitter-updates-for-2007-11-08\/","url_meta":{"origin":1270,"position":0},"title":"Twitter Updates for 2007-11-08","author":"Stewart Smith","date":"2007-11-08","format":false,"excerpt":"thinking about ndb speaking memcached protocol # tempted to start hacking memcached protocol interface to NDB # I hate GDB # seem to have (at least mostly) fixed this bug... # testSystemRestart running well... # Powered by Twitter Tools.","rel":"","context":"In &quot;Twitter&quot;","block_context":{"text":"Twitter","link":"https:\/\/www.flamingspork.com\/blog\/category\/from-twitter\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2362,"url":"https:\/\/www.flamingspork.com\/blog\/2011\/04\/21\/http-json-alsosql-interface-to-drizzle\/","url_meta":{"origin":1270,"position":1},"title":"HTTP JSON AlsoSQL interface to Drizzle","author":"Stewart Smith","date":"2011-04-21","format":false,"excerpt":"So... I had another one of those \"hrrm... this shouldn't be hard to hack a proof-of-concept\" moments. Web apps are increasingly speaking JSON all around the place. Why can't we speak JSON to\/from the database? Why? Seriously, why not? One reason why MongoDB has found users is that JSON is\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2011\/04\/Screenshot-11-300x230.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4311,"url":"https:\/\/www.flamingspork.com\/blog\/2017\/10\/20\/zmodem-saves-the-day-or-why-my-firmware-for-a-machine-with-a-cpu-from-2017-contains-a-serial-file-transfer-protocol-from-the-1980s\/","url_meta":{"origin":1270,"position":2},"title":"ZMODEM saves the day! Or, why my firmware for a machine with a CPU from 2017 contains a serial file transfer protocol from the 1980s","author":"Stewart Smith","date":"2017-10-20","format":false,"excerpt":"Recently, I added the package lrzsz to op-build in this commit. This package provides the rz and sz commands - for receive zmodem and send zmodem respectively. For those who don't know, op-build builds a firmware image for OpenPOWER machines, and adding this package adds the commands to the petitboot\u2026","rel":"","context":"In &quot;IBM&quot;","block_context":{"text":"IBM","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/ibm-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2353,"url":"https:\/\/www.flamingspork.com\/blog\/2011\/04\/12\/innodb-and-memcached\/","url_meta":{"origin":1270,"position":3},"title":"innodb and memcached","author":"Stewart Smith","date":"2011-04-12","format":false,"excerpt":"I had a quick look at the source tree (I haven't compiled it, just read the source - that's what I do. I challenge any C\/C++ compiler to keep up with my brain!) that's got a tarball up on labs.mysql.com for the memcached interface to innodb. A few quick thoughts:\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1711,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/04\/08\/alsosql\/","url_meta":{"origin":1270,"position":4},"title":"AlsoSQL","author":"Stewart Smith","date":"2010-04-08","format":false,"excerpt":"So there's a bit of a swelling around the idea of NoSQL. That is, databases that don't have an SQL interface in front of them - with the promise of better performance. With a well designed backend, this is no doubt the case. A flexible query language is rather useful\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2303,"url":"https:\/\/www.flamingspork.com\/blog\/2011\/03\/16\/fixed-in-drizzle-no-more-gotchas\/","url_meta":{"origin":1270,"position":5},"title":"Fixed in Drizzle: No more &#8220;GOTCHA&#8217;s&#8221;","author":"Stewart Smith","date":"2011-03-16","format":false,"excerpt":"\u00a0 At the upcoming MySQL Conference and Expo, I'm going to give a Thursday afternoon (2pm) session entitled Fixed in Drizzle: No more \"GOTCHA's\". I plan to have a lot of fun with this session.. If you go back to the very start of when I started submitting code to\u2026","rel":"","context":"In &quot;drizzle&quot;","block_context":{"text":"drizzle","link":"https:\/\/www.flamingspork.com\/blog\/category\/work-et-al\/drizzle-work-et-al\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=1270"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1270\/revisions"}],"predecessor-version":[{"id":1271,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1270\/revisions\/1271"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=1270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=1270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=1270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}