<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,29 +14,28 @@ module NeverBlock
         end
       end
       
-      # A proxy for the connection's exec method
+      # A proxy for the connection's query method
       # quries the pool to get a connection first
-      def exec(query)
+      def query(query)
         @pool.hold do |conn|
           conn.query(query)
         end
       end
       
-      alias :query :exec
       # This method must be called for transactions to work correctly.
       # One cannot just send &quot;begin&quot; as you never know which connection
       # will be available next. This method ensures you get the same connection
       # while in a transaction.
       def begin_db_transaction
         @pool.hold(true) do |conn|
-          conn.exec(&quot;begin&quot;)
+          conn.query(&quot;begin&quot;)
         end
       end
       
       # see =begin_db_transaction
       def rollback_db_transaction
         @pool.hold do |conn|
-          conn.exec(&quot;rollback&quot;)
+          conn.query(&quot;rollback&quot;)
           @pool.release(Fiber.current,conn)
         end
       end
@@ -44,7 +43,7 @@ module NeverBlock
       # see =begin_db_transaction
       def commit_db_transaction
         @pool.hold do |conn|
-          conn.exec(&quot;commit&quot;)
+          conn.query(&quot;commit&quot;)
           @pool.release(Fiber.current,conn)
         end
       end</diff>
      <filename>lib/never_block/db/pooled_fibered_mysql_connection.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b4558844eb7e5a872db7bb49b8df3604854649bb</id>
    </parent>
  </parents>
  <author>
    <name>espace</name>
    <email>mohammad.ali@espace.com.eg</email>
  </author>
  <url>http://github.com/espace/neverblock/commit/2e1876efcf729c3f794f771a833e9db176fe790d</url>
  <id>2e1876efcf729c3f794f771a833e9db176fe790d</id>
  <committed-date>2008-09-05T04:27:39-07:00</committed-date>
  <authored-date>2008-09-05T04:27:39-07:00</authored-date>
  <message>better transaction behavior</message>
  <tree>2c828b6e075d5a602a6eb20618357993ef486e5d</tree>
  <committer>
    <name>espace</name>
    <email>mohammad.ali@espace.com.eg</email>
  </committer>
</commit>
