Searched refs:db (Results 1 - 25 of 52) sorted by relevance

123

/PHP_5_4/ext/pdo/tests/
H A Dpdo_test.inc35 $db = new $classname($dsn, $user, $pass, $attr);
37 if (!$db) {
50 $db->exec("DROP TABLE $table");
54 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
55 $db->setAttribute(PDO::ATTR_CASE, PDO::CASE_LOWER);
56 $db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, true);
57 return $db;
62 $db = PDOTest::factory();
/PHP_5_4/ext/pdo_dblib/tests/
H A Dconfig.inc20 $db = new PDO($dsn, $user, $pass);
21 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
22 $db->setAttribute(PDO::ATTR_STRINGIFY_FETCHES, false);
/PHP_5_4/ext/pdo_mysql/tests/
H A Dtable.inc2 if (!$db) {
4 $db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
6 // $db->exec('DROP TABLE IF EXISTS test');
7 $db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine);
8 $db->exec('INSERT INTO test(id, label) VALUES (1, "a"), (2, "b"), (3, "c"), (4, "d"), (5, "e"), (6, "f")');
H A Dmysql_pdo_test.inc24 $db = new $classname($dsn, $user, $pass, $attr);
25 if (!$db) {
29 $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
30 $db->setAttribute(PDO::ATTR_CASE, PDO::CASE_LOWER);
32 return $db;
35 static function createTestTable($db, $engine = null) {
39 $db->exec('DROP TABLE IF EXISTS test');
40 $db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine);
41 $db->exec("INSERT INTO test(id, label) VALUES (1, 'a'), (2, 'b'), (3, 'c'), (4, 'd'), (5, 'e'), (6, 'f')");
82 static function getClientVersion($db) {
[all...]
/PHP_5_4/ext/phar/tests/files/
H A Dpear2coverage.phar.php493 function __construct($testpath, $codepath, $db = ':memory:')
504 $this->sqlite = new Sqlite($codepath, $db);
752 function __construct($testpath, $codepath, $db = ':memory:')
763 $this->sqlite = new Sqlite($db, $codepath, $testpath);
928 protected $db;
938 $this->db = new \Sqlite3($path);
941 if (@$this->db->querySingle($sql) == '2.1.0') {
942 $this->codepath = $this->db->querySingle('SELECT codepath FROM paths');
943 $this->testpath = $this->db->querySingle('SELECT testpath FROM paths');
954 $this->db
925 protected $db; variable
935 $this->db = new \\Sqlite3($path); variable
[all...]
/PHP_5_4/ext/spl/examples/
H A Ddba_dump.php32 $db = new DbaReader($argv[1], $argv[2]); variable
35 $db = new KeyFilter($db, $argv[3]); variable
38 foreach($db as $key => $val) {
H A Ddbaarray.inc30 $this->db = dba_popen($file, "c", $handler);
31 if (!$this->db) {
52 $data = dba_fetch($name, $this->db);
71 //dba_replace($name, serialize($value), $this->db);
72 dba_replace($name, $value, $this->db);
81 return dba_exists($name, $this->db);
91 return dba_delete($name, $this->db);
H A Ddbareader.inc20 protected $db = NULL;
31 if (!$this->db = dba_open($file, 'r', $handler)) {
40 dba_close($this->db);
47 $this->key = dba_firstkey($this->db);
57 $this->key = dba_nextkey($this->db);
66 $this->val = dba_fetch($this->key, $this->db);
81 if ($this->db && $this->key !== false) {
/PHP_5_4/ext/sqlite3/libsqlite/
H A Dsqlite3.h1910 sqlite3 *db, /* An open database */
1974 ** sqlite3_exec(db, zSQL, 0, 0, 0);
2002 ** sqlite3_exec(db, zSQL, 0, 0, 0);
2509 ** <tr><td> file:data.db <td>
2510 ** Open the file "data.db" in the current directory.
2511 ** <tr><td> file:/home/fred/data.db<br>
2512 ** file:///home/fred/data.db <br>
2513 ** file://localhost/home/fred/data.db <br> <td>
2514 ** Open the database file "/home/fred/data.db".
2515 ** <tr><td> file://darkstar/home/fred/data.db <t
[all...]
H A Dsqlite3.c2457 sqlite3 *db, /* An open database */
2521 ** sqlite3_exec(db, zSQL, 0, 0, 0);
2549 ** sqlite3_exec(db, zSQL, 0, 0, 0);
3056 ** <tr><td> file:data.db <td>
3057 ** Open the file "data.db" in the current directory.
3058 ** <tr><td> file:/home/fred/data.db<br>
3059 ** file:///home/fred/data.db <br>
3060 ** file://localhost/home/fred/data.db <br> <td>
3061 ** Open the database file "/home/fred/data.db".
3062 ** <tr><td> file://darkstar/home/fred/data.db <t
9842 sqlite3 *db; /* Database connection associated with this table */ member in struct:VTable
10018 sqlite3 *db; /* The database connection */ member in struct:KeyInfo
10782 sqlite3 *db; /* The main database structure */ member in struct:Parse
11004 sqlite3 *db; /* Optional database for lookaside. Can be NULL */ member in struct:StrAccum
11020 sqlite3 *db; /* The database being initialized */ member in struct:__anon192
12626 sqlite3 *db; /* The associated database connection */ member in struct:Mem
12757 sqlite3 *db; /* The database connection that owns this statement */ member in struct:Vdbe
12996 sqlite3_db_status( sqlite3 *db, int op, int *pCurrent, int *pHighwater, int resetFlag ) argument
13418 sqlite3 *db = sqlite3_context_db_handle(context); local
14003 sqlite3 *db; local
14187 sqlite3 *db; local
18443 isLookaside(sqlite3 *db, void *p) argument
18459 sqlite3DbMallocSize(sqlite3 *db, void *p) argument
18493 sqlite3DbFree(sqlite3 *db, void *p) argument
18593 sqlite3DbMallocZero(sqlite3 *db, int n) argument
18619 sqlite3DbMallocRaw(sqlite3 *db, int n) argument
18663 sqlite3DbRealloc(sqlite3 *db, void *p, int n) argument
18700 sqlite3DbReallocOrFree(sqlite3 *db, void *p, int n) argument
18716 sqlite3DbStrDup(sqlite3 *db, const char *z) argument
18730 sqlite3DbStrNDup(sqlite3 *db, const char *z, int n) argument
18749 sqlite3SetString(char **pz, sqlite3 *db, const char *zFormat, ...) argument
18774 sqlite3ApiExit(sqlite3* db, int rc) argument
19643 sqlite3VMPrintf(sqlite3 *db, const char *zFormat, va_list ap) argument
19663 sqlite3MPrintf(sqlite3 *db, const char *zFormat, ...) argument
19680 sqlite3MAppendf(sqlite3 *db, char *zStr, const char *zFormat, ...) argument
20404 sqlite3Utf16to8(sqlite3 *db, const void *z, int nByte, u8 enc) argument
20432 sqlite3Utf8to16(sqlite3 *db, u8 enc, char *z, int n, int *pnOut) argument
20642 sqlite3Error(sqlite3 *db, int err_code, const char *zFormat, ...) argument
20678 sqlite3 *db = pParse->db; local
21534 sqlite3HexToBlob(sqlite3 *db, const char *z, int n) argument
21576 sqlite3SafetyCheckOk(sqlite3 *db) argument
21593 sqlite3SafetyCheckSickOrOk(sqlite3 *db) argument
36350 sqlite3 *db; /* The database connection */ member in struct:RowSet
36372 sqlite3RowSetInit(sqlite3 *db, void *pSpace, unsigned int N) argument
46941 sqlite3 *db; /* The database connection holding this btree */ member in struct:Btree
47003 sqlite3 *db; /* Database connection currently using this Btree */ member in struct:BtShared
47413 sqlite3BtreeEnterAll(sqlite3 *db) argument
47422 sqlite3BtreeLeaveAll(sqlite3 *db) argument
47447 sqlite3BtreeHoldsAllMutexes(sqlite3 *db) argument
47476 sqlite3SchemaMutexHeld(sqlite3 *db, int iDb, Schema *pSchema) argument
47503 sqlite3BtreeEnterAll(sqlite3 *db) argument
49213 sqlite3BtreeOpen( sqlite3_vfs *pVfs, const char *zFilename, sqlite3 *db, Btree **ppBtree, int flags, int vfsFlags ) argument
56944 sqlite3 *db = pMem->db; local
57384 sqlite3ValueNew(sqlite3 *db) argument
57404 sqlite3ValueFromExpr( sqlite3 *db, Expr *pExpr, u8 enc, u8 affinity, sqlite3_value **ppVal ) argument
57583 sqlite3VdbeCreate(sqlite3 *db) argument
58132 freeEphemeralFunction(sqlite3 *db, FuncDef *pDef) argument
58143 freeP4(sqlite3 *db, int p4type, void *p4) argument
58194 vdbeFreeOpArray(sqlite3 *db, Op *aOp, int nOp) argument
58223 sqlite3 *db = p->db; local
58260 sqlite3 *db; local
58547 sqlite3 *db; local
58569 sqlite3 *db; local
58612 sqlite3 *db = p->db; local
58686 sqlite3 *db = p->db; /* The database connection */ local
59010 sqlite3 *db; /* The database connection */ local
59197 sqlite3 *db = p->db; local
59221 sqlite3 *db = p->db; local
59274 vdbeCommit(sqlite3 *db, Vdbe *p) argument
59504 checkActiveVdbeCnt(sqlite3 *db) argument
59539 invalidateCursorsOnModifiedBtrees(sqlite3 *db) argument
59560 sqlite3 *const db = p->db; local
59625 sqlite3 *db = p->db; local
59651 sqlite3 *db = p->db; local
59867 sqlite3 *db; local
59977 sqlite3VdbeDeleteObject(sqlite3 *db, Vdbe *p) argument
60001 sqlite3 *db; local
60604 sqlite3VdbeIdxRowid(sqlite3 *db, BtCursor *pCur, i64 *rowid) argument
60718 sqlite3VdbeSetChanges(sqlite3 *db, int nChange) argument
60742 sqlite3ExpirePreparedStatements(sqlite3 *db) argument
60867 sqlite3 *db = v->db; local
61109 doWalCallbacks(sqlite3 *db) argument
61136 sqlite3 *db; local
61274 sqlite3 *db; /* The database connection */ local
61654 sqlite3 *db = p->db; local
62170 sqlite3 *db; /* The database connection */ local
62837 checkSavepointCount(sqlite3 *db) argument
62852 sqlite3 *db = p->db; local
62898 sqlite3 *db = p->db; /* The database */ local
68942 sqlite3 *db; /* The associated database */ member in struct:Incrblob
69018 sqlite3_blob_open( sqlite3* db, const char *zDb, const char *zTable, const char *zColumn, sqlite_int64 iRow, int flags, sqlite3_blob **ppBlob ) argument
69250 sqlite3 *db; local
69277 sqlite3 *db; local
69352 sqlite3 *db; local
70073 sqlite3 *db; /* The database connection */ local
70155 sqlite3 *db = pParse->db; /* The database connection */ local
70425 sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol) argument
70686 sqlite3 *db; /* Database connection */ local
70758 sqlite3 *db; local
70848 sqlite3 *db = pParse->db; local
70951 sqlite3 *db; /* Database connection */ local
71302 sqlite3 *db = pParse->db; local
71330 sqlite3 *db = pParse->db; local
71600 sqlite3ExprAlloc( sqlite3 *db, int op, const Token *pToken, int dequote ) argument
71648 sqlite3Expr( sqlite3 *db, int op, const char *zToken ) argument
71665 sqlite3ExprAttachSubtrees( sqlite3 *db, Expr *pRoot, Expr *pLeft, Expr *pRight ) argument
71720 sqlite3ExprAnd(sqlite3 *db, Expr *pLeft, Expr *pRight) argument
71738 sqlite3 *db = pParse->db; local
71768 sqlite3 *db = pParse->db; local
71838 sqlite3ExprDelete(sqlite3 *db, Expr *p) argument
71968 exprDup(sqlite3 *db, Expr *p, int flags, u8 **pzBuffer) argument
72069 sqlite3ExprDup(sqlite3 *db, Expr *p, int flags) argument
72072 sqlite3ExprListDup(sqlite3 *db, ExprList *p, int flags) argument
72108 sqlite3SrcListDup(sqlite3 *db, SrcList *p, int flags) argument
72141 sqlite3IdListDup(sqlite3 *db, IdList *p) argument
72161 sqlite3SelectDup(sqlite3 *db, Select *p, int flags) argument
72186 sqlite3SelectDup(sqlite3 *db, Select *p, int flags) argument
72206 sqlite3 *db = pParse->db; local
72277 sqlite3 *db = pParse->db; local
72309 sqlite3ExprListDelete(sqlite3 *db, ExprList *pList) argument
72664 sqlite3 *db = pParse->db; /* Database connection */ local
73489 sqlite3 *db = pParse->db; /* The database connection */ local
74719 addAggInfoColumn(sqlite3 *db, AggInfo *pInfo) argument
74737 addAggInfoFunc(sqlite3 *db, AggInfo *pInfo) argument
75032 sqlite3 *db = sqlite3_context_db_handle(context); local
75088 sqlite3 *db = sqlite3_context_db_handle(context); local
75152 sqlite3 *db = sqlite3_context_db_handle(context); local
75245 whereOrName(sqlite3 *db, char *zWhere, char *zConstant) argument
75290 sqlite3 *db = pParse->db; local
75383 sqlite3 *db = pParse->db; /* Database connection */ local
75613 sqlite3 *db; /* The database connection; */ local
75735 sqlite3 *db = pParse->db; local
75863 sqlite3 *db = pParse->db; local
75920 sqlite3 *db = pParse->db; /* Database handle */ local
76192 sqlite3 *db = pParse->db; local
76248 sqlite3 *db = pParse->db; local
76310 sqlite3 *db; member in struct:analysisInfo
76372 sqlite3DeleteIndexSamples(sqlite3 *db, Index *pIdx) argument
76410 sqlite3AnalysisLoad(sqlite3 *db, int iDb) argument
76600 sqlite3 *db = sqlite3_context_db_handle(context); local
76786 sqlite3 *db = sqlite3_context_db_handle(context); local
76844 sqlite3* db = pParse->db; local
76960 sqlite3 *db; local
77159 sqlite3_set_authorizer( sqlite3 *db, int (*xAuth)(void*,int,const char*,const char*,const char*,const char*), void *pArg ) argument
77196 sqlite3 *db = pParse->db; /* Database handle */ local
77229 sqlite3 *db = pParse->db; local
77287 sqlite3 *db = pParse->db; local
77467 sqlite3 *db; local
77573 sqlite3 *db = pParse->db; local
77607 sqlite3FindTable(sqlite3 *db, const char *zName, const char *zDatabase) argument
77674 sqlite3FindIndex(sqlite3 *db, const char *zName, const char *zDb) argument
77695 freeIndex(sqlite3 *db, Index *p) argument
77709 sqlite3UnlinkAndDeleteIndex(sqlite3 *db, int iDb, const char *zIdxName) argument
77747 sqlite3ResetInternalSchema(sqlite3 *db, int iDb) argument
77813 sqlite3CommitInternalChanges(sqlite3 *db) argument
77821 sqliteDeleteColumnNames(sqlite3 *db, Table *pTable) argument
77846 sqlite3DeleteTable(sqlite3 *db, Table *pTable) argument
77892 sqlite3UnlinkAndDeleteTable(sqlite3 *db, int iDb, const char *zTabName) argument
77921 sqlite3NameFromToken(sqlite3 *db, Token *pName) argument
77952 sqlite3FindDbName(sqlite3 *db, const char *zName) argument
77973 sqlite3FindDb(sqlite3 *db, Token *pName) argument
78005 sqlite3 *db = pParse->db; local
78072 sqlite3 *db = pParse->db; local
78289 sqlite3 *db = pParse->db; local
78435 sqlite3 *db = pParse->db; local
78543 sqlite3 *db = pParse->db; local
78563 sqlite3 *db; local
78611 sqlite3 *db = pParse->db; local
78646 sqlite3 *db = pParse->db; local
78711 createTableStmt(sqlite3 *db, Table *p) argument
78802 sqlite3 *db = pParse->db; local
79019 sqlite3 *db = pParse->db; local
79086 sqlite3 *db = pParse->db; /* Database connection for malloc errors */ local
79176 sqliteViewResetAll(sqlite3 *db, int idx) argument
79212 sqlite3RootPageMoved(sqlite3 *db, int iDb, int iFrom, int iTo) argument
79330 sqlite3 *db = pParse->db; local
79512 sqlite3 *db = pParse->db; local
79657 sqlite3 *db = pParse->db; /* The database connection */ local
79752 sqlite3 *db = pParse->db; local
80243 sqlite3 *db = pParse->db; local
80325 sqlite3ArrayAllocate( sqlite3 *db, void *pArray, int szEntry, int initSize, int *pnEntry, int *pnAlloc, int *pIdx ) argument
80360 sqlite3IdListAppend(sqlite3 *db, IdList *pList, Token *pToken) argument
80387 sqlite3IdListDelete(sqlite3 *db, IdList *pList) argument
80429 sqlite3SrcListEnlarge( sqlite3 *db, SrcList *pSrc, int nExtra, int iStart ) argument
80511 sqlite3SrcListAppend( sqlite3 *db, SrcList *pList, Token *pTable, Token *pDatabase ) argument
80564 sqlite3SrcListDelete(sqlite3 *db, SrcList *pList) argument
80608 sqlite3 *db = pParse->db; local
80685 sqlite3 *db; local
80711 sqlite3 *db; local
80731 sqlite3 *db; local
80772 sqlite3 *db = pParse->db; local
80831 sqlite3 *db = pToplevel->db; local
80854 sqlite3 *db = pParse->db; local
80976 sqlite3 *db = pParse->db; /* The database connection */ local
81012 sqlite3 *db = pParse->db; /* The database connection */ local
81073 sqlite3 *db = pParse->db; local
81119 callCollNeeded(sqlite3 *db, int enc, const char *zName) argument
81148 synthCollSeq(sqlite3 *db, CollSeq *pColl) argument
81178 sqlite3GetCollSeq( sqlite3* db, u8 enc, CollSeq *pColl, const char *zName ) argument
81218 sqlite3 *db = pParse->db; local
81245 findCollSeqEntry( sqlite3 *db, const char *zName, int create ) argument
81298 sqlite3FindCollSeq( sqlite3 *db, u8 enc, const char *zName, int create ) argument
81421 sqlite3FindFunction( sqlite3 *db, const char *zName, int nName, int nArg, u8 enc, int createFlag ) argument
81536 sqlite3SchemaGet(sqlite3 *db, Btree *pBt) argument
81652 sqlite3 *db = pParse->db; local
81791 sqlite3 *db; /* Main database structure */ local
82508 sqlite3 *db = sqlite3_context_db_handle(context); local
82655 sqlite3 *db = sqlite3_context_db_handle(context); local
82675 sqlite3 *db = sqlite3_context_db_handle(context); local
82689 sqlite3 *db = sqlite3_context_db_handle(context); local
82893 sqlite3 *db = sqlite3_context_db_handle(context); local
83159 sqlite3 *db = sqlite3_context_db_handle(context); local
83229 sqlite3 *db = sqlite3_context_db_handle(context); local
83410 sqlite3 *db = sqlite3_context_db_handle(context); local
83596 sqlite3 *db = sqlite3_context_db_handle(context); local
83635 sqlite3RegisterBuiltinFunctions(sqlite3 *db) argument
83646 setLikeOptFlag(sqlite3 *db, const char *zName, u8 flagVal) argument
83660 sqlite3RegisterLikeFunctions(sqlite3 *db, int caseSensitive) argument
83683 sqlite3IsLikeFunction(sqlite3 *db, Expr *pExpr, int *pIsNocase, char *aWc) argument
84292 sqlite3 *db = pParse->db; /* Database handle */ local
84448 sqlite3 *db = pParse->db; local
84514 sqlite3 *db = pParse->db; /* Database handle */ local
84771 sqlite3 *db = pParse->db; /* Database handle */ local
84978 sqlite3FkDelete(sqlite3 *db, Table *pTab) argument
85085 sqlite3 *db = sqlite3VdbeDb(v); local
85126 sqlite3 *db = sqlite3VdbeDb(v); local
85241 sqlite3 *db = pParse->db; /* The database connection */ local
85297 sqlite3 *db = pParse->db; local
85457 sqlite3 *db; /* The main database structure */ local
86891 sqlite3_exec( sqlite3 *db, const char *zSql, sqlite3_callback xCallback, void *pArg, char **pzErrMsg ) argument
87819 sqlite3LoadExtension( sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg ) argument
87899 sqlite3_load_extension( sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg ) argument
87917 sqlite3CloseExtensions(sqlite3 *db) argument
87930 sqlite3_enable_load_extension(sqlite3 *db, int onoff) argument
88048 sqlite3AutoLoadExtensions(sqlite3 *db) argument
88193 sqlite3 *db = pParse->db; local
88216 sqlite3 *db = pParse->db; local
88291 sqlite3 *db = pParse->db; local
88397 sqlite3 *db = pParse->db; local
89637 sqlite3 *db = pData->db; local
89664 sqlite3 *db = pData->db; local
89744 sqlite3InitOne(sqlite3 *db, int iDb, char **pzErrMsg) argument
89993 sqlite3Init(sqlite3 *db, char **pzErrMsg) argument
90036 sqlite3 *db = pParse->db; local
90055 sqlite3 *db = pParse->db; local
90103 sqlite3SchemaToIndex(sqlite3 *db, Schema *pSchema) argument
90131 sqlite3Prepare( sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pReprepare, sqlite3_stmt **ppStmt, const char **pzTail ) argument
90291 sqlite3LockAndPrepare( sqlite3 *db, const char *zSql, int nBytes, int saveSqlFlag, Vdbe *pOld, sqlite3_stmt **ppStmt, const char **pzTail ) argument
90330 sqlite3 *db; local
90363 sqlite3_prepare( sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail ) argument
90375 sqlite3_prepare_v2( sqlite3 *db, const char *zSql, int nBytes, sqlite3_stmt **ppStmt, const char **pzTail ) argument
90393 sqlite3Prepare16( sqlite3 *db, const void *zSql, int nBytes, int saveSqlFlag, sqlite3_stmt **ppStmt, const void **pzTail ) argument
90443 sqlite3_prepare16( sqlite3 *db, const void *zSql, int nBytes, sqlite3_stmt **ppStmt, const void **pzTail ) argument
90455 sqlite3_prepare16_v2( sqlite3 *db, const void *zSql, int nBytes, sqlite3_stmt **ppStmt, const void **pzTail ) argument
90492 clearSelect(sqlite3 *db, Select *p) argument
90534 sqlite3 *db = pParse->db; local
90569 sqlite3SelectDelete(sqlite3 *db, Select *p) argument
90716 sqlite3 *db = pParse->db; local
91218 sqlite3 *db = pParse->db; local
91621 sqlite3 *db = pParse->db; local
91696 sqlite3 *db = pParse->db; /* Database connection */ local
91787 sqlite3 *db = pParse->db; local
91820 sqlite3 *db = pParse->db; local
92011 sqlite3 *db; /* Database connection */ local
92629 sqlite3 *db; /* Database connection */ local
92961 substExpr( sqlite3 *db, Expr *pExpr, int iTable, ExprList *pEList ) argument
92993 substExprList( sqlite3 *db, ExprList *pList, int iTable, ExprList *pEList ) argument
93005 substSelect( sqlite3 *db, Select *p, int iTable, ExprList *pEList ) argument
93160 sqlite3 *db = pParse->db; local
93635 sqlite3 *db = pParse->db; local
93960 sqlite3 *db; local
94196 sqlite3 *db; /* The database connection */ local
95055 sqlite3_get_table( sqlite3 *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrMsg ) argument
95155 sqlite3DeleteTriggerStep(sqlite3 *db, TriggerStep *pTriggerStep) argument
95231 sqlite3 *db = pParse->db; /* The database connection */ local
95401 sqlite3 *db = pParse->db; /* The database */ local
95474 sqlite3TriggerSelectStep(sqlite3 *db, Select *pSelect) argument
95492 triggerStepAllocate( sqlite3 *db, u8 op, Token *pName ) argument
95517 sqlite3TriggerInsertStep( sqlite3 *db, Token *pTableName, IdList *pColumn, ExprList *pEList, Select *pSelect, u8 orconf ) argument
95550 sqlite3TriggerUpdateStep( sqlite3 *db, Token *pTableName, ExprList *pEList, Expr *pWhere, u8 orconf ) argument
95575 sqlite3TriggerDeleteStep( sqlite3 *db, Token *pTableName, Expr *pWhere ) argument
95594 sqlite3DeleteTrigger(sqlite3 *db, Trigger *pTrigger) argument
95618 sqlite3 *db = pParse->db; local
95668 sqlite3 *db = pParse->db; local
95723 sqlite3UnlinkAndDeleteTrigger(sqlite3 *db, int iDb, const char *zName) argument
95815 sqlite3 *db = pParse->db; local
95834 sqlite3 *db = pParse->db; local
95944 sqlite3 *db = pParse->db; /* Database handle */ local
96352 sqlite3 *db; /* The database structure */ local
96860 sqlite3 *db = pParse->db; /* Database connection */ local
96942 vacuumFinalize(sqlite3 *db, sqlite3_stmt *pStmt, char **pzErrMsg) argument
96954 execSql(sqlite3 *db, char **pzErrMsg, const char *zSql) argument
96973 execExecSql(sqlite3 *db, char **pzErrMsg, const char *zSql) argument
97012 sqlite3RunVacuum(char **pzErrMsg, sqlite3 *db) argument
97298 createModule( sqlite3 *db, const char *zName, const sqlite3_module *pModule, void *pAux, void (*xDestroy)(void *) ) argument
97340 sqlite3_create_module( sqlite3 *db, const char *zName, const sqlite3_module *pModule, void *pAux ) argument
97352 sqlite3_create_module_v2( sqlite3 *db, const char *zName, const sqlite3_module *pModule, void *pAux, void (*xDestroy)(void *) ) argument
97380 sqlite3GetVTable(sqlite3 *db, Table *pTab) argument
97392 sqlite3 *db = pVTab->db; local
97415 vtabDisconnectAll(sqlite3 *db, Table *p) argument
97468 sqlite3VtabUnlockList(sqlite3 *db) argument
97499 sqlite3VtabClear(sqlite3 *db, Table *p) argument
97516 addModuleArgument(sqlite3 *db, Table *pTable, char *zArg) argument
97549 sqlite3 *db; /* Database connection */ local
97589 sqlite3 *db = pParse->db; local
97600 sqlite3 *db = pParse->db; /* The database connection */ local
97706 vtabCallConstructor( sqlite3 *db, Table *pTab, Module *pMod, int (*xConstruct)(sqlite3*,void*,int,const char*const*,sqlite3_vtab**,char**), char **pzErr ) argument
97815 sqlite3 *db = pParse->db; local
97848 growVTrans(sqlite3 *db) argument
97870 addToVTrans(sqlite3 *db, VTable *pVTab) argument
97884 sqlite3VtabCallCreate(sqlite3 *db, int iDb, const char *zTab, char **pzErr) argument
97925 sqlite3_declare_vtab(sqlite3 *db, const char *zCreateTable) argument
97988 sqlite3VtabCallDestroy(sqlite3 *db, int iDb, const char *zTab) argument
98019 callFinaliser(sqlite3 *db, int offset) argument
98047 sqlite3VtabSync(sqlite3 *db, char **pzErrmsg) argument
98071 sqlite3VtabRollback(sqlite3 *db) argument
98080 sqlite3VtabCommit(sqlite3 *db) argument
98093 sqlite3VtabBegin(sqlite3 *db, VTable *pVTab) argument
98148 sqlite3VtabSavepoint(sqlite3 *db, int op, int iSavepoint) argument
98194 sqlite3VtabOverloadFunction( sqlite3 *db, FuncDef *pDef, int nArg, Expr *pExpr ) argument
98286 sqlite3_vtab_on_conflict(sqlite3 *db) argument
98301 sqlite3_vtab_config(sqlite3 *db, int op, ...) argument
98611 whereOrInfoDelete(sqlite3 *db, WhereOrInfo *p) argument
98619 whereAndInfoDelete(sqlite3 *db, WhereAndInfo *p) argument
98631 sqlite3 *db = pWC->pParse->db; local
98672 sqlite3 *db = pWC->pParse->db; local
98985 sqlite3 *db = pParse->db; /* Database connection */ local
99181 sqlite3 *db = pParse->db; /* Database connection */ local
99443 sqlite3 *db = pParse->db; /* Database connection */ local
99766 sqlite3 *db = pParse->db; local
100638 sqlite3 *db = pParse->db; local
101802 explainIndexRange(sqlite3 *db, WhereLevel *pLevel, Table *pTab) argument
101850 sqlite3 *db = pParse->db; /* Database handle */ local
102584 whereInfoFree(sqlite3 *db, WhereInfo *pWInfo) argument
102717 sqlite3 *db; /* Database connection */ local
103202 sqlite3 *db = pParse->db; local
103431 sqlite3 *db = pParse->db; local
107415 sqlite3 *db = pParse->db; /* The database connection */ local
108376 setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt) argument
108432 sqlite3_db_mutex(sqlite3 *db) argument
108439 sqlite3_db_config(sqlite3 *db, int op, ...) argument
108551 sqlite3_last_insert_rowid(sqlite3 *db) argument
108558 sqlite3_changes(sqlite3 *db) argument
108565 sqlite3_total_changes(sqlite3 *db) argument
108574 sqlite3CloseSavepoints(sqlite3 *db) argument
108591 functionDestroy(sqlite3 *db, FuncDef *p) argument
108605 sqlite3_close(sqlite3 *db) argument
108733 sqlite3RollbackAll(sqlite3 *db) argument
108822 sqlite3 *db = (sqlite3 *)ptr; local
108874 sqlite3_busy_handler( sqlite3 *db, int (*xBusy)(void*,int), void *pArg ) argument
108893 sqlite3_progress_handler( sqlite3 *db, int nOps, int (*xProgress)(void*), void *pArg ) argument
108918 sqlite3_busy_timeout(sqlite3 *db, int ms) argument
108931 sqlite3_interrupt(sqlite3 *db) argument
108942 sqlite3CreateFunc( sqlite3 *db, const char *zFunctionName, int nArg, int enc, void *pUserData, void (*xFunc)(sqlite3_context*,int,sqlite3_value **), void (*xStep)(sqlite3_context*,int,sqlite3_value **), void (*xFinal)(sqlite3_context*), FuncDestructor *pDestructor ) argument
109036 sqlite3_create_function( sqlite3 *db, const char *zFunc, int nArg, int enc, void *p, void (*xFunc)(sqlite3_context*,int,sqlite3_value **), void (*xStep)(sqlite3_context*,int,sqlite3_value **), void (*xFinal)(sqlite3_context*) ) argument
109050 sqlite3_create_function_v2( sqlite3 *db, const char *zFunc, int nArg, int enc, void *p, void (*xFunc)(sqlite3_context*,int,sqlite3_value **), void (*xStep)(sqlite3_context*,int,sqlite3_value **), void (*xFinal)(sqlite3_context*), void (*xDestroy)(void *) ) argument
109087 sqlite3_create_function16( sqlite3 *db, const void *zFunctionName, int nArg, int eTextRep, void *p, void (*xFunc)(sqlite3_context*,int,sqlite3_value**), void (*xStep)(sqlite3_context*,int,sqlite3_value**), void (*xFinal)(sqlite3_context*) ) argument
109123 sqlite3_overload_function( sqlite3 *db, const char *zName, int nArg ) argument
109149 sqlite3_trace(sqlite3 *db, void (*xTrace)(void*,const char*), void *pArg) argument
109166 sqlite3_profile( sqlite3 *db, void (*xProfile)(void*,const char*,sqlite_uint64), void *pArg ) argument
109187 sqlite3_commit_hook( sqlite3 *db, int (*xCallback)(void*), void *pArg ) argument
109205 sqlite3_update_hook( sqlite3 *db, void (*xCallback)(void*,int,char const *,char const *,sqlite_int64), void *pArg ) argument
109223 sqlite3_rollback_hook( sqlite3 *db, void (*xCallback)(void*), void *pArg ) argument
109244 sqlite3WalDefaultHook( void *pClientData, sqlite3 *db, const char *zDb, int nFrame ) argument
109270 sqlite3_wal_autocheckpoint(sqlite3 *db, int nFrame) argument
109288 sqlite3_wal_hook( sqlite3 *db, int(*xCallback)(void *, sqlite3*, const char*, int), void *pArg ) argument
109309 sqlite3_wal_checkpoint_v2( sqlite3 *db, const char *zDb, int eMode, int *pnLog, int *pnCkpt ) argument
109356 sqlite3_wal_checkpoint(sqlite3 *db, const char *zDb) argument
109380 sqlite3Checkpoint(sqlite3 *db, int iDb, int eMode, int *pnLog, int *pnCkpt) argument
109424 sqlite3TempInMemory(const sqlite3 *db) argument
109443 sqlite3_errmsg(sqlite3 *db) argument
109470 sqlite3_errmsg16(sqlite3 *db) argument
109516 sqlite3_errcode(sqlite3 *db) argument
109525 sqlite3_extended_errcode(sqlite3 *db) argument
109539 createCollation( sqlite3* db, const char *zName, u8 enc, u8 collType, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*), void(*xDel)(void*) ) argument
109678 sqlite3_limit(sqlite3 *db, int limitId, int newLimit) argument
109956 sqlite3 *db; /* Store allocated handle here */ local
110267 sqlite3_create_collation( sqlite3* db, const char *zName, int enc, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*) ) argument
110286 sqlite3_create_collation_v2( sqlite3* db, const char *zName, int enc, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*), void(*xDel)(void*) ) argument
110307 sqlite3_create_collation16( sqlite3* db, const void *zName, int enc, void* pCtx, int(*xCompare)(void*,int,const void*,int,const void*) ) argument
110333 sqlite3_collation_needed( sqlite3 *db, void *pCollNeededArg, void(*xCollNeeded)(void*,sqlite3*,int eTextRep,const char*) ) argument
110351 sqlite3_collation_needed16( sqlite3 *db, void *pCollNeededArg, void(*xCollNeeded16)(void*,sqlite3*,int eTextRep,const void*) ) argument
110383 sqlite3_get_autocommit(sqlite3 *db) argument
110438 sqlite3_table_column_metadata( sqlite3 *db, const char *zDbName, const char *zTableName, const char *zColumnName, char const **pzDataType, char const **pzCollSeq, int *pNotNull, int *pPrimaryKey, int *pAutoinc ) argument
110565 sqlite3_extended_result_codes(sqlite3 *db, int onoff) argument
110575 sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg) argument
110761 sqlite3 *db = va_arg(ap, sqlite3*); local
110779 sqlite3 *db = va_arg(ap, sqlite3*); local
110923 checkListProperties(sqlite3 *db) argument
110949 removeFromBlockedList(sqlite3 *db) argument
110964 addToBlockedList(sqlite3 *db) argument
111014 sqlite3_unlock_notify( sqlite3 *db, void (*xNotify)(void **, int), void *pArg ) argument
111064 sqlite3ConnectionBlocked(sqlite3 *db, sqlite3 *pBlocker) argument
111092 sqlite3ConnectionUnlocked(sqlite3 *db) argument
111191 sqlite3ConnectionClosed(sqlite3 *db) argument
111941 sqlite3 *db; /* The database connection */ member in struct:Fts3Table
112465 fts3DbExec( int *pRc, sqlite3 *db, const char *zFormat, ... ) argument
112491 sqlite3 *db = p->db; local
112561 sqlite3 *db = p->db; /* The database connection */ local
112871 fts3InitVtab( int isCreate, sqlite3 *db, void *pAux, int argc, const char * const *argv, sqlite3_vtab **ppVTab, char **pzErr ) argument
113142 fts3ConnectMethod( sqlite3 *db, void *pAux, int argc, const char * const *argv, sqlite3_vtab **ppVtab, char **pzErr ) argument
113152 fts3CreateMethod( sqlite3 *db, void *pAux, int argc, const char * const *argv, sqlite3_vtab **ppVtab, char **pzErr ) argument
114924 sqlite3 *db = p->db; /* Database connection */ local
115044 sqlite3Fts3Init(sqlite3 *db) argument
115125 sqlite3_extension_init( sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi ) argument
116492 fts3auxConnectMethod( sqlite3 *db, void *pUnused, int argc, const char * const *argv, sqlite3_vtab **ppVtab, char **pzErr ) argument
116879 sqlite3Fts3InitAux(sqlite3 *db) argument
117699 queryTestTokenizer( sqlite3 *db, const char *zName, const sqlite3_tokenizer_module **pp ) argument
117803 sqlite3 *db = sqlite3_context_db_handle(context); local
117867 sqlite3Fts3ExprInitTestInterface(sqlite3* db) argument
119223 registerTokenizer( sqlite3 *db, char *zName, const sqlite3_tokenizer_module *p ) argument
119245 queryTokenizer( sqlite3 *db, char *zName, const sqlite3_tokenizer_module **pp ) argument
119298 sqlite3 *db = (sqlite3 *)sqlite3_user_data(context); local
119342 sqlite3Fts3InitHashTable( sqlite3 *db, Fts3Hash *pHash, const char *zName ) argument
124528 sqlite3 *db; /* Host database connection */ member in struct:Rtree
125097 rtreeCreate( sqlite3 *db, void *pAux, int argc, const char *const*argv, sqlite3_vtab **ppVtab, char **pzErr ) argument
125110 rtreeConnect( sqlite3 *db, void *pAux, int argc, const char *const*argv, sqlite3_vtab **ppVtab, char **pzErr ) argument
127260 rtreeSqlInit( Rtree *pRtree, sqlite3 *db, const char *zDb, const char *zPrefix, int isCreate ) argument
127339 getIntFromStmt(sqlite3 *db, const char *zSql, int *piVal) argument
127369 getNodeSize( sqlite3 *db, Rtree *pRtree, int isCreate ) argument
127407 rtreeInit( sqlite3 *db, void *pAux, int argc, const char *const*argv, sqlite3_vtab **ppVtab, char **pzErr, int isCreate ) argument
127568 sqlite3RtreeInit(sqlite3 *db) argument
127631 sqlite3_rtree_geometry_callback( sqlite3 *db, const char *zGeom, int (*xGeom)(sqlite3_rtree_geometry *, int, double *, int *), void *pContext ) argument
127653 sqlite3_extension_init( sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi ) argument
128080 sqlite3 *db = (sqlite3 *)sqlite3_user_data(p); local
128114 sqlite3IcuInit(sqlite3 *db) argument
128154 sqlite3_extension_init( sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi ) argument
[all...]
/PHP_5_4/scripts/dev/
H A Dcheck_parameters.php138 function check_param($db, $idx, $exp, $optional)
142 if ($idx >= count($db)) {
148 } elseif ($db[$idx][0] === '**dummy**') {
152 if ($db[$idx][1] != $exp) {
153 error("{$db[$idx][0]}: expected '$exp' but got '{$db[$idx][1]}' [".($idx+1).']');
156 if ($optional && !$db[$idx][2]) {
157 error("optional var not initialized: {$db[$idx][0]} [".($idx+1).']', 1);
159 } elseif (!$optional && $db[$idx][2]) {
160 error("not optional var is initialized: {$db[
[all...]
/PHP_5_4/ext/mysql/tests/
H A Dclean_table.inc5 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) {
7 $host, $myhost, $user, $db, $port, $socket);
H A Dconnect.inc24 function my_mysql_connect($host, $user, $passwd, $db, $port, $socket, $flags = NULL, $persistent = false) {
47 if (!mysql_select_db($db, $link)) {
68 $db = getenv("MYSQL_TEST_DB") ? getenv("MYSQL_TEST_DB") : "test";
H A Dtable.inc5 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) {
7 $host, $myhost, $user, $db, $port, $socket);
/PHP_5_4/ext/mysqli/tests/
H A Dclean_table.inc4 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
6 $host, $user, $db, $port, $socket);
H A Dskipifconnectfailure.inc5 $link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
H A Dconnect.inc15 $db = getenv("MYSQL_TEST_DB") ? getenv("MYSQL_TEST_DB") : "test";
87 function my_mysqli_connect($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) {
94 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags))
97 $link = mysqli_connect($host, $user, $passwd, $db, $port, $socket);
108 function my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags = 0, $enable_env_flags = true) {
114 return mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags);
118 public function __construct($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) {
125 $this->real_connect($host, $user, $passwd, $db, $port, $socket, $flags);
127 parent::__construct($host, $user, $passwd, $db, $port, $socket);
H A Dtable.inc4 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
6 $host, $user, $db, $port, $socket);
/PHP_5_4/ext/pgsql/
H A Dmysql_users.php19 function pg_list_dbs($db)
21 assert(is_resource($db));
31 return pg_query($db, $query);
38 function pg_list_tables($db)
40 assert(is_resource($db));
53 return pg_query($db, $query);
61 function pg_list_fields($db, $table)
63 assert(is_resource($db));
79 return pg_query($db, $query);
/PHP_5_4/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h58 sqlite3 *db; member in struct:__anon184
H A Dsqlite_driver.c40 einfo->errcode = sqlite3_errcode(H->db);
48 einfo->errmsg = pestrdup((char*)sqlite3_errmsg(H->db), dbh->is_persistent);
110 if (H->db) {
112 sqlite3_create_function(H->db,
138 if (H->db) {
140 sqlite3_create_collation(H->db,
163 if (H->db) {
164 sqlite3_close(H->db);
165 H->db = NULL;
196 i = sqlite3_prepare(H->db, sq
[all...]
/PHP_5_4/ext/sqlite3/
H A Dphp_sqlite3_structs.h78 sqlite3 *db; member in struct:_php_sqlite3_db_object
H A Dsqlite3.c144 if (sqlite3_open_v2(fullpath, &(db_obj->db), flags, NULL) != SQLITE_OK) {
146 if (sqlite3_open(fullpath, &(db_obj->db)) != SQLITE_OK) {
148 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "Unable to open database: %s", sqlite3_errmsg(db_obj->db));
157 if (sqlite3_key(db_obj->db, encryption_key, encryption_key_len) != SQLITE_OK) {
158 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "Unable to open database: %s", sqlite3_errmsg(db_obj->db));
171 sqlite3_set_authorizer(db_obj->db, php_sqlite3_authorizer, NULL);
195 errcode = sqlite3_close(db_obj->db);
197 php_sqlite3_error(db_obj, "Unable to close database: %d, %s", errcode, sqlite3_errmsg(db_obj->db));
223 if (sqlite3_exec(db_obj->db, sql, NULL, NULL, &errtext) != SQLITE_OK) {
264 RETURN_LONG(sqlite3_last_insert_rowid(db_obj->db));
[all...]
/PHP_5_4/ext/dba/
H A Ddba_db1.c48 DB *db; local
76 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL);
78 if (db == NULL) {
83 dba->dbp = db;
/PHP_5_4/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h70 isc_db_handle db; member in struct:__anon12

Completed in 254 milliseconds

123