Lines Matching refs:optval
913 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
918 dbname = vars[1].optval;
919 host = vars[2].optval;
920 if(vars[3].optval) {
921 port = atoi(vars[3].optval);
925 if (vars[2].optval && !strcmp(".", vars[2].optval)) {
927 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
929 unix_socket = vars[4].optval;
932 if (!dbh->username && vars[5].optval) {
933 dbh->username = pestrdup(vars[5].optval, dbh->is_persistent);
936 if (!dbh->password && vars[6].optval) {
937 dbh->password = pestrdup(vars[6].optval, dbh->is_persistent);
974 efree(vars[i].optval);