diff options
author | Andrey Hristov <andrey@php.net> | 2008-01-28 18:25:50 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-01-28 18:25:50 +0000 |
commit | 7932ccba6d4e71bf50bba9797134a047d36e10e1 (patch) | |
tree | 703adc6e5e0fea41ffb536a1ac50def65fbdae19 /ext/mysqli/php_mysqli_structs.h | |
parent | a7dabd575a1e852999ed9a64341e07737f48ec81 (diff) | |
download | php-git-7932ccba6d4e71bf50bba9797134a047d36e10e1.tar.gz |
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/mysqli/php_mysqli_structs.h')
-rw-r--r-- | ext/mysqli/php_mysqli_structs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h index ec3291d8bd..7177e42d51 100644 --- a/ext/mysqli/php_mysqli_structs.h +++ b/ext/mysqli/php_mysqli_structs.h @@ -298,6 +298,9 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML #define MYSQLI_STORE_RESULT 0 #define MYSQLI_USE_RESULT 1 +#ifdef HAVE_MYSQLND +#define MYSQLI_BG_STORE_RESULT 101 +#endif /* for mysqli_fetch_assoc */ #define MYSQLI_ASSOC 1 |