Diff
Not logged in

Differences From:

File src/db.c part of check-in [16fbb59b96] - Fix the delta computation on download so that it never tries to delta a file that has the same file as both its parent and its child. by drh on 2007-12-03 19:08:11. [view]

To:

File src/db.c part of check-in [371dd6574c] - Fix the revert command so that it works from subdirectories. Other minor comment and help-text changes. by drh on 2007-12-04 01:26:21. Also file src/db.c part of check-in [d0305b305a] - Merged mainline into my branch to get the newest application. by aku on 2007-12-05 08:07:46. [view]

@@ -324,9 +324,9 @@
 const char *db_column_name(Stmt *pStmt, int N){
   return (char*)sqlite3_column_name(pStmt->pStmt, N);
 }
 int db_column_count(Stmt *pStmt){
-  return (char*)sqlite3_column_count(pStmt->pStmt);
+  return sqlite3_column_count(pStmt->pStmt);
 }
 char *db_column_malloc(Stmt *pStmt, int N){
   return mprintf("%s", db_column_text(pStmt, N));
 }