Lines Matching refs:server
82 einfo->errcode = mysql_errno(H->server); in _pdo_mysql_error()
108 einfo->errmsg = pestrdup(mysql_error(H->server), dbh->is_persistent); in _pdo_mysql_error()
122 strcpy(*pdo_err, mysql_sqlstate(H->server)); in _pdo_mysql_error()
170 if (H->server) { in mysql_handle_closer()
171 mysql_close(H->server); in mysql_handle_closer()
172 H->server = NULL; in mysql_handle_closer()
210 server_version = mysql_get_server_version(H->server); in mysql_handle_preparer()
227 if (!(S->stmt = mysql_stmt_init(H->server))) { in mysql_handle_preparer()
238 if (mysql_errno(H->server) == 1295) { in mysql_handle_preparer()
289 if (mysql_real_query(H->server, sql, sql_len)) { in mysql_handle_doer()
293 my_ulonglong c = mysql_affected_rows(H->server); in mysql_handle_doer()
302 while (mysql_more_results(H->server)) { in mysql_handle_doer()
303 if (mysql_next_result(H->server)) { in mysql_handle_doer()
306 result = mysql_store_result(H->server); in mysql_handle_doer()
322 char *id = php_pdo_int64_to_str(mysql_insert_id(H->server) TSRMLS_CC); in pdo_mysql_last_insert_id()
337 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
360 PDO_DBG_RETURN(0 <= mysql_commit(((pdo_mysql_db_handle *)dbh->driver_data)->server)); in mysql_handle_commit()
373 PDO_DBG_RETURN(0 <= mysql_rollback(((pdo_mysql_db_handle *)dbh->driver_data)->server)); in mysql_handle_rollback()
387 …PDO_DBG_RETURN(0 <= mysql_autocommit(((pdo_mysql_db_handle *)dbh->driver_data)->server, dbh->auto_… in mysql_handle_autocommit()
458 ZVAL_STRING(return_value, (char *)mysql_get_server_info(H->server), 1);
462 ZVAL_STRING(return_value, (char *)mysql_get_host_info(H->server), 1);
469 if (mysqlnd_stat(H->server, &tmp, &tmp_len) == PASS) {
472 if ((tmp = (char *)mysql_stat(H->server))) {
520 if (mysql_ping(H->server)) {
525 mysql_stat(H->server);
526 switch (mysql_errno(H->server)) {
607 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
651 if (mysql_options(H->server, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout)) {
665 if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) {
677 mysql_options(H->server, MYSQL_OPT_RECONNECT, (const char*)&reconnect);
682 if (mysql_options(H->server, MYSQL_INIT_COMMAND, (const char *)init_cmd)) {
692 if (mysql_options(H->server, MYSQL_READ_DEFAULT_FILE, (const char *)default_file)) {
702 if (mysql_options(H->server, MYSQL_READ_DEFAULT_GROUP, (const char *)default_group)) {
712 if (mysql_options(H->server, MYSQL_OPT_COMPRESS, 0)) {
725 mysql_ssl_set(H->server, ssl_key, ssl_cert, ssl_ca, ssl_capath, ssl_cipher);
746 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
771 …if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_le…
774 …if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, c…