Home
last modified time | relevance | path

Searched refs:sqlquery (Results 1 – 4 of 4) sorted by relevance

/lighttpd1.4/src/
H A Dmod_vhostdb_pgsql.c25 const buffer *sqlquery; member
48 const buffer *sqlquery = NULL; in mod_vhostdb_dbconf_setup() local
55 sqlquery = &ds->value; in mod_vhostdb_dbconf_setup()
81 if (NULL != sqlquery && !buffer_is_blank(sqlquery) && NULL != dbname) { in mod_vhostdb_dbconf_setup()
101 dbconf->sqlquery = sqlquery; in mod_vhostdb_dbconf_setup()
118 buffer *sqlquery = docroot; in mod_vhostdb_pgsql_query() local
131 buffer_string_prepare_append(sqlquery, in mod_vhostdb_pgsql_query()
134 sqlquery->ptr + buffer_clen(sqlquery), in mod_vhostdb_pgsql_query()
136 buffer_commit(sqlquery, len); in mod_vhostdb_pgsql_query()
139 d = dbconf->sqlquery->ptr + buffer_clen(dbconf->sqlquery); in mod_vhostdb_pgsql_query()
[all …]
H A Dmod_vhostdb_mysql.c26 const buffer *sqlquery; member
49 const buffer *sqlquery = NULL; in mod_vhostdb_dbconf_setup() local
57 sqlquery = &ds->value; in mod_vhostdb_dbconf_setup()
86 if (NULL != sqlquery && !buffer_is_blank(sqlquery) in mod_vhostdb_dbconf_setup()
121 dbconf->sqlquery = sqlquery; in mod_vhostdb_dbconf_setup()
139 buffer *sqlquery = docroot; in mod_vhostdb_mysql_query() local
146 for (char *b = dbconf->sqlquery->ptr, *d; *b; b = d+1) { in mod_vhostdb_mysql_query()
151 buffer_string_prepare_append(sqlquery, in mod_vhostdb_mysql_query()
154 sqlquery->ptr + buffer_clen(sqlquery), in mod_vhostdb_mysql_query()
157 buffer_commit(sqlquery, len); in mod_vhostdb_mysql_query()
[all …]
H A Dmod_vhostdb_dbi.c33 const buffer *sqlquery; member
77 const buffer *sqlquery = NULL; in mod_vhostdb_dbconf_setup() local
84 sqlquery = &ds->value; in mod_vhostdb_dbconf_setup()
107 if (sqlquery && !buffer_is_blank(sqlquery) && dbname && dbtype) { in mod_vhostdb_dbconf_setup()
147 dbconf->sqlquery = sqlquery; in mod_vhostdb_dbconf_setup()
177 buffer *sqlquery = docroot; in mod_vhostdb_dbi_query() local
178 buffer_clear(sqlquery); /*(also resets docroot (alias))*/ in mod_vhostdb_dbi_query()
184 for (char *b = dbconf->sqlquery->ptr, *d; *b; b = d+1) { in mod_vhostdb_dbi_query()
194 d = dbconf->sqlquery->ptr + buffer_clen(dbconf->sqlquery); in mod_vhostdb_dbi_query()
195 buffer_append_string_len(sqlquery, b, (size_t)(d - b)); in mod_vhostdb_dbi_query()
[all …]
H A Dmod_authn_dbi.c55 const buffer *sqlquery; member
106 const buffer *sqlquery = NULL; in mod_authn_dbi_dbconf_setup() local
114 sqlquery = &ds->value; in mod_authn_dbi_dbconf_setup()
139 if (sqlquery && !buffer_is_blank(sqlquery) && dbname && dbtype) { in mod_authn_dbi_dbconf_setup()
181 dbconf->sqlquery = sqlquery; in mod_authn_dbi_dbconf_setup()
429 buffer_clear(sqlquery); in mod_authn_dbi_query_build()
433 : dbconf->sqlquery; in mod_authn_dbi_query_build()
481 buffer_append_string_len(sqlquery, esc, elen); in mod_authn_dbi_query_build()
491 return sqlquery; in mod_authn_dbi_query_build()
504 if (NULL == sqlquery) in mod_authn_dbi_query()
[all …]