<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: More MySQL Idiocities</title>
	<link>http://blog.charcoalphile.com/2007/10/28/more-mysql-idiocities/</link>
	<description>On Databases, Recovery, Tech</description>
	<pubDate>Mon, 06 Sep 2010 10:41:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: admin</title>
		<link>http://blog.charcoalphile.com/2007/10/28/more-mysql-idiocities/#comment-169</link>
		<author>admin</author>
		<pubDate>Mon, 10 Mar 2008 22:30:59 +0000</pubDate>
		<guid>http://blog.charcoalphile.com/2007/10/28/more-mysql-idiocities/#comment-169</guid>
		<description>Thanks for the workaround. Unfortunately, it's too late for MySQL. After running into stuff like this over and over again while working on a series of small MySQL projects, I refuse to use it again.

Basically what it comes down to is this:

- MyISAM sucks, but it's fast.
- InnoDB is slower at some things, but it supports transactions and many other features I use all the time. However, it still suffers from most of the quirks that MyISAM does, and transactions don't always work like they should (try BEGIN; CREATE TABLE; ROLLBACK; ...).
- Falcon is slow as hell from all of the benchmarks I've seen so far... I haven't actually tested it.
- Maria? What the hell is this! Why do they always create new engines to "fix" the things that are "broken" in the previous one!?</description>
		<content:encoded><![CDATA[<p>Thanks for the workaround. Unfortunately, it&#8217;s too late for MySQL. After running into stuff like this over and over again while working on a series of small MySQL projects, I refuse to use it again.</p>
<p>Basically what it comes down to is this:</p>
<p>- MyISAM sucks, but it&#8217;s fast.<br />
- InnoDB is slower at some things, but it supports transactions and many other features I use all the time. However, it still suffers from most of the quirks that MyISAM does, and transactions don&#8217;t always work like they should (try BEGIN; CREATE TABLE; ROLLBACK; &#8230;).<br />
- Falcon is slow as hell from all of the benchmarks I&#8217;ve seen so far&#8230; I haven&#8217;t actually tested it.<br />
- Maria? What the hell is this! Why do they always create new engines to &#8220;fix&#8221; the things that are &#8220;broken&#8221; in the previous one!?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian eure</title>
		<link>http://blog.charcoalphile.com/2007/10/28/more-mysql-idiocities/#comment-161</link>
		<author>Ian eure</author>
		<pubDate>Fri, 07 Mar 2008 21:23:09 +0000</pubDate>
		<guid>http://blog.charcoalphile.com/2007/10/28/more-mysql-idiocities/#comment-161</guid>
		<description>Yup, I've been bitten by that before, too.

Here's the workaround:

mysqldump db &#124; sed s/' DEFINER=`.*`'// &#62; db.mysql

i.e. it strips out the DEFINER from the CREATE VIEW statement, so when you load the dump, the owner is set to the user you load it as.</description>
		<content:encoded><![CDATA[<p>Yup, I&#8217;ve been bitten by that before, too.</p>
<p>Here&#8217;s the workaround:</p>
<p>mysqldump db | sed s/&#8217; DEFINER=`.*`&#8217;// &gt; db.mysql</p>
<p>i.e. it strips out the DEFINER from the CREATE VIEW statement, so when you load the dump, the owner is set to the user you load it as.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
