| 265 | } |
| 266 | |
| 267 | static const char *dbd_init_sql(cmd_parms *cmd, void *dconf, const char *query) |
| 268 | { |
| 269 | if (!query || *query == '\n') { |
| 270 | return "You should specify SQL statement"; |
| 271 | } |
| 272 | |
| 273 | ap_dbd_sql_init(cmd->server, query); |
| 274 | |
| 275 | return NULL; |
| 276 | } |
| 277 | |
| 278 | static const command_rec dbd_cmds[] = { |
| 279 | AP_INIT_TAKE1("DBDriver", dbd_param, (void*)cmd_name, RSRC_CONF, |
nothing calls this directly
no test coverage detected