diff options
author | Andrey Hristov <andrey@php.net> | 2008-09-15 14:07:44 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-09-15 14:07:44 +0000 |
commit | 5f7bd521f0b4c787e5bba63f6529de7db7ee5b07 (patch) | |
tree | 4424f424c1e4ae89b958ce5e52e24d88690d575d /ext/mysqlnd/mysqlnd.h | |
parent | 1474d9dfad906b926247677a8ba608d245b8d255 (diff) | |
download | php-git-5f7bd521f0b4c787e5bba63f6529de7db7ee5b07.tar.gz |
MFH:Compile-in a string-to-int conversion for INT columns by default,
controlled by a ini setting.
Diffstat (limited to 'ext/mysqlnd/mysqlnd.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h index cc6afab51c..817fef2c54 100644 --- a/ext/mysqlnd/mysqlnd.h +++ b/ext/mysqlnd/mysqlnd.h @@ -27,10 +27,10 @@ #define MYSQLND_VERSION_ID 50004 /* This forces inlining of some accessor functions */ -#define MYSQLND_USE_OPTIMISATIONS 0 +#define MYSQLND_USE_OPTIMISATIONS 1 -/* #define MYSQLND_STRING_TO_INT_CONVERSION */ +#define MYSQLND_STRING_TO_INT_CONVERSION /* This force mysqlnd to do a single (or more depending on ammount of data) non-blocking read() calls before sending a command to the server. Useful |