Lines Matching refs:pool
70 if (db->pool) apr_pool_destroy(db->pool);
81 db->pool = NULL;
104 if (db->pool) apr_pool_destroy(db->pool);
114 db->pool = NULL;
134 rc = apr_dbd_check_conn(db->driver, db->pool, db->handle);
208 apr_dbd_init(r->pool);
209 escaped = apr_dbd_escape(db->driver, r->pool, statement,
248 while (apr_dbd_get_row(res->driver, res->pool, res->results,
275 if (apr_dbd_get_row(res->driver, res->pool, res->results,
329 rc = apr_dbd_select(db->driver, db->pool, db->handle,
340 resultset->pool = db->pool;
407 vars = apr_pcalloc(st->db->pool, have*sizeof(char *));
420 rc = apr_dbd_pselect(st->db->driver, st->db->pool, st->db->handle,
433 resultset->pool = st->db->pool;
498 vars = apr_pcalloc(st->db->pool, have*sizeof(char *));
510 rc = apr_dbd_pquery(st->db->driver, st->db->pool, st->db->handle,
574 rc = apr_dbd_prepare(db->driver, r->pool, db->handle, statement,
668 apr_pool_t* pool)
674 db->pool = pool;
735 apr_pool_t *pool = NULL;
748 r->server->process->pool, r->server);
751 db = lua_push_db_handle(L, r, LUA_DBTYPE_MOD_DBD, dbdhandle->pool);
770 rc = apr_pool_create(&pool, NULL);
776 apr_pool_tag(pool, "lua_dbd_pool");
777 apr_dbd_init(pool);
778 dbdhandle = apr_pcalloc(pool, sizeof(ap_dbd_t));
779 rc = apr_dbd_get_driver(pool, type, &dbdhandle->driver);
786 rc = apr_dbd_open_ex(dbdhandle->driver, pool,
789 db = lua_push_db_handle(L, r, LUA_DBTYPE_APR_DBD, pool);
809 apr_pool_destroy(pool);
832 apr_pool_destroy(pool);