History log of /PHP-8.0/ext/mysqlnd/mysqlnd_result.c (Results 226 – 250 of 256)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.3.0RC4
# 067276a0 18-Jun-2009 Johannes Schlüter

Temporarily disable this optimization causing too much trouble, kept in HEAD


Revision tags: php-5.2.10
# 10ee06ca 16-Jun-2009 Andrey Hristov

MFH:
Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets.

MFH:
Memory usage optimisation. mysqlnd is not libmysql. mysqlnd does use the
Zend allocator, which means that is easier to hit memory_limit if you
have big stored (buffered) result sets. Before with libmysql you won't
hit memory_limit because libmysql uses libc's allocator and nothing is
checked. Now, with mysqlnd the situation is stricter and it is easier to
hit memory_limit. We try to optimize for big result sets. If a result set
is larger than 10 rows we will start freeing some data to keep memory usage
after 10 rows constant. This will help in the cases where a buffered result
set is scrolled forward only and just only once, or mysqlnd will need to
decode data from the network buffers again - yes, it is a trade-off between
CPU time and memory size. The best for big result sets is of course using
unbuffered queries - for comparison : 3 Million rows with buffered take
at least 180MB, with buffered you will stay at 3MB, and unbuffered will be
just 7-8% slower.

show more ...


# 27270621 16-Jun-2009 Andrey Hristov

MFH:
Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had

MFH:
Hardwire function call instead of using callbacks. We don't actually need
callbacks, it was done for making 2 functions static, not to pollute the
global functions space but that had its price of 8 bytes overheat per
allocation, which is just too much. Also making the app member 32b instead
of 64b, which should save additional 4 byte, to the total of 12 byte per
allocation of a row buffer.

show more ...


Revision tags: php-5.2.10RC2, php-5.3.0RC3
# 804f6138 28-May-2009 Andrey Hristov

MFH:Fix a valgrind warning as well as more trace log information


# 76d091d5 28-May-2009 Andrey Hristov

MFH:Fix a problem with cursors, which did not happen with unbuffered PS for
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this c

MFH:Fix a problem with cursors, which did not happen with unbuffered PS for
some reason. Double free of the data, which led to valgrind warnigns.
The fix actually optimizes the code in this cases because the old code
used copy_ctor while the new one skips it because it is not needed.
Transferring data ownership and nulling works best, for PS where we
always copy the string from the result set, unlike the text protocol.

show more ...


# 6c4e8fa4 28-May-2009 Andrey Hristov

MFH:
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be la

MFH:
Fix a bug with mysqlnd_fetch_field(_direct()). With mysqlnd the optimised
function was called, which however, doesn't respect that during store the
raw data is not unpacked, to be lazy. The data is unpacked to zvals later,
during every row fetch. However, this way max_length won't be calculated
correctly. So, if a mysqlnd_fetch_field(_direct) call comes we need to
unpack everything and then calculate max_length...and that is expensive,
defies our lazy unpacking optimisation.

show more ...


Revision tags: php-5.2.10RC1, php-5.3.0RC2
# dcd86aeb 30-Mar-2009 Felipe Pena

- MFH: Removed UG(unicode) checks


Revision tags: php-5.3.0RC1
# df7ebb5d 17-Mar-2009 Andrey Hristov

MFH: Fix the build because the macro name has changed


Revision tags: RELEASE_1_3_5, php-5.2.9, php-5.2.9RC3, php-5.2.9RC2, php-5.2.9RC1, php-5.3.0beta1
# 08659c2d 31-Dec-2008 Sebastian Bergmann

MFH: Bump copyright year, 3 of 3.


Revision tags: NEWS, php-5.2.8, BEFORE_HEAD_NS_CHANGES_MERGE, php-5.3.0alpha3, php-5.3.0alpha2, php-5.2.7, php-5.2.7RC5, php-5.2.7RC4, BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3
# 91865289 06-Nov-2008 Andrey Hristov

MFH:
Get rid of many defines (which simplifies the code a lot),
as well as uint->unsigned int


# 77c1e145 31-Oct-2008 Andrey Hristov

MFB:
64bit fixes:
- fixes to sprintf modifiers, cleaning warnings
- use _t types, like uint64_t instead of uint64, thus skipping series of
typedefs.


# 7d4c51c2 27-Oct-2008 Andrey Hristov

MFH:
Fix overusage of memory when the result set is empty. Then no memory will be
allocated compared to before. Also grow (realloc) the rset with 10% instead
of 33% - more reallocs but be

MFH:
Fix overusage of memory when the result set is empty. Then no memory will be
allocated compared to before. Also grow (realloc) the rset with 10% instead
of 33% - more reallocs but better memory usage. Of course later theres is a
realloc to shrink the rset t ofree it from unused rows but its better to
to eat too much at once.

show more ...


Revision tags: php-5.2.7RC2, php-5.2.7RC1, php-4.4.9, php-5.3.0alpha1, php-4.4.9RC1, BEFORE_NEW_PARAMETER_PARSE
# e4940492 29-May-2008 Andrey Hristov

Fix a bug that let PDO fail. It has been long fixed, but locally. Now I know
what it fixes :)


Revision tags: RELEASE_1_2_5, RELEASE_2_0_0b1
# 82562725 07-May-2008 Andrey Hristov

Update mysqlnd


Revision tags: php-5.2.6
# f4e659d2 24-Apr-2008 Andrey Hristov

Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.


# de560f31 16-Apr-2008 Andrey Hristov

MFB: Update CVS from the development tree


Revision tags: RELEASE_1_0_2, php-5.2.6RC5, php-5.2.6RC4, php-5.2.6RC3, RELEASE_2_0_0a2, RELEASE_2_0_0a1, php-5.2.6RC2, php-5.2.6RC1
# 7d0cee8c 20-Feb-2008 Andrey Hristov

Fix memory leak


Revision tags: RELEASE_1_3_1
# 2d9d2239 14-Feb-2008 Andrey Hristov

Update mysqlnd - fix bg_store


# 9790d7bf 06-Feb-2008 Andrey Hristov

MFH: Fix a compatibility bug and a failing test


# 1caa85a6 06-Feb-2008 Andrey Hristov

Pconnect working with mysqli_real_connect(). To less failing tests.


# 2d5e8a1e 04-Feb-2008 Andrey Hristov

Fix a leak, memory warning and failing test case.


# d7622b8e 29-Jan-2008 Rob Richards

MFH: fix win32 build


# 829831f5 29-Jan-2008 Andrey Hristov

Fix the build, add a missing file


# 2033c1b7 28-Jan-2008 Andrey Hristov

some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.


# 7932ccba 28-Jan-2008 Andrey Hristov

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
Wi

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.

show more ...


1234567891011