<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: On async</title>
	<atom:link href="http://dom.as/2008/06/11/mysql-async-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://dom.as/2008/06/11/mysql-async-api/</link>
	<description></description>
	<lastBuildDate>Sat, 17 Dec 2011 20:14:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Ulf Wendel</title>
		<link>http://dom.as/2008/06/11/mysql-async-api/#comment-1321</link>
		<dc:creator><![CDATA[Ulf Wendel]]></dc:creator>
		<pubDate>Wed, 11 Feb 2009 21:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://dammit.lt/?p=154#comment-1321</guid>
		<description><![CDATA[Talk to Jim and Georg about it @ Connector/C. Its on their both whishlist, AFAIK. I think Jan has blogged about how it could be hacked.

mysqlnd async &quot;docs&quot; are here http://www.slideshare.net/nixnutz/mysqlnd-async-ipc2008-presentation and I might have a bit more in my blog. Though, I must confess that we have not worked on it since three months.

Judging from the questions Tony asked yesterday, he is done with .NET documentation and back to PHP work. So, there is some hope that he will eventually catch up one fine (soon?) day.

Ulf]]></description>
		<content:encoded><![CDATA[<p>Talk to Jim and Georg about it @ Connector/C. Its on their both whishlist, AFAIK. I think Jan has blogged about how it could be hacked.</p>
<p>mysqlnd async &#8220;docs&#8221; are here <a href="http://www.slideshare.net/nixnutz/mysqlnd-async-ipc2008-presentation" rel="nofollow">http://www.slideshare.net/nixnutz/mysqlnd-async-ipc2008-presentation</a> and I might have a bit more in my blog. Though, I must confess that we have not worked on it since three months.</p>
<p>Judging from the questions Tony asked yesterday, he is done with .NET documentation and back to PHP work. So, there is some hope that he will eventually catch up one fine (soon?) day.</p>
<p>Ulf</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monty Taylor</title>
		<link>http://dom.as/2008/06/11/mysql-async-api/#comment-1320</link>
		<dc:creator><![CDATA[Monty Taylor]]></dc:creator>
		<pubDate>Wed, 11 Jun 2008 12:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://dammit.lt/?p=154#comment-1320</guid>
		<description><![CDATA[MySQL Cluster has a lovely Async API ...]]></description>
		<content:encoded><![CDATA[<p>MySQL Cluster has a lovely Async API &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domas Mituzas</title>
		<link>http://dom.as/2008/06/11/mysql-async-api/#comment-1319</link>
		<dc:creator><![CDATA[Domas Mituzas]]></dc:creator>
		<pubDate>Wed, 11 Jun 2008 09:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://dammit.lt/?p=154#comment-1319</guid>
		<description><![CDATA[OK, I see how it is done in mysqlnd - though it asks for multiple connections then, and doesn&#039;t provide polling hooks (ergh, where is the documentation for these features?:)

Oh, and of course - mysql_send_query doesn&#039;t have a manual entry...]]></description>
		<content:encoded><![CDATA[<p>OK, I see how it is done in mysqlnd &#8211; though it asks for multiple connections then, and doesn&#8217;t provide polling hooks (ergh, where is the documentation for these features?:)</p>
<p>Oh, and of course &#8211; mysql_send_query doesn&#8217;t have a manual entry&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexey Zakhlestin</title>
		<link>http://dom.as/2008/06/11/mysql-async-api/#comment-1318</link>
		<dc:creator><![CDATA[Alexey Zakhlestin]]></dc:creator>
		<pubDate>Wed, 11 Jun 2008 07:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://dammit.lt/?p=154#comment-1318</guid>
		<description><![CDATA[mysqlnd already provides async api to PHP ;)]]></description>
		<content:encoded><![CDATA[<p>mysqlnd already provides async api to PHP ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Hristov</title>
		<link>http://dom.as/2008/06/11/mysql-async-api/#comment-1317</link>
		<dc:creator><![CDATA[Andrey Hristov]]></dc:creator>
		<pubDate>Wed, 11 Jun 2008 07:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://dammit.lt/?p=154#comment-1317</guid>
		<description><![CDATA[s/if you use/if you use libmysql/]]></description>
		<content:encoded><![CDATA[<p>s/if you use/if you use libmysql/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrey Hristov</title>
		<link>http://dom.as/2008/06/11/mysql-async-api/#comment-1316</link>
		<dc:creator><![CDATA[Andrey Hristov]]></dc:creator>
		<pubDate>Wed, 11 Jun 2008 07:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://dammit.lt/?p=154#comment-1316</guid>
		<description><![CDATA[The new MySQL driver for PHP has built-in support for async queries. If you use, you can use async queries in C/C++ if you wish. It&#039;s just that it&#039;s not marketed as async queries, but replication. Libmysql has the function mysql_send_query(), which does exactly what you want. See the following excerpt from the sources :
/*
  Send the query and return so we can do something else.
  Needs to be followed by mysql_read_query_result() when we want to
  finish processing it.
*/

int STDCALL
mysql_send_query(MYSQL* mysql, const char* query, ulong length)
{
  DBUG_ENTER(&quot;mysql_send_query&quot;);
  DBUG_RETURN(simple_command(mysql, COM_QUERY, (uchar*) query, length, 1));
}
...
my_bool STDCALL mysql_read_query_result(MYSQL *mysql)
{
  return (*mysql-&gt;methods-&gt;read_query_result)(mysql);
}


Voila. Here we go. You want async queries? They are partly there. There is no poll, but won&#039;t be too hard to implement.]]></description>
		<content:encoded><![CDATA[<p>The new MySQL driver for PHP has built-in support for async queries. If you use, you can use async queries in C/C++ if you wish. It&#8217;s just that it&#8217;s not marketed as async queries, but replication. Libmysql has the function mysql_send_query(), which does exactly what you want. See the following excerpt from the sources :<br />
/*<br />
  Send the query and return so we can do something else.<br />
  Needs to be followed by mysql_read_query_result() when we want to<br />
  finish processing it.<br />
*/</p>
<p>int STDCALL<br />
mysql_send_query(MYSQL* mysql, const char* query, ulong length)<br />
{<br />
  DBUG_ENTER(&#8220;mysql_send_query&#8221;);<br />
  DBUG_RETURN(simple_command(mysql, COM_QUERY, (uchar*) query, length, 1));<br />
}<br />
&#8230;<br />
my_bool STDCALL mysql_read_query_result(MYSQL *mysql)<br />
{<br />
  return (*mysql-&gt;methods-&gt;read_query_result)(mysql);<br />
}</p>
<p>Voila. Here we go. You want async queries? They are partly there. There is no poll, but won&#8217;t be too hard to implement.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

