<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Urban Giraffe Support Topic: A bug, a fix and a suggestion</title>
<link>http://urbangiraffe.com/support/</link>
<description>Urban Giraffe Support Topic: A bug, a fix and a suggestion</description>
<language>en</language>
<pubDate>Fri, 21 Nov 2008 20:37:31 +0000</pubDate>

<item>
<title>John on "A bug, a fix and a suggestion"</title>
<link>http://urbangiraffe.com/support/topic/a-bug-a-fix-and-a-suggestion#post-352</link>
<pubDate>Fri, 22 Aug 2008 07:26:31 +0000</pubDate>
<dc:creator>John</dc:creator>
<guid isPermaLink="false">352@http://urbangiraffe.com/support/</guid>
<description>&#60;p&#62;Thanks Nikola
&#60;/p&#62;</description>
</item>
<item>
<title>weboholic on "A bug, a fix and a suggestion"</title>
<link>http://urbangiraffe.com/support/topic/a-bug-a-fix-and-a-suggestion#post-164</link>
<pubDate>Thu, 10 Apr 2008 12:29:44 +0000</pubDate>
<dc:creator>weboholic</dc:creator>
<guid isPermaLink="false">164@http://urbangiraffe.com/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I've posted a bug as comment on the website, then I fixed it and wanted to post the solution and then I sow the links to the forum and the tracker :)&#60;/p&#62;
&#60;p&#62;Here is the bug:&#60;br /&#62;
What are the chances that it's cont compatible with WP 2.5? When I try to create a new redirect, I get a success - the new row in the list is created. But when I check the DB - there's no entry made.&#60;/p&#62;
&#60;p&#62;Here is the fix:&#60;br /&#62;
OK, I've fixed it. Here is the error msg:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Incorrect integer value: '' for column 'regex' at row 1&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;which led me to the problem. It might not have been a WP 2.5 issue but with mysql 5.0.51a. I had to remove surrounding single quotes on $red-&#38;gt;regex in the query on line 144, so it works now.&#60;/p&#62;
&#60;p&#62;And here is the suggestion I would like to make:&#60;br /&#62;
However I would like to point you to a little design change that you might want to consider: the plugin is using an int data type column for storing a &#60;em&#62;boolean&#60;/em&#62; value. This is a huge space waste. An INT data type reserves 4 bytes for each row, while a TINYINT only 1 byte and this is the smallest you can get. Well 75% improvement is pretty good. This will also speed up querying the table which is important if you have a lot of redirects like me :)&#60;/p&#62;
&#60;p&#62;I haven't studied the whole plugin, nor do I intend to, so this next remark might not fit at all. It just seems to me that the column position is redundant with the column id.&#60;/p&#62;
&#60;p&#62;This a live saving plugin.&#60;br /&#62;
Greetings&#60;br /&#62;
Nikola
&#60;/p&#62;</description>
</item>

</channel>
</rss>
