wez             Tue Jul  1 09:09:57 2003 EDT

  Modified files:              
    /php-src/ext/sqlite sess_sqlite.c 
  Log:
  WS
  
  
Index: php-src/ext/sqlite/sess_sqlite.c
diff -u php-src/ext/sqlite/sess_sqlite.c:1.1 php-src/ext/sqlite/sess_sqlite.c:1.2
--- php-src/ext/sqlite/sess_sqlite.c:1.1        Tue Jul  1 09:07:37 2003
+++ php-src/ext/sqlite/sess_sqlite.c    Tue Jul  1 09:09:57 2003
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: sess_sqlite.c,v 1.1 2003/07/01 13:07:37 wez Exp $ */
+/* $Id: sess_sqlite.c,v 1.2 2003/07/01 13:09:57 wez Exp $ */
 
 #include "php.h"
 #include "ext/session/php_session.h"
@@ -71,9 +71,9 @@
 
 PS_OPEN_FUNC(sqlite) 
 {
-    char *filepath;
+       char *filepath;
        char *errmsg = NULL;
-    int spath_len, sname_len, fp_len;
+       int spath_len, sname_len, fp_len;
        sqlite *db;
 
        /* TODO: do we need a safe_mode check here? */
@@ -86,14 +86,14 @@
 
        /* allow up to 1 minute when busy */
        sqlite_busy_timeout(db, 60000);
-    
-    /* This will fail if the table already exists, but that's not a big problem. I'm
-    unclear as to how to check for a table's existence in SQLite -- that would be 
better here. */
-    sqlite_exec(db, CREATE_TBL_QUERY, NULL, NULL, NULL);
-    
-    PS_SET_MOD_DATA(db);
 
-    return SUCCESS;
+       /* This will fail if the table already exists, but that's not a big problem. 
I'm
+          unclear as to how to check for a table's existence in SQLite -- that would 
be better here. */
+       sqlite_exec(db, CREATE_TBL_QUERY, NULL, NULL, NULL);
+
+       PS_SET_MOD_DATA(db);
+
+       return SUCCESS;
 }
 
 PS_CLOSE_FUNC(sqlite) 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to