<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>MySQL-dump - Strangeness</title>
    <link>http://mysqldump.azundris.com/</link>
    <description>my life with MySQL</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:mysqldump@mysqldump.azundris.com" />
    <generator>Serendipity 1.2-beta2 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://mysqldump.azundris.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: MySQL-dump - Strangeness - my life with MySQL</title>
        <link>http://mysqldump.azundris.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>sysdate() weirdness</title>
    <link>http://mysqldump.azundris.com/archives/27-sysdate-weirdness.html</link>
            <category>Strangeness</category>
    
    <comments>http://mysqldump.azundris.com/archives/27-sysdate-weirdness.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=27</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=27</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    The behaviour of SYSDATE() has changed between MySQL 4.1 and 5.0. The manual &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=286&amp;amp;entry_id=27&quot; title=&quot;http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html&quot;  onmouseover=&quot;window.status=&#039;http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;indicates&lt;/a&gt;: &lt;blockquote&gt; Within a stored routine or trigger, SYSDATE() returns the time at which it executes, not the time at which the routine or triggering statement began to execute. This differs from the behavior for NOW().&lt;/blockquote&gt; Obviously, this was implemented internally by having SYSDATE() ignore &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=287&amp;amp;entry_id=27&quot; title=&quot;http://dev.mysql.com/doc/refman/5.0/en/set-option.html&quot;  onmouseover=&quot;window.status=&#039;http://dev.mysql.com/doc/refman/5.0/en/set-option.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;SET TIMESTAMP&lt;/a&gt;, as can be easily tested.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/27-sysdate-weirdness.html#extended&quot;&gt;Continue reading &quot;sysdate() weirdness&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 25 Nov 2005 17:30:00 +0100</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/27-guid.html</guid>
    
</item>
<item>
    <title>Test your backups</title>
    <link>http://mysqldump.azundris.com/archives/7-Test-your-backups.html</link>
            <category>Strangeness</category>
    
    <comments>http://mysqldump.azundris.com/archives/7-Test-your-backups.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>bernd-05@eckenfels.net (Bernd Eckenfels)</author>
    <content:encoded>
    Today I had to migrate the mysql database of our &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=274&amp;amp;entry_id=7&quot; title=&quot;http://www.bugzilla.org/&quot;  onmouseover=&quot;window.status=&#039;http://www.bugzilla.org/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;BugZilla&lt;/a&gt; Installation from an old Server to a new installation. I discovered, that obviously nobody had exercised the restoring process in quite some time, because it aborted:&lt;blockquote&gt;#1062 - Duplicate entry &#039;223&#039; for key 1&lt;/blockquote&gt;The problem was caused by the &#039;profiles&#039; table of BugZilla, where all users are stored.  &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/7-Test-your-backups.html#extended&quot;&gt;Continue reading &quot;Test your backups&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 05 Aug 2005 00:37:16 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/7-guid.html</guid>
    
</item>
<item>
    <title>AUTO_INCREMENT Trivia</title>
    <link>http://mysqldump.azundris.com/archives/5-AUTO_INCREMENT-Trivia.html</link>
            <category>Strangeness</category>
    
    <comments>http://mysqldump.azundris.com/archives/5-AUTO_INCREMENT-Trivia.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=5</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    

    <author>kris@koehntopp.de (Kristian Köhntopp)</author>
    <content:encoded>
    MySQL (MyISAM) exhibits strange and little known (but documente) behaviour when dealing with compound keys where a part of the compound is AUTO\_INCREMENT.&lt;br /&gt;
&lt;br /&gt;
This is as everybody knows:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;mysql&gt; create table standard ( name varchar(20), i integer not null auto_increment primary key );&lt;br /&gt;
Query OK, 0 rows affected (0.18 sec)&lt;br /&gt;
&lt;br /&gt;
mysql&gt; insert into standard ( name ) values ( &quot;kris&quot; ), (&quot;azundris&quot;), (&quot;kris&quot;), (&quot;azundris&quot;);&lt;br /&gt;
Query OK, 4 rows affected (0.00 sec)&lt;br /&gt;
Records: 4  Duplicates: 0  Warnings: 0&lt;br /&gt;
&lt;br /&gt;
mysql&gt; select * from standard;&lt;br /&gt;
+----------+---+&lt;br /&gt;
| name     | i |&lt;br /&gt;
+----------+---+&lt;br /&gt;
| kris     | 1 |&lt;br /&gt;
| azundris | 2 |&lt;br /&gt;
| kris     | 3 |&lt;br /&gt;
| azundris | 4 |&lt;br /&gt;
+----------+---+&lt;br /&gt;
4 rows in set (0.00 sec)&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://mysqldump.azundris.com/archives/5-AUTO_INCREMENT-Trivia.html#extended&quot;&gt;Continue reading &quot;AUTO_INCREMENT Trivia&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 03 Aug 2005 08:06:37 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/5-guid.html</guid>
    
</item>
<item>
    <title>Cluster FAQ</title>
    <link>http://mysqldump.azundris.com/archives/3-Cluster-FAQ.html</link>
            <category>Strangeness</category>
    
    <comments>http://mysqldump.azundris.com/archives/3-Cluster-FAQ.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>www@azundris.com (Azundris)</author>
    <content:encoded>
    Seeing the &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=55&amp;amp;entry_id=3&quot; title=&quot;http://dev.mysql.com/doc/mysql/en/mysql-cluster-faq.html&quot;  onmouseover=&quot;window.status=&#039;http://dev.mysql.com/doc/mysql/en/mysql-cluster-faq.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;MySQL cluster FAQ&lt;/a&gt; always puts a smile on my face.&lt;br /&gt;
Little things amuse little minds, I guess. 
    </content:encoded>

    <pubDate>Mon, 01 Aug 2005 17:58:00 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/3-guid.html</guid>
    
</item>
<item>
    <title>Oy vey!</title>
    <link>http://mysqldump.azundris.com/archives/1-Oy-vey!.html</link>
            <category>Strangeness</category>
    
    <comments>http://mysqldump.azundris.com/archives/1-Oy-vey!.html#comments</comments>
    <wfw:comment>http://mysqldump.azundris.com/wfwcomment.php?cid=1</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://mysqldump.azundris.com/rss.php?version=2.0&amp;type=comments&amp;cid=1</wfw:commentRss>
    

    <author>www@azundris.com (Azundris)</author>
    <content:encoded>
    &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=51&amp;amp;entry_id=1&quot; title=&quot;http://www.innodb.com/index.php&quot;  onmouseover=&quot;window.status=&#039;http://www.innodb.com/index.php&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Innobase, Oy&lt;/a&gt;!&lt;br /&gt;
Apparently, &lt;cite&gt;Oy&lt;/cite&gt; is &lt;a href=&quot;http://mysqldump.azundris.com/exit.php?url_id=52&amp;amp;entry_id=1&quot; title=&quot;http://efe.scape.net/index.php&quot;  onmouseover=&quot;window.status=&#039;http://efe.scape.net/index.php&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;&gt;Finnish&lt;/a&gt; for &lt;cite&gt;Ltd.&lt;/cite&gt; &amp;mdash; ah, the possibilities are endless! 
    </content:encoded>

    <pubDate>Wed, 27 Jul 2005 17:24:00 +0200</pubDate>
    <guid isPermaLink="false">http://mysqldump.azundris.com/archives/1-guid.html</guid>
    
</item>

</channel>
</rss>