Lines Matching refs:server

67 		einfo->errcode = mysql_errno(H->server);  in _pdo_mysql_error()
93 einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent); in _pdo_mysql_error()
103 strcpy(*pdo_err, mysql_sqlstate(H->server)); in _pdo_mysql_error()
148 if (H->server) { in mysql_handle_closer()
149 mysql_close(H->server); in mysql_handle_closer()
150 H->server = NULL; in mysql_handle_closer()
185 server_version = mysql_get_server_version(H->server); in mysql_handle_preparer()
202 if (!(S->stmt = mysql_stmt_init(H->server))) { in mysql_handle_preparer()
213 if (mysql_errno(H->server) == 1295) { in mysql_handle_preparer()
263 if (mysql_real_query(H->server, sql, sql_len)) { in mysql_handle_doer()
267 my_ulonglong c = mysql_affected_rows(H->server); in mysql_handle_doer()
275 while (mysql_more_results(H->server)) { in mysql_handle_doer()
276 if (mysql_next_result(H->server)) { in mysql_handle_doer()
279 result = mysql_store_result(H->server); in mysql_handle_doer()
294 char *id = php_pdo_int64_to_str(mysql_insert_id(H->server) TSRMLS_CC); in pdo_mysql_last_insert_id()
309 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
332 PDO_DBG_RETURN(0 <= mysql_commit(((pdo_mysql_db_handle *)dbh->driver_data)->server)); in mysql_handle_commit()
345 PDO_DBG_RETURN(0 <= mysql_rollback(((pdo_mysql_db_handle *)dbh->driver_data)->server)); in mysql_handle_rollback()
359 …PDO_DBG_RETURN(0 <= mysql_autocommit(((pdo_mysql_db_handle *)dbh->driver_data)->server, dbh->auto_… in mysql_handle_autocommit()
430 ZVAL_STRING(return_value, (char *)mysql_get_server_info(H->server), 1);
434 ZVAL_STRING(return_value, (char *)mysql_get_host_info(H->server), 1);
441 if (mysqlnd_stat(H->server, &tmp, &tmp_len) == PASS) {
444 if ((tmp = (char *)mysql_stat(H->server))) {
492 if (mysql_ping(H->server)) {
497 mysql_stat(H->server);
498 switch (mysql_errno(H->server)) {
579 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
621 if (mysql_options(H->server, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout)) {
635 if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) {
647 mysql_options(H->server, MYSQL_OPT_RECONNECT, (const char*)&reconnect);
652 if (mysql_options(H->server, MYSQL_INIT_COMMAND, (const char *)init_cmd)) {
662 if (mysql_options(H->server, MYSQL_READ_DEFAULT_FILE, (const char *)default_file)) {
672 if (mysql_options(H->server, MYSQL_READ_DEFAULT_GROUP, (const char *)default_group)) {
682 if (mysql_options(H->server, MYSQL_OPT_COMPRESS, 0)) {
695 mysql_ssl_set(H->server, ssl_key, ssl_cert, ssl_ca, ssl_capath, ssl_cipher);
715 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
740 …if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_le…
743 …if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, c…