Andrey Hristov
be73f948d2
Fixing the second test
2010-04-08 13:18:52 +00:00
Andrey Hristov
48c3d20dd4
one more fix and both work with libmysql and mysqlnd
2010-04-08 10:53:38 +00:00
Antony Dovgal
d2699793e0
fix build
2010-04-08 09:56:18 +00:00
Andrey Hristov
8338d48828
Fix for bug #51026 ssl not working
2010-04-08 09:01:21 +00:00
Pierre Joye
517d9bb1f2
- WS
2010-04-08 07:55:35 +00:00
Pierre Joye
c4eafddbda
- WS
2010-04-08 07:50:05 +00:00
Andrey Hristov
48392f04fa
Another fix for the 16 chars user limitation of MySQL
2010-04-07 18:28:46 +00:00
Andrey Hristov
7670d2948d
Fix test. The usernames in the server are 16 chars long
2010-04-07 18:05:42 +00:00
Andrey Hristov
798103d4e0
Fix the Windows build (void* arithmetic) as well as --disable-zlib
...
build.
2010-04-06 18:14:23 +00:00
Andrey Hristov
dda0320c5c
Stricly C
2010-04-06 14:33:55 +00:00
Antony Dovgal
d7e716b8f0
fix typo
2010-04-06 13:42:21 +00:00
Andrey Hristov
aa8f43fad9
Recommit with an Windows build fix:
...
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)
2010-04-06 13:28:23 +00:00
Stanislav Malyshev
5f11cd5693
change namespaced ctors - only __construct would work
2010-04-04 23:28:20 +00:00
Felipe Pena
462580cd7d
- Fix tests
2010-04-04 17:21:27 +00:00
Felipe Pena
49a81742ef
- Fix test
2010-04-04 16:57:44 +00:00
Felipe Pena
4d571dee74
- Fixed tests
2010-04-03 15:42:42 +00:00
Felipe Pena
a140e70661
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
2010-04-02 21:44:09 +00:00
Rob Richards
0758c8794d
fix bug #48983 (DomDocument : saveHTMLFile wrong charset)
2010-04-02 20:08:15 +00:00
Rasmus Lerdorf
9744284109
Fix tests
2010-04-02 18:27:48 +00:00
Rasmus Lerdorf
6d77506cfd
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576
2010-04-02 17:56:37 +00:00
Rob Richards
f1af56fb4e
fix WS
2010-04-02 16:19:23 +00:00
Rob Richards
12b71200be
re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
...
add test
BFN
2010-04-02 16:15:06 +00:00
Stanislav Malyshev
44a5b8e459
fix #49192 - crash in GC when get_properties handler returns null
2010-04-01 22:54:03 +00:00
Pierre Joye
96e2651fa2
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
2010-04-01 20:21:50 +00:00
Stanislav Malyshev
a3857fd963
fix #51394 - try harder to find script lineno when exception happens
2010-04-01 19:36:56 +00:00
Rasmus Lerdorf
8b1d84a6ce
Add new full_special_chars filter to tests
2010-04-01 18:04:57 +00:00
Andrey Hristov
f534df710e
Fix inconsistencies
...
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)
2010-04-01 13:26:41 +00:00
Andrey Hristov
a712d9cefb
Better fix for bug #51347 mysqli_close / connection memory leak
2010-04-01 12:46:21 +00:00
Ilia Alshanetsky
c2e16d3c5b
On beginTransaction() reset error state
2010-04-01 12:08:55 +00:00
Andrey Hristov
311ab2c822
Fixed bug #51347 mysqli_close / connection memory leak
...
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().
2010-04-01 11:50:24 +00:00
Pierre Joye
60176163f1
- fix build
2010-04-01 10:34:05 +00:00
Rasmus Lerdorf
b529350d4a
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
2010-03-31 23:56:30 +00:00
Rasmus Lerdorf
a5b5743d71
full_special_chars filter from trunk - approved by johannes
2010-03-31 22:59:09 +00:00
Johannes Schlüter
53d35553c6
It's 2010 already
2010-03-30 21:09:07 +00:00
Johannes Schlüter
4dc1cef4fe
Use php_error_docref instead of zend_error
2010-03-30 21:02:32 +00:00
Ilia Alshanetsky
658fe1d0c3
Upgraded bundled sqlite to version 3.6.23.1
2010-03-30 11:52:25 +00:00
Derick Rethans
462399b78b
- Updated to version 2010.7 (2010g)
2010-03-29 17:22:53 +00:00
Andrey Hristov
94cd357f5b
Make it coupled - what is allocated with mnd_ should be freed
...
with mnd_ and vice versa.
Added mnd_pestrndup and mnd_pestrdup, which wrap the normal
calls to be able to track this calls.
Fixed some failing tests.
2010-03-29 17:04:16 +00:00
Ilia Alshanetsky
e99039d692
Upgraded bundled PCRE to version 8.02.
2010-03-29 11:58:06 +00:00
Christopher Jones
3e58dee19a
Fix #51220 by adding . Also improve reliability for tests using undefined behavior.
2010-03-26 19:38:26 +00:00
Andrey Hristov
ec36ac1610
Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock
...
as it is in when compiled from source and the default for mysqlnd.
SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode
(ext/mysql and ingres) needs the socket.
Fix possible crashes in mysqlnd. When packets are shorter, functions should
return error.
2010-03-26 16:58:25 +00:00
Adam Harvey
53cfb3d53d
Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains timezone).
2010-03-26 04:31:26 +00:00
Stanislav Malyshev
252082192a
fix the protos
2010-03-25 19:17:17 +00:00
Christopher Jones
1a6f4efbad
Fixed bug #51291 (oci_error doesn't report last error when called two times)
2010-03-24 22:08:55 +00:00
Hannes Magnusson
abd893a2ae
Fix tests
2010-03-24 22:06:21 +00:00
Hannes Magnusson
a1cce74e96
Fix test (the key can be negative)
2010-03-24 21:57:30 +00:00
Andrey Hristov
78887ff757
Fix a segfault when using a mysqli object after unsuccesssful connect, the
...
handle should have been allocated with mysqli_init().
2010-03-24 15:17:57 +00:00
Andrey Hristov
9f20131311
fix build failure after recent commit by Kalle
2010-03-24 10:06:42 +00:00
Takeshi Abe
a46e108b83
Fixed bug #51263 (imagettftext and rotated text uses wrong baseline)
2010-03-24 04:12:19 +00:00
Kalle Sommer Nielsen
c8b33a6a01
Fix declaring
2010-03-23 13:21:22 +00:00