summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_result.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-01-28 18:27:49 +0000
committerAndrey Hristov <andrey@php.net>2008-01-28 18:27:49 +0000
commit18c8e6501b2c1f9fc96dda7c2304523d46bf13a4 (patch)
treef41112affbf103b699c603b36e354be143969cc3 /ext/mysqlnd/mysqlnd_result.h
parent618a29411d2f58a9bf55488f2d7220639ec92c23 (diff)
downloadphp-git-18c8e6501b2c1f9fc96dda7c2304523d46bf13a4.tar.gz
MFB: More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data interpretation). Threaded fetching added but disabled as needs more work for Windows. For Linux needs some touches to add pthreads if this is enabled, probably with a compile-time switch. The code reorganisation makes it easy to add also async API, similar to cURL's one.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_result.h')
-rw-r--r--ext/mysqlnd/mysqlnd_result.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_result.h b/ext/mysqlnd/mysqlnd_result.h
index 8135963671..570f1a5d0d 100644
--- a/ext/mysqlnd/mysqlnd_result.h
+++ b/ext/mysqlnd/mysqlnd_result.h
@@ -31,11 +31,14 @@ enum_func_status
mysqlnd_store_result_fetch_data(MYSQLND * const conn, MYSQLND_RES *result,
MYSQLND_RES_METADATA *meta,
zend_bool binary_protocol,
- zend_bool update_max_length,
zend_bool to_cache TSRMLS_DC);
enum_func_status mysqlnd_query_read_result_set_header(MYSQLND *conn, MYSQLND_STMT *stmt TSRMLS_DC);
+void mysqlnd_res_initialize_result_set_rest(MYSQLND_RES * const result TSRMLS_DC);
+
+
+enum_func_status mysqlnd_background_store_result_fetch_data(MYSQLND_RES *result TSRMLS_DC);
#endif /* MYSQLND_RESULT_H */
/*