/ Check-in [6a88cd46]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:replaced relative lock proxy paths with absolute
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | apple-osx
Files: files | file ages | folders
SHA1:6a88cd46aeef3c50c91d5aadc61dd0b0982f8a4f
User & Date: adam 2010-09-10 00:59:29
Context
2010-09-10
20:19
replaced relative lock proxy paths with absolute check-in: 782c3351 user: adam tags: apple-osx
00:59
replaced relative lock proxy paths with absolute check-in: 6a88cd46 user: adam tags: apple-osx
00:18
Make sure SQLite is running with MEMSTATUS enabled at the beginning of every test script. check-in: b6e9a4d8 user: drh tags: apple-osx
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/lock6.test.

   122    122       set lockpath [execsql {
   123    123         PRAGMA lock_proxy_file=":auto:";
   124    124         PRAGMA lock_proxy_file;
   125    125       } db]
   126    126       set lockpath
   127    127     } {{:auto: (not held)}}
   128    128   
          129  +  set lpp [pwd]/notmine
   129    130     do_test lock6-1.4.1 {
          131  +    execsql "PRAGMA lock_proxy_file='$lpp'"
   130    132       catchsql {
   131         -      PRAGMA lock_proxy_file="notmine";
   132    133         select * from sqlite_master;
   133    134       } db
   134    135     } {1 {database is locked}}
   135    136   
   136    137     do_test lock6-1.4.2 {
   137    138       execsql {
   138    139         PRAGMA lock_proxy_file;
   139    140       } db
   140         -  } {notmine}
          141  +  } $lpp
   141    142       
   142    143     do_test lock6-1.5 {
   143    144       testfixture $::tf1 {
   144    145         db eval {
   145    146           BEGIN;
   146    147           SELECT * FROM sqlite_master;
   147    148         }
   148    149       }
   149    150     } {}
   150    151   
   151    152     catch {testfixture $::tf1 {db close}}
   152    153   
          154  +  set lpp [pwd]/mine
   153    155     do_test lock6-1.6 {
          156  +    execsql "PRAGMA lock_proxy_file='$lpp'"
   154    157       execsql {
   155         -      PRAGMA lock_proxy_file="mine";
   156    158         select * from sqlite_master;
   157    159       } db
   158    160     } {}
   159    161     
   160    162     catch {close $::tf1}
   161    163     set env(SQLITE_FORCE_PROXY_LOCKING) $using_proxy
   162    164     set sqlite_hostid_num 0
   163    165   
   164    166     sqlite3_soft_heap_limit $cmdlinearg(soft-heap-limit)
   165    167   }
   166    168         
   167    169   finish_test