Lines Matching defs:DbdataCursor
91 typedef struct DbdataCursor DbdataCursor; typedef
94 struct DbdataCursor { struct
95 sqlite3_vtab_cursor base; /* Base class. Must be first */
96 sqlite3_stmt *pStmt; /* For fetching database pages */
98 int iPgno; /* Current page number */
99 u8 *aPage; /* Buffer containing page */
100 int nPage; /* Size of aPage[] in bytes */
101 int nCell; /* Number of cells on aPage[] */
102 int iCell; /* Current cell number */
103 int bOnePage; /* True to stop after one page */
104 int szDb;
105 sqlite3_int64 iRowid;
108 u8 *pRec; /* Buffer containing current record */
109 sqlite3_int64 nRec; /* Size of pRec[] in bytes */
110 sqlite3_int64 nHdr; /* Size of header in bytes */
111 int iField; /* Current field number */
112 u8 *pHdrPtr;
113 u8 *pPtr;
114 u32 enc; /* Text encoding */
116 sqlite3_int64 iIntkey; /* Integer key value */