45 return PACKAGE_VERSION;
50 return PACKAGE_BUGREPORT;
139 if (drizzle->
pfds != NULL)
225 drizzle->
log_fn=
function;
322 strcpy(con->
db, from->
db);
360 if (con->
prev != NULL)
362 if (con->
next != NULL)
386 pfds= realloc(drizzle->
pfds, drizzle->
con_count *
sizeof(
struct pollfd));
400 for (con= drizzle->
con_list; con != NULL; con= con->
next)
406 pfds[x].events= con->
events;
414 "no active file descriptors");
423 ret= poll(pfds, x, drizzle->
timeout);
447 for (con= drizzle->
con_list; con != NULL; con= con->
next)
469 for (con= drizzle->
con_list; con != NULL; con= con->
next)
488 for (con= drizzle->
con_list; con != NULL; con= con->
next)
506 const char *host, in_port_t port,
507 const char *user,
const char *password,
524 const char *uds,
const char *user,
525 const char *password,
const char *db,
546 const char *host, in_port_t port,
563 const char *uds,
int backlog,
587 fd= accept(ready->
fd, NULL, NULL);
617 for (ready= drizzle->
con_list; ready != NULL; ready= ready->
next)
634 const char *format, ...)
641 size= strlen(
function);
642 ptr= memcpy(log_buffer,
function, size);
648 va_start(args, format);
652 if (drizzle->
log_fn == NULL)
657 memcpy(drizzle->
last_error, log_buffer, size + 1);
664 const char *format, va_list args)
668 if (drizzle->
log_fn == NULL)
671 vprintf(format, args);