<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>strictlyPHP &#187; pdo</title>
	<atom:link href="http://www.strictlyphp.com/blog/tag/pdo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strictlyphp.com/blog</link>
	<description>web development &#38; web analytics</description>
	<lastBuildDate>Tue, 08 Mar 2011 10:47:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MySQL stored procedures with PDO on Windows</title>
		<link>http://www.strictlyphp.com/blog/2008/10/27/mysql-stored-procedures-pdo-windows/</link>
		<comments>http://www.strictlyphp.com/blog/2008/10/27/mysql-stored-procedures-pdo-windows/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 16:00:48 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pdo]]></category>

		<guid isPermaLink="false">http://www.strictlyphp.com/blog/?p=276</guid>
		<description><![CDATA[I have mixed feelings when it comes to stored procedures. On one side, they pull away a part of your applications logic which decreases maintainability. While on the other side they tend to perform better and are easily accessible (for instance, by a DBA). Anyway, there are certainly situations were I use them and while [...]]]></description>
			<content:encoded><![CDATA[<p><em>I have mixed feelings when it comes to stored procedures. On one side, they pull away a part of your applications logic which decreases maintainability. While on the other side they tend to perform better and are easily accessible (for instance, by a DBA).</em></p>
<p>Anyway, there are certainly situations were I use them and while doing so on MySQL I bumped into this <a href="http://bugs.php.net/bug.php?id=39759" target="_blank">bug report</a> (and this <a href="http://bugs.php.net/bug.php?id=39858" target="_blank">related one</a>). One stored procedure call did not produce any errors but when I added a second, PDO threw &#8220;General error: 2014 Cannot execute queries while other unbuffered queries are active.&#8221;.</p>
<p>Apparently <strong>using PDO to call multiple MySQL stored procedures on a Windows environment</strong> (e.g. your development WampServer) <strong>causes</strong> a few <strong>errors </strong>(different ones depending on the amount of calls if I&#8217;m correct). After 2 years it should have been fixed mid September &#8217;08 so hopefully the next PHP release will correct this.</p>
<p>In case you ever wondered: this seems to be a reason why the popular e-commerce solution <a href="http://www.magentocommerce.com/" target="_blank">Magento</a> currently requires a linux server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.strictlyphp.com/blog/2008/10/27/mysql-stored-procedures-pdo-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

