Home | History | Annotate | Download | only in dist

Lines Matching refs:readOnly

766 #define SQLITE_READONLY     8   /* Attempt to write a readonly database */
4026 ** <tr><td> file:data.db?mode=readonly <td>
4027 ** An error. "readonly" is not a valid option for the "mode" parameter.
23508 bft readOnly:1; /* True for statements that do not write */
44259 ** ReadOnly() -> (READONLY)
44313 ** (a) Exactly one of the READWRITE and READONLY flags must be set, and
51373 ** (a) Exactly one of the READWRITE and READONLY flags must be set, and
57380 u8 readOnly; /* True for a read-only database */
61472 int readOnly = 0; /* True if this is a read-only file */
61672 readOnly = (fout&SQLITE_OPEN_READONLY)!=0;
61684 if( !readOnly ){
61731 readOnly = (vfsFlags&SQLITE_OPEN_READONLY);
61780 pPager->readOnly = (u8)readOnly;
62009 if( pPager->readOnly ){
62783 assert( pPager->readOnly==0 );
63540 return pPager->readOnly;
65073 u8 readOnly; /* WAL_RDWR, WAL_RDONLY, or WAL_SHM_RDONLY */
65110 ** Possible values for WAL.readOnly
65113 #define WAL_RDONLY 1 /* The WAL file is readonly */
65114 #define WAL_SHM_RDONLY 2 /* The SHM file is readonly */
65336 pWal->readOnly |= WAL_SHM_RDONLY;
66266 pRet->readOnly = WAL_RDONLY;
67194 assert( rc!=SQLITE_READONLY ); /* READONLY changed to OK in walIndexPage */
67204 assert( pWal->readOnly & WAL_SHM_RDONLY );
67229 if( pWal->bShmUnreliable==0 && (pWal->readOnly & WAL_SHM_RDONLY) ){
67322 assert( pWal->readOnly & WAL_SHM_RDONLY );
67552 assert( (pWal->readOnly & WAL_SHM_RDONLY)==0 || useWal==0 );
67706 if( (pWal->readOnly & WAL_SHM_RDONLY)==0
67723 assert( rc==SQLITE_BUSY || (pWal->readOnly & WAL_SHM_RDONLY)!=0 );
68226 if( pWal->readOnly ){
68830 if( pWal->readOnly ) return SQLITE_READONLY;
69618 #define BTS_READ_ONLY 0x0001 /* Underlying file is readonly */
85232 ** (3) Update the Vdbe.readOnly and Vdbe.bIsReader flags to accurately
85250 p->readOnly = 1;
85266 if( pOp->p2!=0 ) p->readOnly = 0;
85279 p->readOnly = 0;
87526 if( p->readOnly==0 ) nWrite++;
87702 if( !p->readOnly || mrc!=SQLITE_INTERRUPT ){
87730 && db->nVdbeWrite==(p->readOnly==0)
87735 if( NEVER(p->readOnly) ){
87750 if( rc==SQLITE_BUSY && p->readOnly ){
87823 if( !p->readOnly ) db->nVdbeWrite--;
90671 if( p->readOnly==0 ) db->nVdbeWrite++;
91845 return pStmt ? ((Vdbe*)pStmt)->readOnly : 1;
93464 assert( p->bIsReader || p->readOnly!=0 );
96621 assert( p->readOnly==0 || pOp->p2==0 );
96769 assert( p->readOnly==0 );
96905 || p->readOnly==0 );
99397 assert( p->readOnly==0 );
99447 assert( p->readOnly==0 );
99506 assert( p->readOnly==0 );
100402 assert( p->readOnly==0 );
100455 assert( p->readOnly==0 );
100540 assert( p->readOnly==0 );
100560 assert( p->readOnly==0 );
101036 assert( p->readOnly==0 );
101093 assert( p->readOnly==0 );
179804 /* SQLITE_READONLY */ "attempt to write a readonly database",
181617 testcase( (1<<(flags&7))==0x02 ); /* READONLY */