<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: TYPE= disappears again (MySQL 5.4.4)</title>
	<atom:link href="http://openquery.com/blog/type-disappears-mysql-544/feed" rel="self" type="application/rss+xml" />
	<link>http://openquery.com/blog/type-disappears-mysql-544</link>
	<description>About MySQL, Drizzle, MariaDB and more!</description>
	<lastBuildDate>Mon, 19 Mar 2012 14:26:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Sheeri K. Cabral</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1592</link>
		<dc:creator>Sheeri K. Cabral</dc:creator>
		<pubDate>Thu, 23 Jul 2009 14:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1592</guid>
		<description>As much as I agree with you - backwards compatibility is a good thing - I also have to note that TYPE has been deprecated since MySQL 4.0, according to the documentation, and it&#039;s clearly listed in the CREATE TABLE documentation for 5.1 and 3.x and 4.x (but not 5.0, sadly):

http://dev.mysql.com/doc/refman/5.1/en/create-table.html
http://dev.mysql.com/doc/refman/4.1/en/create-table.html states &quot;ENGINE was added in MySQL 4.0.18 (for 4.0) and 4.1.2 (for 4.1).&quot; and then notes that TYPE is deprecated

4.0.18 came out in February 2004.  Isn&#039;t 5 years long enough for a developer to change a silly word?  If not, what *else* is wrong with the software?  (I hate it when software gives me spurious warnings.)  Let&#039;s take for example InnoDB Hot Backup, which *still* in 2009 used TYPE internally.  Ridiculous, especially given how expensive it is.

