Lines Matching refs:mysql

47     p = (MYSQL *)((MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr)->mysql;\
149 MY_MYSQL *mysql; in link_affected_rows_read() local
154 mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; in link_affected_rows_read()
156 if (!mysql) { in link_affected_rows_read()
161 rc = mysql_affected_rows(mysql->mysql); in link_affected_rows_read()
181 MY_MYSQL *mysql; in link_error_list_read() local
185 mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; in link_error_list_read()
188 if (mysql) { in link_error_list_read()
190 if (mysql->mysql->data->error_info->error_list) { in link_error_list_read()
193 …for (message = (MYSQLND_ERROR_LIST_ELEMENT *) zend_llist_get_first_ex(mysql->mysql->data->error_in… in link_error_list_read()
195 …message = (MYSQLND_ERROR_LIST_ELEMENT *) zend_llist_get_next_ex(mysql->mysql->data->error_info->er… in link_error_list_read()
206 if (mysql_errno(mysql->mysql)) { in link_error_list_read()
209 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_errno(mysql->mysql)); in link_error_list_read()
210 …d_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_sqlstate(mysql->mysql)); in link_error_list_read()
211 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_error(mysql->mysql)); in link_error_list_read()
238 MY_MYSQL *mysql; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local
248 mysql = (MY_MYSQL *)((MYSQLI_RESOURCE *)(obj->ptr))->ptr; in MYSQLI_MAP_PROPERTY_FUNC_LONG()
250 if (mysql) { in MYSQLI_MAP_PROPERTY_FUNC_LONG()
253 if (mysqlnd_stat(mysql->mysql, &stat_msg) == PASS) { in MYSQLI_MAP_PROPERTY_FUNC_LONG()
258 if ((stat_msg = (char *)mysql_stat(mysql->mysql))) { in MYSQLI_MAP_PROPERTY_FUNC_LONG()