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()
183 server_version = mysql_get_server_version(H->server); in mysql_handle_preparer()
200 if (!(S->stmt = mysql_stmt_init(H->server))) { in mysql_handle_preparer()
211 if (mysql_errno(H->server) == 1295) { in mysql_handle_preparer()
261 if (mysql_real_query(H->server, sql, sql_len)) { in mysql_handle_doer()
265 my_ulonglong c = mysql_affected_rows(H->server); in mysql_handle_doer()
273 while (mysql_more_results(H->server)) { in mysql_handle_doer()
274 if (mysql_next_result(H->server)) { in mysql_handle_doer()
277 result = mysql_store_result(H->server); in mysql_handle_doer()
292 char *id = php_pdo_int64_to_str(mysql_insert_id(H->server)); in pdo_mysql_last_insert_id()
307 *quotedlen = mysql_real_escape_string(H->server, *quoted + 1, unquoted, unquotedlen); in mysql_handle_quoter()
330 PDO_DBG_RETURN(0 == mysql_commit(((pdo_mysql_db_handle *)dbh->driver_data)->server)); in mysql_handle_commit()
343 PDO_DBG_RETURN(0 <= mysql_rollback(((pdo_mysql_db_handle *)dbh->driver_data)->server)); in mysql_handle_rollback()
357 …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));
434 ZVAL_STRING(return_value, (char *)mysql_get_host_info(H->server));
440 if (mysqlnd_stat(H->server, &tmp) == PASS) {
444 if ((tmp = (char *)mysql_stat(H->server))) {
493 if (mysql_ping(H->server)) {
498 mysql_stat(H->server);
499 switch (mysql_errno(H->server)) {
585 if (!(H->server = pdo_mysql_init(dbh->is_persistent))) {
627 if (mysql_options(H->server, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout)) {
643 if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) {
655 mysql_options(H->server, MYSQL_OPT_RECONNECT, (const char*)&reconnect);
660 if (mysql_options(H->server, MYSQL_INIT_COMMAND, (const char *)ZSTR_VAL(init_cmd))) {
670 if (mysql_options(H->server, MYSQL_READ_DEFAULT_FILE, (const char *)ZSTR_VAL(default_file))) {
680 if (mysql_options(H->server, MYSQL_READ_DEFAULT_GROUP, (const char *)ZSTR_VAL(default_group))) {
690 if (mysql_options(H->server, MYSQL_OPT_COMPRESS, 0)) {
703 mysql_ssl_set(H->server,
730 if (mysql_options(H->server, MYSQL_SERVER_PUBLIC_KEY, ZSTR_VAL(public_key))) {
754 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
784 …if (mysqlnd_connect(H->server, host, dbh->username, dbh->password, password_len, dbname, dbname_le…
787 …if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, c…