~ubuntu-branches/ubuntu/wily/sqlite3/wily

« back to all changes in this revision

Viewing changes to src/test_btree.c

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2012-06-13 21:43:48 UTC
  • mfrom: (0.34.1) (0.32.2) (9.1.36 sid)
  • Revision ID: package-import@ubuntu.com-20120613214348-2pg18uml05o7h2k5
Tags: 3.7.13-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  BtShared *pBt;
34
34
  Tcl_Obj *pRet = Tcl_NewObj();
35
35
  for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
36
 
    const char *zFile = sqlite3PagerFilename(pBt->pPager);
 
36
    const char *zFile = sqlite3PagerFilename(pBt->pPager, 1);
37
37
    Tcl_ListObjAppendElement(interp, pRet, Tcl_NewStringObj(zFile, -1));
38
38
    Tcl_ListObjAppendElement(interp, pRet, Tcl_NewIntObj(pBt->nRef));
39
39
  }