Andrey Hristov
293ba72451
Fix a segfault when using a mysqli object after unsuccesssful connect, the
handle should have been allocated with mysqli_init().
16 years ago
Andrey Hristov
4dbaaae979
Fix for bug#50772
mysqli constructor without parameters does not return a working mysqli object
16 years ago
Andrey Hristov
6407250e70
Fix for bug#50772
mysqli constructor without parameters does not return a working mysqli object
16 years ago
Sebastian Bergmann
22f4ef45fe
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
16 years ago
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
16 years ago
Andrey Hristov
066dad5ff9
Unify. The typedef-ed structs in mysqlnd are always capitalized.
16 years ago
Andrey Hristov
01adfaee5f
Unify. The typedef-ed structs in mysqlnd are always capitalized.
16 years ago
Andrey Hristov
6f598e62ff
Remove the zval caching from mysqlnd. It was disabled versions ago
due to problems on windows, which were not debugged. Better have
code that is disabled not in the core.
16 years ago
Andrey Hristov
fd44827701
Remove the zval caching from mysqlnd. It was disabled versions ago
due to problems on windows, which were not debugged. Better have
code that is disabled not in the core.
16 years ago
Andrey Hristov
4d2735007d
Remove disabled code - threaded fetching. This can be implemented
on a upper level and by offloading it we reduce the complexity of
the core.
16 years ago
Andrey Hristov
157f1bddf1
Remove disabled code - threaded fetching. This can be implemented
on a upper level and by offloading it we reduce the complexity of
the core.
16 years ago
Rasmus Lerdorf
a687ddcb4b
Fix for bug #49098
16 years ago
Rasmus Lerdorf
c6502213b4
Fix bug #49098
16 years ago
Ulf Wendel
29d771c543
Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761
16 years ago
Ulf Wendel
d8dc47d58f
Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761
16 years ago
Ulf Wendel
355a88f676
Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.
16 years ago
Ulf Wendel
ab4670ee53
Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.
16 years ago
Andrey Hristov
07757b4f2f
Fix a crash in the rare case when a persistent connection
is found dead, after CHNG_USER. mysql->mysql will be NULL
and segfault will follow.
16 years ago
Andrey Hristov
5d3152b181
Fix a crash in the rare case when a persistent connection
is found dead, after CHNG_USER. mysql->mysql will be NULL
and segfault will follow.
16 years ago
Felipe Pena
04c90a0f51
- Removed:
- UG(unicode) checks
- Changed:
- ZEND_STR_TYPE -> IS_UNICODE
- convert_to_text -> convert_to_unicode
17 years ago
Johannes Schlüter
611c453598
MFH: Fix mysqli pconnects to properly reset connection status by default
17 years ago
Johannes Schlüter
6e24169120
- Fix mysqli pconnects to properly reset connection status by default
17 years ago
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
17 years ago
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
17 years ago
Andrey Hristov
825034cea5
MFH:
Asynchronous queries for mysqli, when mysqlnd is enabled.
Includes 4 tests for mysqli_poll
17 years ago
Andrey Hristov
983f575f22
Asynchronous queries for mysqli, when mysqlnd is enabled.
Includes 4 tests for mysqli_poll
17 years ago
Andrey Hristov
ec20906b1b
Fix that instance too - mysql_get_client_version() returns unsigned long
17 years ago
Andrey Hristov
35829ec7ed
Fix compiler warning (MFB: Ilia)
17 years ago
Andrey Hristov
34ca27a191
MFH: Fix an issue with mysqli.default_port not being used
17 years ago
Andrey Hristov
526345b3a0
Fix bug found in a test. mysqli.default_port wasn't used
17 years ago
Andrey Hristov
4df718a477
MFH:
Warning if the library API version differs from the headers used to compile.
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
17 years ago
Andrey Hristov
e8e843b39e
Warning if the library API version differs from the headers used to compile.
Patch versions are not considered but major.minor
Fix build of ext/mysql with 4.0.x and pre.
17 years ago
Johannes Schlüter
f869bbfc1b
MFH: Fix #45763 (mysqli::multi_query does not work with mysqlnd)
18 years ago
Johannes Schlüter
2888aa20d1
- Fix #45763 (mysqli::multi_query does not work with mysqlnd)
18 years ago
Andrey Hristov
8c56a23a26
MFH: Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
and pconn. ext/mysql is being fixed with a better fix for similar leak.
18 years ago
Andrey Hristov
9f0b69086c
Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
and pconn. ext/mysql is being fixed with a better fix for similar leak.
18 years ago
Andrey Hristov
fd699ce7d3
Fix possible bug with persistent connections
18 years ago
Andrey Hristov
e0f45cf7ae
Fix possible bug with persistent connections and mysqlnd
18 years ago
Andrey Hristov
259b652b2e
Make mysqli compilable in a 5_2 environment. Some want to use mysqlnd+mysqli
with 5_2. This won't hurt 5_2 in any way. Won't be MFB-ed because HEAD is
completely different.
18 years ago
Andrey Hristov
f4e659d2af
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.
18 years ago
Andrey Hristov
1bf96fdf5c
MFB : Fix for Bug #43832 mysqi_get_charset() doesn't expose charset comment
18 years ago
Andrey Hristov
5abe8c8d01
Small updates & a fix for
Bug #43832 mysqi_get_charset() doesn't expose charset comment
18 years ago
Andrey Hristov
e53f44b9bd
MFB - Bug #44352 mysqli_connect_error() false negative for host errors
18 years ago
Andrey Hristov
caf3e9c3f1
Fixed a bunch of bugs reported in
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.
18 years ago
Andrey Hristov
60869b3e8e
Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
18 years ago
Andrey Hristov
725b31fc6c
Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary
18 years ago
Andrey Hristov
f20d47c541
MFB:
- Fixed problem with $mysqli->connect() not connecting with defaults
- Fixed leak (#39475 )
18 years ago
Andrey Hristov
ff8a310468
Fix a problem with $mysqi->connect() not working with default values.
Fix a leak, bug#39457
18 years ago
Felipe Pena
2818d4fc51
New way for check void parameters
18 years ago
Andrey Hristov
533618d2a0
Remove dead code
18 years ago