<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1272,7 +1272,8 @@ static VALUE each_hash(int argc, VALUE* argv, VALUE obj)
     rb_scan_args(argc, argv, &quot;01&quot;, &amp;with_table);
     if (with_table == Qnil)
 	with_table = Qfalse;
-    process_all_hashes(obj, with_table, 0, 1);
+    while ((hash = fetch_hash2(obj, with_table)) != Qnil)
+	rb_yield(hash);
     return obj;
 }
 
@@ -2240,7 +2241,7 @@ void Init_mysql(void)
     rb_define_method(cMysqlRes, &quot;row_tell&quot;, row_tell, 0);
     rb_define_method(cMysqlRes, &quot;each&quot;, each, 0);
     rb_define_method(cMysqlRes, &quot;each_hash&quot;, each_hash, -1);
-    rb_define_method(cMysqlRes, &quot;all_hashes&quot;, all_hashes, -1);
+    /*rb_define_method(cMysqlRes, &quot;all_hashes&quot;, all_hashes, -1);*/
 
     /* MysqlField object method */
     rb_define_method(cMysqlField, &quot;name&quot;, field_name, 0);</diff>
      <filename>ext/mysql.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3f759012cd0ff529f9ec0fab862f0d43257bfcc9</id>
    </parent>
  </parents>
  <author>
    <name>espace</name>
    <email>mohammad.ali@espace.com.eg</email>
  </author>
  <url>http://github.com/espace/mysqlplus/commit/dde54e66df438eaccbf7027f37a1490a22490ae7</url>
  <id>dde54e66df438eaccbf7027f37a1490a22490ae7</id>
  <committed-date>2008-09-05T20:27:42-07:00</committed-date>
  <authored-date>2008-09-05T20:27:42-07:00</authored-date>
  <message>fix for corrupted utf strings</message>
  <tree>b724ecefcef7d12bf7e0e2e836c97142ebb76f5f</tree>
  <committer>
    <name>espace</name>
    <email>mohammad.ali@espace.com.eg</email>
  </committer>
</commit>
