Lines Matching refs:proxy
8941 ** used as a proxy for the total work done by the prepared statement.
36801 ** * Various locking primitive implementations (all except proxy locking):
36812 ** * Locking primitives for the proxy uber-locking-method. (MacOSX only)
36829 ** 7. proxy locking. (OSX only)
36940 ** Default permissions when creating auto proxy dir
40715 ** Handler for proxy-locking file-control verbs. Defined below in the
42378 ** The proxy locking method is a "super-method" in the sense that it
42380 ** it uses proxy, dot-file, AFP, and flock() locking methods on those
42382 ** proxy locking is located much further down in the file. But we need
42384 ** for proxy locking here. So we forward declare the I/O methods.
42581 ** proxyLock activation is possible (remote proxy is based on db name)
42791 ** Routine to transform a unixFile into a proxy-locking unixFile.
42792 ** Implementation in the proxy-lock division, but used by unixOpen()
43223 /* SQLITE_FORCE_PROXY_LOCKING==1 means force always use proxy, 0 means
43224 ** never use proxy, NULL means use proxy for non-local files only. */
43735 ** this reason, the division that implements of proxy locking is deferred
43738 ** as services to help with the implementation of proxy locking.
43768 ** To address the performance and cache coherency issues, proxy file locking
43771 ** and onto a proxy file on the local file system.
43774 ** Using proxy locks
43791 ** host ID in it, the proxy path in the conch file will be used, otherwise
43792 ** a proxy path based on the user's temp dir
43794 ** actual proxy file name is generated from the name and path of the
43800 ** Once a lock proxy is configured for a database connection, it can not
43801 ** be removed, however it may be switched to a different proxy path via
43806 ** How proxy locking works
43814 ** * proxy file to act as a proxy for the advisory locks normally
43817 ** The conch file - to use a proxy file, sqlite must first "hold the conch"
43820 ** proxy path against the values stored in the conch. The conch file is
43824 ** host ID and/or proxy path, then the lock is escalated to an exclusive
43825 ** lock and the conch file contents is updated with the host ID and proxy
43830 ** The proxy file - a single-byte file used for all advisory file locks
43835 ** Requesting the lock proxy does not immediately take the conch, it is
43842 ** The proxy file and the lock file are never deleted so they only need
43851 ** automatically configured for proxy locking, lock files are
43862 ** Overrides the default directory used for lock proxy files that
43868 ** lock proxy files, only used when LOCKPROXYDIR is not set.
43873 ** force proxy locking to be used for every database file opened, and 0
43874 ** will force automatic proxy locking to be disabled for all database
43886 ** and local proxy files in it
43892 unixFile *lockProxy; /* Open proxy lock file */
43893 char *lockProxyPath; /* Name of the proxy lock file */
43902 ** The proxy lock file path for the database at dbPath is written into lPath,
43943 OSTRACE(("GETLOCKPATH proxy lock path=%s pid=%d\n", lPath, osGetpid(0)));
43969 "'%s' proxy lock path=%s pid=%d\n",
43979 OSTRACE(("CREATELOCKPATH proxy lock path=%s pid=%d\n",lockPath,osGetpid(0)));
44456 /* we couldn't create the proxy lock file with the old lock file path
44499 proxyLockingContext *pCtx; /* The locking context for the proxy lock */
44561 /* Takes a fully configured proxy locking-style unix file and switches
44625 ** will be performed on the local proxy lock file. The following fields
44716 ** to proxy locking.
44741 /* turn off proxy locking - not supported. If support is added for
44742 ** switching proxy locking mode off then it will need to fail if
44747 /* turn off proxy locking - already off - NOOP */
44764 /* turn on proxy file locking */
44781 ** proxy-locking sqlite3_io_method object follow.
44797 unixFile *proxy = pCtx->lockProxy;
44798 return proxy->pMethod->xCheckReservedLock((sqlite3_file*)proxy, pResOut);
44836 unixFile *proxy = pCtx->lockProxy;
44837 rc = proxy->pMethod->xLock((sqlite3_file*)proxy, eFileLock);
44838 pFile->eFileLock = proxy->eFileLock;
44860 unixFile *proxy = pCtx->lockProxy;
44861 rc = proxy->pMethod->xUnlock((sqlite3_file*)proxy, eFileLock);
44862 pFile->eFileLock = proxy->eFileLock;
44871 ** Close a file that uses proxy locks.
44914 ** The proxy locking style is intended for use with AFP filesystems.
44915 ** And since AFP is only supported on MacOSX, the proxy locking is also
44919 ******************* End of the proxy lock implementation **********************
45011 UNIXVFS("unix-proxy", proxyIoFinder ),
135324 sqlite3ErrorMsg(pParse, "failed to set lock proxy file");