<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,20 +13,36 @@ EM.run{
 
   SQL = EventedMysql
   def SQL(query, &amp;blk) SQL.select(query, &amp;blk) end
-    
-  SQL.settings.update :logging =&gt; true,
-                      :database =&gt; 'test',
-                      :connections =&gt; 10,
-                      :timeout =&gt; 1
 
-  if false
+  if true
+
+    SQL.settings.update :logging =&gt; true,
+                        :database =&gt; 'test',
+                        :connections =&gt; 1
+
+    SQL.execute('select 1+2')
+
+    EM.add_timer(1){
+      3.times do SQL.select('select sleep(0.5)+1'){|r| p(r) } end
+    }
+
+  elsif false
+
+    SQL.settings.update :logging =&gt; true,
+                        :database =&gt; 'test',
+                        :connections =&gt; 10
 
     EM.add_timer(2.5){ SQL.all('use test') }
 
   else
 
+    SQL.settings.update :logging =&gt; true,
+                        :database =&gt; 'test',
+                        :connections =&gt; 10,
+                        :timeout =&gt; 1
+
     n = 0
-  
+
     SQL.execute('drop table if exists testingabc'){
       SQL.execute('create table testingabc (a int, b int, c int)'){
         EM.add_periodic_timer(0.2) do</diff>
      <filename>test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9877cb1dc9e01b58a3f3a39529e92ba90c7a4d01</id>
    </parent>
  </parents>
  <author>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </author>
  <url>http://github.com/tmm1/em-mysql/commit/78d884335c5fe5bd7f9bc71992b74918ee6fc264</url>
  <id>78d884335c5fe5bd7f9bc71992b74918ee6fc264</id>
  <committed-date>2008-09-13T02:51:58-07:00</committed-date>
  <authored-date>2008-09-13T02:51:58-07:00</authored-date>
  <message>add more tests</message>
  <tree>152fc39bbba2e85fceca627065c78b733eee2ff1</tree>
  <committer>
    <name>Aman Gupta</name>
    <email>aman@tmm1.net</email>
  </committer>
</commit>
