Commit Graph

60561 Commits

Author SHA1 Message Date
Andrey Hristov
429e07bba2 grok the MySQL 5.5 extended handshake.
Move the authentication routines, the native ones, to
separate file and encapsulate them in a plugin.
Depending on the server version and what the server
requests (or doesn't in old versions) load the authentication
plugin to handle it.
Currently only the 4.1+ authentication is supported. More to come
2011-01-12 21:40:05 +00:00
Derick Rethans
8e73b70806 - Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
big-endian systems). (Patch by rein@basefarm.no)
2011-01-12 19:50:09 +00:00
Ilia Alshanetsky
a6a4751a88 Fixed variable re-declaration 2011-01-12 13:21:27 +00:00
Felipe Pena
189b042a01 - Fixed compiler warnings 2011-01-12 00:29:59 +00:00
Andrey Hristov
ddbbcdce49 Use common code to handle initial authentication and
COM_CHANGE_USER
2011-01-11 13:02:57 +00:00
Ilia Alshanetsky
d5af830385 Added missing success check around chmod() for windows during temp file creation 2011-01-11 12:57:19 +00:00
Pierre Joye
f9c61024a5 - do not enable analyzer for snapshot 2011-01-10 21:04:50 +00:00
Ilia Alshanetsky
934e8d134c Fixed bug #53630 (Fixed parameter handling inside readline() function). 2011-01-10 18:19:02 +00:00
Andrey Hristov
00eaff1528 plug a leak 2011-01-10 15:28:52 +00:00
Andrey Hristov
61d49db1f3 new flag 2011-01-10 15:14:56 +00:00
Pierre Joye
80e5f0f774 - remove local redeclaration 2011-01-10 08:28:47 +00:00
Pierre Joye
f25ab1bf9c - possible NULL deref 2011-01-10 08:07:38 +00:00
Pierre Joye
f45b9c4a0b - local redeclaration 2011-01-10 01:04:36 +00:00
Pierre Joye
366e7170fa - WS 2011-01-10 00:59:19 +00:00
Pierre Joye
9a0771d846 - some more possible NULL deref 2011-01-10 00:43:08 +00:00
Pierre Joye
26bb38e68b - fix possible NULL deref 2011-01-10 00:30:07 +00:00
Pierre Joye
eda798fd7a - add configure option to enable the builtin static analyzer (will be enabled for snaps' log) 2011-01-09 21:38:46 +00:00
Stefan Marr
478e5d1dd0 Added trait_exists() [TRAITS] [DOC]
- also changed class_exists() to return false for traits
- added related tests, and get_declared_traits() tests in ext/s/t/co
2011-01-09 19:57:41 +00:00
Pierre Joye
7c6310852e - let try to fix pecl header install so we can do the same than unix, install them in ext/<extname> instead of pecl<extname> 2011-01-09 14:01:21 +00:00
Rui Hirokawa
b374b41c6f added an option to http_build_query for RFC-3986
based url-encoding.
2011-01-08 02:21:44 +00:00
Pierre Joye
f3a4bfee8f - enable ASLR and NXCOMPAT by default 2011-01-07 20:50:33 +00:00
Kalle Sommer Nielsen
69a3575b38 Implemented FR #39847 (mysqli_fetch_[field|fields|field_direct] need to return db) 2011-01-07 18:25:55 +00:00
Kalle Sommer Nielsen
ee62a1a747 Added test case for #47802 and fixed macro name after the move to mysql_options() 2011-01-07 17:18:30 +00:00
Pierre Joye
cc6bb66dcd - define the php*.lib/dll names 2011-01-07 15:51:36 +00:00
Kalle Sommer Nielsen
1351c2e2c6 Update to use mysql_options() instead of mysql_set_character_set() (As suggested by Andrey) 2011-01-07 14:58:23 +00:00
Pierre Joye
7b330e0e96 - missing add header 2011-01-07 14:57:51 +00:00
Kalle Sommer Nielsen
e4c36b054c Implemented FR #47802, support for character sets in DSN strings for PDO_MYSQL 2011-01-07 14:39:56 +00:00
Andrey Hristov
5549e066f2 Proper fix for
Bug #53503      mysqli::query returns false after successful LOAD DATA query
which fixes als #56349, same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.
2011-01-07 14:22:30 +00:00
Adam Harvey
abf0ea0110 Implement request #53684 (Deprecated HTML in sample php.ini). 2011-01-07 03:43:20 +00:00
Felipe Pena
d3e6f27a76 - Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference. 2011-01-07 01:11:16 +00:00
Rasmus Lerdorf
dc444e8a37 Fix bug #53682 2011-01-06 22:48:20 +00:00
Adam Harvey
3571c955b5 Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.
2011-01-06 02:32:02 +00:00
Adam Harvey
e7a1d5004e Remove empty files left when r306542 was reverted in r306552. 2011-01-06 02:24:49 +00:00
Scott MacVicar
ef0a793fdd Implemented FR #53466 (SQLite3Result::columnType() should return false after all of the rows have been fetched). 2011-01-06 00:08:59 +00:00
Etienne Kneuss
78728e33fa Implement SplObjectStorage::removeAllExcept (Patch by Matthey Turland) 2011-01-05 15:01:18 +00:00
Ilia Alshanetsky
92ce32032d Added test 2011-01-05 14:41:50 +00:00
Ilia Alshanetsky
cd32d5792e Optimize unix timestamp to date-string conversion for very high year values 2011-01-05 04:13:23 +00:00
Pierre Joye
84b854a603 - revert rev. 307044 2011-01-05 00:59:31 +00:00
Scott MacVicar
8634d8ca2b Add test for bug #53632 2011-01-04 23:36:56 +00:00
Scott MacVicar
bb08994d71 Fix bug #53632 with x87 fpu 2011-01-04 22:36:23 +00:00
Felipe Pena
8d8f6552ca - Fixed tests 2011-01-04 22:01:09 +00:00
Stanislav Malyshev
66f38ebac6 fix unit tests for intl in accordance with new ICU releases 2011-01-04 03:24:38 +00:00
Kalle Sommer Nielsen
79b997d7ba Fixed linking of extensions that would use a static .lib file (libname_a.lib rather than libname.lib)
# This fixes `configure --with-mcrypt=shared' to properly find and 
# link against libmcrypt.lib rather than libmcrypt_a.lib
2011-01-03 23:08:47 +00:00
Pierre Joye
2171932624 - useless commented code 2011-01-03 20:38:21 +00:00
Scott MacVicar
4212e4e90c Change DEBUG() to TIMELIB_DEBUG(), there are potential conflicts with other libraries that also use this. 2011-01-03 19:24:04 +00:00
Scott MacVicar
aff978c223 Fix error with initialisation flag being set too early. If encryption is enabled and fails to decrypt a crash can occur.
Also fix a WS error.
2011-01-03 19:15:36 +00:00
Pierre Joye
95dbc9d3f0 - slightly cleaner 2011-01-03 15:36:39 +00:00
Pierre Joye
0ebbe5e450 - fix crash when argc > 1 and to_zval is NULL (thx tony for the headup) 2011-01-03 15:35:01 +00:00
Ilia Alshanetsky
7a2157cf37 Fixed Bug #53629 (memory leak inside highlight_string()). 2011-01-03 14:39:48 +00:00
Pierre Joye
0df43f2803 - kill c++ comment 2011-01-03 09:33:27 +00:00