Lines Matching refs:socket_or_pipe
518 …MYSQLND_CONN_DATA * conn, MYSQLND_CSTRING hostname, MYSQLND_CSTRING *socket_or_pipe, unsigned int …
524 DBG_INF_FMT("socket=%s", socket_or_pipe->s? socket_or_pipe->s:"n/a");
525 if (!socket_or_pipe->s) {
526 socket_or_pipe->s = "/tmp/mysql.sock";
527 socket_or_pipe->l = strlen(socket_or_pipe->s);
529 transport.l = mnd_sprintf(&transport.s, 0, "unix://%s", socket_or_pipe->s);
534 if (!socket_or_pipe->s) {
535 socket_or_pipe->s = "\\\\.\\pipe\\MySQL";
536 socket_or_pipe->l = strlen(socket_or_pipe->s);
538 transport.l = mnd_sprintf(&transport.s, 0, "pipe://%s", socket_or_pipe->s);
561 MYSQLND_CSTRING socket_or_pipe,
632 transport = conn->m->get_scheme(conn, hostname, &socket_or_pipe, port, &unix_socket, &named_pipe);
685 conn->unix_socket.s = mnd_pestrdup(socket_or_pipe.s, conn->persistent);
757 const MYSQLND_CSTRING socket_or_pipe,
768 …DBG_RETURN(conn->m->connect(conn, hostname, username, password, database, port, socket_or_pipe, my…
2280 MYSQLND_CSTRING socket_or_pipe = { sock_or_pipe, sock_or_pipe? strlen(sock_or_pipe) : 0 }; local
2293 …m->connect(conn_handle, hostname, username, password, database, port, socket_or_pipe, mysql_flags);