<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>dbi/sqlite/Sqlite.d</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -6,7 +6,7 @@ file &quot;testddbi.exe&quot; =&gt; TEST_SRC do
 end
 
 task :test =&gt; [&quot;testddbi.exe&quot;] do
-	sh &quot;./testddbi&quot;
+	sh &quot;testddbi&quot;
 end
 
 task :default =&gt; [&quot;test&quot;]</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -89,5 +89,5 @@ version(dbi_mysql) {
 }
 
 version(dbi_sqlite) {
-	import dbi.sqlite.SqliteDatabase;
+	import dbi.sqlite.Sqlite;
 }
\ No newline at end of file</diff>
      <filename>dbi/DBI.d</filename>
    </modified>
    <modified>
      <diff>@@ -8,6 +8,7 @@ private static import tango.text.Util;
 private static import tango.io.Stdout;
 public import dbi.Exception;
 public import dbi.util.SqlGen, dbi.model.Statement, dbi.model.Metadata, dbi.model.Result;
+import dbi.util.Excerpt;
 
 debug(DBITest) public import tango.io.Stdout;
 
@@ -29,6 +30,8 @@ enum DbiFeature
  * The database interface that all databases must inherit from.
  *
  * See_Also:
+ *  The documentation for dbi.model.Result - Database inherits from Result.
+ * 
  *	The database class for the specific database you are using.  Many databases have
  *	functions that are specific to themselves, as they wouldn't make sense in any man
  *	other databases.  Please reference the documentation for the database you will be
@@ -130,6 +133,9 @@ abstract class Database : Result, IStatementProvider {
 	 */
 	abstract ulong lastInsertID();
 		
+	/**
+	 * Prepares a statement with the given sql
+	 */
 	Statement prepare(char[] sql)
 	{
 		auto pSt = sql in cachedStatements;
@@ -505,9 +511,11 @@ debug(DBITest) {
 		this(Database db)
 		{
 			this.db = db;
+			this.log = Log.lookup(&quot;dbi.DBTest&quot;);
 		}
 		
 		Database db;
+		Logger log;
 		
 		void run()
 		{
@@ -526,13 +534,17 @@ debug(DBITest) {
 		
 		void setup()
 		{
+			log.trace(&quot;Dropping dbi_test&quot;);
 			char[] drop_test = db.sqlGen.makeDropSql(&quot;dbi_test&quot;);
-			Stdout.formatln(&quot;executing: {}&quot;, drop_test);
+			log.trace(&quot;Executing: {}&quot;, excerpt(drop_test));
 			db.query(drop_test);
 			
+			log.trace(&quot;Creating dbi_test&quot;);
 			auto create_test = db.sqlGen.makeCreateSql(&quot;dbi_test&quot;, columns);
-			Stdout.formatln(&quot;executing: {}&quot;, create_test);
+			log.trace(&quot;Executing: {}&quot;, excerpt(create_test));
 			db.query(create_test);
+			
+			log.trace(&quot;Done setuping up dbi_test&quot;);
 		}
 		
 		void teardown()
@@ -562,6 +574,7 @@ debug(DBITest) {
 		
 		void initData()
 		{
+			log.trace(&quot;Initializing data&quot;);
 			data.ub = 1;
 			data.b = -56;
 			data.us = 15764;
@@ -655,7 +668,7 @@ debug(DBITest) {
 				assert(dataCopy.s == data.s);
 				assert(dataCopy.ui == data.ui);
 				assert(dataCopy.i == data.i);
-				assert(dataCopy.ul == data.ul);
+				assert(dataCopy.ul == data.ul,Integer.toString(dataCopy.ul) ~ &quot; != &quot; ~ Integer.toString(data.ul));
 				assert(dataCopy.l == data.l);
 				assert(abs(dataCopy.f - data.f) &lt; 0.00001);
 				assert(abs(dataCopy.d - data.d) &lt; 0.0000001);</diff>
      <filename>dbi/model/Database.d</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ name=dbi
 exclude=buildme.d
 
 [testddbi.d]
-buildflags= -unittest -version=dbi_mysql -debug -debug=DBITest
+buildflags= -unittest  -version=dbi_sqlite -debug -debug=DBITest -g
 target=testddbi
 
 [dbi]</diff>
      <filename>dsss.conf</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>dbi/sqlite/SqliteDatabase.d</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>9f5042655bc93068258896159700beb6cf111cc0</id>
    </parent>
  </parents>
  <author>
    <name>aaronc</name>
    <email>aaronc+git@practivist.org</email>
  </author>
  <url>http://github.com/aaronc/ddbi/commit/0f8d71c59610913add69d62358fd0a5390e038ff</url>
  <id>0f8d71c59610913add69d62358fd0a5390e038ff</id>
  <committed-date>2009-01-25T20:54:50-08:00</committed-date>
  <authored-date>2009-01-25T20:54:50-08:00</authored-date>
  <message>Work getting Sqlite working</message>
  <tree>4a54cd84633094ea3f0b878f6cffb9508977e441</tree>
  <committer>
    <name>aaronc</name>
    <email>aaronc+git@practivist.org</email>
  </committer>
</commit>
