more page cache
This commit is contained in:
parent
7248dc6868
commit
7184778c28
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,10 @@
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <assert.h>
|
||||||
|
#include <pthread.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef SQLITEINT_H
|
#ifndef SQLITEINT_H
|
||||||
#define SQLITEINT_H
|
#define SQLITEINT_H
|
||||||
|
@ -32,6 +35,10 @@ typedef struct sqlite3_pcache_page {
|
||||||
void *pExtra; /* Extra information associated with the page */
|
void *pExtra; /* Extra information associated with the page */
|
||||||
} sqlite3_pcache_page;
|
} sqlite3_pcache_page;
|
||||||
|
|
||||||
|
#define ROUNDDOWN8(x) ((x) & ~7)
|
||||||
|
|
||||||
|
#define ROUND8(x) (((x) + 7) & ~7)
|
||||||
|
|
||||||
typedef u32 Pgno;
|
typedef u32 Pgno;
|
||||||
|
|
||||||
typedef struct Pager Pager;
|
typedef struct Pager Pager;
|
||||||
|
|
Loading…
Reference in New Issue