<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -125,6 +125,9 @@ static VALUE ruby_typecast(sqlite3_value *value, char *type, int original_type)
 	if ( original_type == SQLITE_NULL ) {
 		return ruby_value;
 	}
+	else if ( strcmp(type, &quot;Class&quot;) == 0) {
+    ruby_value = rb_eval(rb_str_new2((char*)sqlite3_value_text(value)));
+	}
 	else if ( strcmp(type, &quot;Object&quot;) == 0 ) {
 		ruby_value = rb_marshal_load(rb_str_new2((char*)sqlite3_value_text(value)));
 	}</diff>
      <filename>do_sqlite3/ext/do_sqlite3_ext.c</filename>
    </modified>
    <modified>
      <diff>@@ -26,7 +26,7 @@ describe &quot;DataObjects::Sqlite3::Result&quot; do
   it &quot;should return the affected rows and insert_id&quot; do
     command = @connection.create_command(&quot;DROP TABLE users&quot;)
     command.execute_non_query rescue nil
-    command = @connection.create_command(&quot;CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, age INTEGER)&quot;)
+    command = @connection.create_command(&quot;CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, type TEXT, age INTEGER)&quot;)
     result = command.execute_non_query
     command = @connection.create_command(&quot;INSERT INTO users (name) VALUES ('test')&quot;)    
     result = command.execute_non_query</diff>
      <filename>do_sqlite3/spec/do_sqlite3_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6c7a8adfbfedc8ebcb59e23e4248c233bd3beae1</id>
    </parent>
  </parents>
  <author>
    <name>Sam Smoot</name>
    <email>ssmoot@gmail.com</email>
  </author>
  <url>http://github.com/sam/do/commit/82fdebc3d31665f08f08b3fdf58102c4e8bd399b</url>
  <id>82fdebc3d31665f08f08b3fdf58102c4e8bd399b</id>
  <committed-date>2008-05-01T06:01:56-07:00</committed-date>
  <authored-date>2008-05-01T06:01:56-07:00</authored-date>
  <message>Adding Class type support to DO.</message>
  <tree>6a6bab31652de52f4b4ec71bda2f87707a8d90a9</tree>
  <committer>
    <name>Sam Smoot</name>
    <email>ssmoot@gmail.com</email>
  </committer>
</commit>
