123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #ifndef MYSQLND_PS_H
- #define MYSQLND_PS_H
- typedef void (*ps_field_fetch_func)(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row);
- struct st_mysqlnd_perm_bind {
- ps_field_fetch_func func;
-
- int pack_len;
- unsigned int php_type;
- zend_bool is_possibly_blob;
- zend_bool can_ret_as_str_in_uni;
- };
- extern struct st_mysqlnd_perm_bind mysqlnd_ps_fetch_functions[MYSQL_TYPE_LAST + 1];
- enum_func_status mysqlnd_stmt_fetch_row_buffered(MYSQLND_RES * result, void * param, const unsigned int flags, zend_bool * fetched_anything);
- enum_func_status mysqlnd_fetch_stmt_row_cursor(MYSQLND_RES * result, void * param, const unsigned int flags, zend_bool * fetched_anything);
- void _mysqlnd_init_ps_subsystem();
- void _mysqlnd_init_ps_fetch_subsystem();
- void ps_fetch_from_1_to_8_bytes(zval * zv, const MYSQLND_FIELD * const field, const unsigned int pack_len, const zend_uchar ** row, unsigned int byte_count);
- #endif
|