Lines Matching defs:local
12321 ** changeset recorded (the "local" changeset). Then, a changeset based
12330 ** For example, if both the local and remote changesets contain an
12333 ** local: INSERT INTO t1 VALUES(1, 'v1');
12337 ** removed from the local changeset (it was overridden). Or, if the
12338 ** conflict resolution was "OMIT", then the local changeset is modified
12343 ** Changes within the local changeset are rebased as follows:
12375 ** A local change may be rebased against multiple remote changes
12377 ** changesets, they are combined as follows before the local changeset
12385 ** the local changeset is rebased according to the most recent
12392 ** local change may be rebased for REPLACE while others are rebased for
12395 ** In order to rebase a local changeset, the remote changeset must first
12396 ** be applied to the local database using sqlite3changeset_apply_v2() and
12404 ** If the local changeset is to be rebased against multiple remote
12408 ** <li> Each local changeset is rebased by calling sqlite3rebaser_rebase().
24016 ** local time.
24100 sqlite3_result_error(pCtx, "local time unavailable", -1);
24223 ** show local time.
29084 ** State information local to the memory allocation subsystem.
35982 ** underlying key/value store to use - either "local" or "session".
36613 if( strcmp(zName, "local")==0
36619 if( strcmp(zName, "local-journal")==0
36630 pFile->zClass = "local";
36645 if( strcmp(zPath, "local-journal")==0 ){
36646 sqlite3KvvfsMethods.xDelete("local", "jrnl");
36665 if( strcmp(zPath, "local-journal")==0 ){
36666 *pResOut = sqlite3KvvfsMethods.xRead("local", "jrnl", 0, 0)>0;
36671 if( strcmp(zPath, "local")==0 ){
36672 *pResOut = sqlite3KvvfsMethods.xRead("local", "sz", 0, 0)>0;
36697 zPath = "local";
40500 ** It shouldn't be possible for fullfsync to fail on the local
41884 /* Undo the local locks */
41900 /* Get the local shared locks */
43224 ** never use proxy, NULL means use proxy for non-local files only. */
43757 ** This works well on the local file system, but shows a nearly 100x
43771 ** and onto a proxy file on the local file system.
43833 ** host (the conch ensures that they all use the same local lock file).
43850 ** Database files accessed on non-local file systems are
43886 ** and local proxy files in it
44332 /* for auto-named local lock file, just check the host ID and we'll
44333 ** use the local lock file path that's already in there
44562 ** the local lock file path
44625 ** will be performed on the local proxy lock file. The following fields
45245 ** This macro is used when a local variable is set to a value that is
45353 winceLock local; /* Locks obtained by this instance of winFile */
47337 /* Initialize the local lockdata */
47338 memset(&pFile->local, 0, sizeof(pFile->local));
47425 if (pFile->local.nReaders){
47428 if (pFile->local.bReserved){
47431 if (pFile->local.bPending){
47434 if (pFile->local.bExclusive){
47473 pFile->local.bExclusive = TRUE;
47482 pFile->local.nReaders ++;
47483 if (pFile->local.nReaders == 1){
47496 pFile->local.bPending = TRUE;
47506 pFile->local.bReserved = TRUE;
47537 if (pFile->local.bExclusive){
47539 pFile->local.bExclusive = FALSE;
47545 else if (pFile->local.nReaders){
47548 pFile->local.nReaders --;
47549 if (pFile->local.nReaders == 0)
47560 if (pFile->local.bPending){
47561 pFile->local.bPending = FALSE;
47569 if (pFile->local.bReserved) {
47570 pFile->local.bReserved = FALSE;
48469 OSTRACE(("TEST-WR-LOCK file=%p, result=%d (local)\n", pFile->h, res));
49189 /* Undo the local locks */
49218 /* Get the local shared locks */
49234 ** also mark the local connection as being locked.
53597 ** (3) PCache-local bulk allocation.
53600 ** that is allocated when the page cache is created. The size of the local
53654 u16 isBulkLocal; /* This page from bulk local storage */
53735 PgHdr1 *pFree; /* List of unused pcache-local pages */
53736 void *pBulk; /* Bulk memory used by pcache-local */
57161 ** is being called from within pager_playback(). The local value
62746 ** be written to, store pPg->pgno in local variable needSyncPgno.
66039 ** to the caller that the local page cache is obsolete and needs to be
67855 u16 nCell; /* Number of cells on this page, local and ovfl */
68006 u16 maxLocal; /* Maximum local payload in non-LEAFDATA tables */
68007 u16 minLocal; /* Minimum local payload in non-LEAFDATA tables */
68008 u16 maxLeaf; /* Maximum local payload in a LEAFDATA table */
68009 u16 minLeaf; /* Minimum local payload in a LEAFDATA table */
69736 /* If the payload will not fit completely on the local page, we have
69739 ** space on overflow pages while keeping the amount of local storage
69747 int surplus; /* Overflow payload available for local storage */
69773 int surplus; /* Overflow payload available for local storage */
69884 ** on the local page. No overflow is required.
69921 ** on the local page. No overflow is required.
69944 ** data header and the local payload, but not any overflow page or
73830 ** and data to fit on the local page and for there to be no overflow
73856 ** of local content. Database must be corrupt. */
73867 ** many bytes of the key or data as are available on the local
75517 ** *pnSize Size of the local cell (not counting overflow pages)
75534 /* Write the payload into the local Cell and any extra into overflow pages */
76663 ** into the local b.apCell[] array. Make copies of the divider cells
77563 /* Overwrite the local portion first */
81739 ** also sets a flag in local variable "flags" to indicate the memory
81823 u32 available = 0; /* Number of bytes available on the local btree page */
86431 ** The few cases that require local variables are broken out into a separate
86535 /* These use local variables, so do them in a separate routine
96072 ** the name of the db to pass as to it. Also set local pTab to a copy
97510 ** cell is required for each cursor used by the program. Set local
105454 /* Set up the local name-context to pass to sqlite3ResolveExprNames() to
133242 ** /usr/local/lib/libExample5.4.3.so ==> sqlite3_example_init
135084 ** The first form reports the current local setting for the
135085 ** page cache size. The second form sets the local
135108 ** The first form reports the current local setting for the
135194 ** Return or set the local value of the temp_store flag. Changing
135195 ** the local value does not make changes to the disk file and the default
135214 ** Return or set the local value of the temp_store_directory flag. Changing
135258 ** Return or set the local value of the data_store_directory flag. Changing
135336 ** Return or set the local value of the synchronous flag. Changing
135337 ** the local value does not make changes to the disk file and the
145368 /* Various elements of the SELECT copied into local variables for
159958 /* There is no INDEXED BY clause. Create a fake Index object in local
166031 ** address of the OP_Gosub is stored in local variable addrGosubFlush. */
176824 zFilename = "file:local?vfs=kvvfs";
177310 ** to the caller in local variables zDataType, zCollSeq, notnull, primarykey
177337 ** to whatever their local counterparts contain. If an error did occur,
182644 /* Read the values returned by the SELECT into local variables. */
182969 /* Collect arguments into local variables */
196662 ** fts3ExprIterate() callback used to collect the "local" part of the
196663 ** FTS3_MATCHINFO_HITS array. The local stats are those elements of the
197064 int bGlobal = 0; /* Collect 'global' stats as well as local */
201258 ** formatted as a RtreeDValue (double or int64). This macro assumes that local
214277 int nLocal; /* Bytes of local payload */
214639 u32 nPayload; /* Bytes of payload total (local+overflow) */
221019 ** This function is called when rebasing a local UPDATE change against one
221032 ** * For each field modified by the local change for which the
221039 sqlite3_changeset_iter *pIter, /* Iterator pointed at local change */