Commit Graph

25367 Commits

Author SHA1 Message Date
Stanislav Malyshev
a6c0a4e474 Fixed Bug #52063 (DateTime constructor's second argument doesn't have a null default value) 2011-01-24 01:15:41 +00:00
Ilia Alshanetsky
9c29975e4d Fixed compiler warning 2011-01-23 16:44:58 +00:00
Pierre Joye
88a1f3988c - local redeclaration 2011-01-23 10:02:06 +00:00
Pierre Joye
fc4853f34b - kill local redeclaration by using a less common name 2011-01-23 09:46:06 +00:00
Ilia Alshanetsky
e3d1ab787f Fixed variable overloading 2011-01-20 19:32:36 +00:00
Pierre Joye
e0af377bd8 - be sure that we got tzid by adding a default case 2011-01-20 07:05:34 +00:00
Pierre Joye
739a870b0d - fail when no known op are given 2011-01-20 06:58:04 +00:00
Pierre Joye
4ff753b99b - unused var 2011-01-20 06:55:11 +00:00
Pierre Joye
1e9faabe8e - fail when no known op are given 2011-01-20 06:54:28 +00:00
Pierre Joye
eddf7586db - kill local redeclaration 2011-01-20 06:49:17 +00:00
Pierre Joye
3292399d27 - init err (and simplify) 2011-01-20 06:45:52 +00:00
Pierre Joye
aac73eb84a - init err 2011-01-20 06:44:16 +00:00
Pierre Joye
a2a62aeb5f - force static, can't be built yet shared anyway 2011-01-19 21:19:45 +00:00
Andrey Hristov
87a2104c1a fix ZTS build 2011-01-19 17:51:02 +00:00
Pierre Joye
f47405315d - malloc may fail 2011-01-19 15:23:07 +00:00
Gustavo André dos Santos Lopes
b9b1fb1827 - Hopefully finally fixed the mess in rev 307562 and rev 307563. 2011-01-19 00:22:06 +00:00
Gustavo André dos Santos Lopes
f455f85e6c - Fixed wrong function call in original commit to FR #39771. 2011-01-18 19:56:09 +00:00
Gustavo André dos Santos Lopes
163b3bcec9 - Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional
DOMNode like DOMDocument::saveXML).
2011-01-18 19:45:38 +00:00
Pierre Joye
0c665f0996 - fix the fix (wrong test) 2011-01-18 10:29:26 +00:00
Pierre Joye
a1b2df31d6 - don't try to access if calloc fails (quick review of its usage: seems that the stats member is validated in other places, to be confirmed) 2011-01-17 14:07:40 +00:00
Pierre Joye
59dc221530 - fix NULL derefencing 2011-01-17 14:01:01 +00:00
Ilia Alshanetsky
78b60fcc97 Fixed compiler warning 2011-01-17 13:44:54 +00:00
Ulf Wendel
a55e03aaff Fix tests: don't expect people to use a certain db/schema for testing 2011-01-17 13:06:44 +00:00
Kalle Sommer Nielsen
5ba90aefb0 Added 'catalog' to the field fetching functions in mysqli (Thanks to Johannes for the headsup) 2011-01-17 10:43:53 +00:00
Kalle Sommer Nielsen
dc8da85778 Remove this void comment (c/p mistake) 2011-01-17 09:59:07 +00:00
Kalle Sommer Nielsen
2d9325ec2c Fix mysqlnd build 2011-01-16 15:44:48 +00:00
Andrey Hristov
16c6ce94d2 Update on the mysqlnd auth plugins, changed the plugin
structure and where they load themselves.
0xFE packets (method switch) needs to be done, additional
wire-level packet to be created to be parsed and the packet
doesn't fit the PACKET_OK structure anymore.
2011-01-14 20:04:17 +00:00
Andrey Hristov
a3391dce9f merge from branch 2011-01-14 20:02:49 +00:00
Johannes Schlüter
fc49f76caa - Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver) 2011-01-14 14:57:57 +00:00
Andrey Hristov
5ca5c2bf43 Change things to allow passing of the password length
to mysqlnd. This is needed as a password might include
a \0 and thus we need to be binary safe.
2011-01-14 13:00:42 +00:00
Scott MacVicar
b2c4503fbe intl: Add Spoofchecker cloning, fix typo in prototype, rename some variables and tidy syntax. 2011-01-13 07:46:59 +00:00
Scott MacVicar
d90394851c Add Spoofchecker to intl extension.
Implements part of Unicode TR36 and TR39
2011-01-13 06:53:09 +00:00
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
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
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
Rui Hirokawa
b374b41c6f added an option to http_build_query for RFC-3986
based url-encoding.
2011-01-08 02:21:44 +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
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
Felipe Pena
d3e6f27a76 - Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference. 2011-01-07 01:11:16 +00:00
Adam Harvey
3571c955b5 Implement request #53659 (Implementing RegexIterator::getRegex() method). Patch
by Joshua Thijssen.
2011-01-06 02:32:02 +00:00