mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Move codec management from database connections into the pager so that it
will work together with shared cache. (CVS 6782) FossilOrigin-Name: ed08b53cd64c4ff2c94ef4e48441c5236041c9ca
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
** is not included in the SQLite library. It is used for automated
|
||||
** testing of the SQLite library.
|
||||
**
|
||||
** $Id: test2.c,v 1.70 2009/02/05 16:31:46 drh Exp $
|
||||
** $Id: test2.c,v 1.71 2009/06/18 17:22:39 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "tcl.h"
|
||||
@@ -86,7 +86,7 @@ static int pager_open(
|
||||
}
|
||||
sqlite3PagerSetCachesize(pPager, nPage);
|
||||
pageSize = test_pagesize;
|
||||
sqlite3PagerSetPagesize(pPager, &pageSize);
|
||||
sqlite3PagerSetPagesize(pPager, &pageSize, -1);
|
||||
sqlite3_snprintf(sizeof(zBuf),zBuf,"%p",pPager);
|
||||
Tcl_AppendResult(interp, zBuf, 0);
|
||||
return TCL_OK;
|
||||
|
||||
Reference in New Issue
Block a user