So, yeah -- on the one hand &quot;backwards compatibility is good, especially when it&#039;s not a big deal to keep it.&quot;  On the other hand -- &quot;update your damn software within 5 years.&quot;</description>
		<content:encoded><![CDATA[<p>As much as I agree with you &#8211; backwards compatibility is a good thing &#8211; I also have to note that TYPE has been deprecated since MySQL 4.0, according to the documentation, and it&#8217;s clearly listed in the CREATE TABLE documentation for 5.1 and 3.x and 4.x (but not 5.0, sadly):</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/create-table.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/create-table.html</a><br />
<a href="http://dev.mysql.com/doc/refman/4.1/en/create-table.html" rel="nofollow">http://dev.mysql.com/doc/refman/4.1/en/create-table.html</a> states &#8220;ENGINE was added in MySQL 4.0.18 (for 4.0) and 4.1.2 (for 4.1).&#8221; and then notes that TYPE is deprecated</p>
<p>4.0.18 came out in February 2004.  Isn&#8217;t 5 years long enough for a developer to change a silly word?  If not, what *else* is wrong with the software?  (I hate it when software gives me spurious warnings.)  Let&#8217;s take for example InnoDB Hot Backup, which *still* in 2009 used TYPE internally.  Ridiculous, especially given how expensive it is.</p>
<p>So, yeah &#8212; on the one hand &#8220;backwards compatibility is good, especially when it&#8217;s not a big deal to keep it.&#8221;  On the other hand &#8212; &#8220;update your damn software within 5 years.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Montgomery</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1589</link>
		<dc:creator>Matthew Montgomery</dc:creator>
		<pubDate>Sat, 18 Jul 2009 17:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1589</guid>
		<description>I agree that ENGINE= is the best way to go,  TYPE= is a bit ambiguous.  I&#039;m happy to see it go away.

@acurtis 
STORAGE as a keyword to define the table engine is not an option because it is already used in the CREATE/ALTER TABLE syntax to designate where records in NDB should be held STORAGE MEMORY vs STORAGE DISK.

Bikesheding and on a tangent here a bit but... I think it would be a nice feature for other engines to allow creation globally shared temporary tables by using STORAGE MEMORY/DISK instead of always using ENGINE=MEMORY for those.</description>
		<content:encoded><![CDATA[<p>I agree that ENGINE= is the best way to go,  TYPE= is a bit ambiguous.  I&#8217;m happy to see it go away.</p>
<p>@acurtis<br />
STORAGE as a keyword to define the table engine is not an option because it is already used in the CREATE/ALTER TABLE syntax to designate where records in NDB should be held STORAGE MEMORY vs STORAGE DISK.</p>
<p>Bikesheding and on a tangent here a bit but&#8230; I think it would be a nice feature for other engines to allow creation globally shared temporary tables by using STORAGE MEMORY/DISK instead of always using ENGINE=MEMORY for those.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nils</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1588</link>
		<dc:creator>Nils</dc:creator>
		<pubDate>Sat, 18 Jul 2009 04:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1588</guid>
		<description>If it&#039;s there it also needs to stay documented and tested with every release. I&#039;m in favor of removing it. As long as source for old mysql releases is provided it won&#039;t break legacy applications (which should break anyways if they go beyond basic SQL).</description>
		<content:encoded><![CDATA[<p>If it&#8217;s there it also needs to stay documented and tested with every release. I&#8217;m in favor of removing it. As long as source for old mysql releases is provided it won&#8217;t break legacy applications (which should break anyways if they go beyond basic SQL).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arjen</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1587</link>
		<dc:creator>arjen</dc:creator>
		<pubDate>Fri, 17 Jul 2009 22:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1587</guid>
		<description>Tim, I appreciate what you&#039;re saying, but this is not about legacy code. This is a particular case about a keyword in the parser.
Removing it has no practical purpose or benefit.</description>
		<content:encoded><![CDATA[<p>Tim, I appreciate what you&#8217;re saying, but this is not about legacy code. This is a particular case about a keyword in the parser.<br />
Removing it has no practical purpose or benefit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Soderstrom</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1586</link>
		<dc:creator>Tim Soderstrom</dc:creator>
		<pubDate>Fri, 17 Jul 2009 15:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1586</guid>
		<description>TYPE today, int(#) tomorrow. MySQL is a living, breathing, application and I like that idea that MySQL is removing things that should no longer be there. If the thing doesn&#039;t do anything, remove it and avoid confusion and even possibly bugs in the future.

For the legacy applications that use this, they can stay on their current version of MySQL without issue.

Otherwise, MySQL risks becoming too much like Windows. I&#039;m not wanting to start an OS war here, but Microsoft is invested so heavily in backwards compatibility that it makes innovation difficult. I don&#039;t know if its true or not, but someone once told me that Microsoft actually coded an special chunk of code to address memory handling issues in SimCity into Windows itself just so people who wanted to play SimCity could. That&#039;s crazy to me. As great a game as it is, if SimCity did not follow the API properly, it should be punished.

A similar story holds true here. Part of the reason, I think, MySQL is having so many issues, is due to looking backwards, not forwards. And, instead of complaining when they are trying to start heading in the right direction, I think we should praise it.</description>
		<content:encoded><![CDATA[<p>TYPE today, int(#) tomorrow. MySQL is a living, breathing, application and I like that idea that MySQL is removing things that should no longer be there. If the thing doesn&#8217;t do anything, remove it and avoid confusion and even possibly bugs in the future.</p>
<p>For the legacy applications that use this, they can stay on their current version of MySQL without issue.</p>
<p>Otherwise, MySQL risks becoming too much like Windows. I&#8217;m not wanting to start an OS war here, but Microsoft is invested so heavily in backwards compatibility that it makes innovation difficult. I don&#8217;t know if its true or not, but someone once told me that Microsoft actually coded an special chunk of code to address memory handling issues in SimCity into Windows itself just so people who wanted to play SimCity could. That&#8217;s crazy to me. As great a game as it is, if SimCity did not follow the API properly, it should be punished.</p>
<p>A similar story holds true here. Part of the reason, I think, MySQL is having so many issues, is due to looking backwards, not forwards. And, instead of complaining when they are trying to start heading in the right direction, I think we should praise it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Callaghan</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1585</link>
		<dc:creator>Mark Callaghan</dc:creator>
		<pubDate>Fri, 17 Jul 2009 13:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1585</guid>
		<description>This also removes SHOW MUTEX STATUS and SHOW INNODB STATUS and it will take me a few days to remember to use the new versions of those commands.

I prefer that changes like this are not done. I doubt this makes the parser any faster.

On the bright side they have recently fixed a batch of bugs we filed for replication that makes it a bit more stable after a crash.</description>
		<content:encoded><![CDATA[<p>This also removes SHOW MUTEX STATUS and SHOW INNODB STATUS and it will take me a few days to remember to use the new versions of those commands.</p>
<p>I prefer that changes like this are not done. I doubt this makes the parser any faster.</p>
<p>On the bright side they have recently fixed a batch of bugs we filed for replication that makes it a bit more stable after a crash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Swanhart</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1584</link>
		<dc:creator>Justin Swanhart</dc:creator>
		<pubDate>Fri, 17 Jul 2009 06:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1584</guid>
		<description>While I am happy that things like the replication command line options are being removed, TYPE should still raise a warning when used, IMHO.

There is no use case for removing the TYPE keyword.  It would be like removing the AS keyword, because it is optional.  It doesn&#039;t hurt to use TYPE, and TYPE isn&#039;t used anywhere else in the server as a keyword.

I know an argument can be made for reducing the number of keywords, but in this case, I too think it deserves to stay.</description>
		<content:encoded><![CDATA[<p>While I am happy that things like the replication command line options are being removed, TYPE should still raise a warning when used, IMHO.</p>
<p>There is no use case for removing the TYPE keyword.  It would be like removing the AS keyword, because it is optional.  It doesn&#8217;t hurt to use TYPE, and TYPE isn&#8217;t used anywhere else in the server as a keyword.</p>
<p>I know an argument can be made for reducing the number of keywords, but in this case, I too think it deserves to stay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arjen</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1583</link>
		<dc:creator>arjen</dc:creator>
		<pubDate>Fri, 17 Jul 2009 06:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1583</guid>
		<description>Ye that &quot;followup&quot; removal has been done at various times, hence the bugreport. This just history repeating for the Nth time.
The original TYPE -&gt; ENGINE was actually a marketing decision, as I understand. Which is perfectly fine. I don&#039;t tell anybody to use the TYPE keyword.
The only issue I have is removal of the old TYPE keyword. It can just stay.</description>
		<content:encoded><![CDATA[<p>Ye that &#8220;followup&#8221; removal has been done at various times, hence the bugreport. This just history repeating for the Nth time.<br />
The original TYPE -> ENGINE was actually a marketing decision, as I understand. Which is perfectly fine. I don&#8217;t tell anybody to use the TYPE keyword.<br />
The only issue I have is removal of the old TYPE keyword. It can just stay.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antony Curtis</title>
		<link>http://openquery.com/blog/type-disappears-mysql-544/comment-page-1#comment-1582</link>
		<dc:creator>Antony Curtis</dc:creator>
		<pubDate>Fri, 17 Jul 2009 05:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://openquery.com/blog/?p=869#comment-1582</guid>
		<description>I guess I am guilty of deprecating the TYPE attribute. It has been deprecated for quite a long time now. Personally, I am okay with TYPE but I think during the 2003 MySQL developer meeting in Bordeaux, France, it was decided that &quot;Storage Engine&quot; was how they would be called.
IMO, it would have been simpler to add STORAGE as an optional keyword before TYPE.
I don&#039;t think I was the first to remove it per-se... I think it was someone who was following through with removing it as the deprecation warning originally promised.</description>
		<content:encoded><![CDATA[<p>I guess I am guilty of deprecating the TYPE attribute. It has been deprecated for quite a long time now. Personally, I am okay with TYPE but I think during the 2003 MySQL developer meeting in Bordeaux, France, it was decided that &#8220;Storage Engine&#8221; was how they would be called.<br />
IMO, it would have been simpler to add STORAGE as an optional keyword before TYPE.<br />
I don&#8217;t think I was the first to remove it per-se&#8230; I think it was someone who was following through with removing it as the deprecation warning originally promised.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
