Wez Furlong
a5135f4528
Patch from zhao ming sen.
2005-06-10 06:32:36 +00:00
Wez Furlong
fcff6a079a
"Fix" PECL #4411
...
SPL is not initialized before PDO, so inheriting from SPL's runtime exception class gives PDO a broken exception class.
We don't currently have a way to express this kind of "soft" dependency in the build system, so I'm disabling inheriting from the runtime exception for now.
2005-06-10 06:11:29 +00:00
Wez Furlong
711b4e0043
implement the 'request shutdown' hook; this allows us to register UDFs on
...
persistent handles safely. (it is dangerous to keep them registered between
requests, as there are 0 guarantees that functions with the same name are even
present on the next hit, let alone that the zvals we cache point to the right
place.
2005-06-10 05:49:48 +00:00
Wez Furlong
49e7b3da4c
Fix a dumb bug that would effecively ignore persistent connections and create a
...
new one each time.
Add a hook for persistent connections: it is called when the object goes out of
scope, and offers the driver an opportunity to release per-request scoped data
at the right time.
This hook is used by pdo_sqlite to unregister UDFs, which are dangerous to keep
registered between requests.
2005-06-10 05:47:55 +00:00
Wez Furlong
6cc74b0e39
add sqliteCreateAggregate()
2005-06-10 05:17:47 +00:00
Wez Furlong
41421c7d7a
finish implementation of sqliteCreateFunction().
2005-06-10 04:04:43 +00:00
Wez Furlong
5c16028eb5
initialize type of function
2005-06-10 04:03:43 +00:00
Wez Furlong
be76bd5278
work in progress on UDF.
...
Something is hokey in HEAD, checking it in to try it on another box.
2005-06-10 02:50:37 +00:00
Stanislav Malyshev
2cb52151ac
MF50: fix #29689 and more private property problems
2005-06-09 17:20:44 +00:00
Ilia Alshanetsky
3341b5dedd
Fixed compiler warning.
2005-06-09 16:13:14 +00:00
Dmitry Stogov
4c0970bec6
Fixed reference counting and probable crash on fclose() or shutdown
2005-06-09 08:19:30 +00:00
Dmitry Stogov
992a187eb1
Fixed array type autodetection (use namespace name, but not the namespace prefix
...
)
2005-06-09 08:17:37 +00:00
Ilia Alshanetsky
0c6368d44b
Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length)
2005-06-08 23:49:38 +00:00
Dmitry Stogov
72c6d5cbaf
Fixed memory allocation bugs in array_reduce() with initial value ( #22463 & #24980 )
2005-06-08 19:54:24 +00:00
Dmitry Stogov
cf5a6f81e3
Fixed zval_ptr_dtor(&return_value) on uninicialized zval
2005-06-08 19:51:56 +00:00
Dmitry Stogov
9cf513dfea
Fixed ReflectionClass::setStaticPropertyValue()
2005-06-08 17:08:06 +00:00
Dmitry Stogov
415ec46927
Fixed incorrect usage of zend_mangle_property_name() (valgrind errors)
2005-06-08 15:48:12 +00:00
Dmitry Stogov
0a44789bf3
Fixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
2005-06-08 06:49:01 +00:00
foobar
7101cd821a
- It is nice to close the script with ?>..
2005-06-07 21:39:54 +00:00
foobar
8e2efc351b
- Show "none" when nothing is found
2005-06-07 16:47:33 +00:00
Dmitry Stogov
84392e5e7f
Fixed memory allocation bugs. Probably this patch should fix bug #31725 .
2005-06-07 15:39:35 +00:00
Derick Rethans
7a3dbcd1c4
- Added the --disable-zend-memory-manager switch to disable the Zend memory
...
manager.
#- I discussed this with Dmitry today - we found it useful.
2005-06-07 13:36:08 +00:00
foobar
bf94716838
- Allow doing --with-mysql --with-mysqli (no mysql libs are bundled atm)
...
- Make sure MYSQL_DIR is empty.
2005-06-07 12:39:02 +00:00
Dmitry Stogov
20d7e52a53
Enabled test for <any>
2005-06-07 05:37:38 +00:00
Wez Furlong
f9de2a3dbd
fix build on Solaris
2005-06-06 22:04:14 +00:00
Wez Furlong
f1569c199e
test commit
2005-06-06 17:47:49 +00:00
Brad House
fccdf78ee8
libmonetra-5.0 sync.
...
added m_validateidentifier, which is enabled by default to keep invalid pointer addresses from causing PHP to crash
kept compatability with older versions of libmonetra.
2005-06-06 16:43:26 +00:00
Ilia Alshanetsky
e3d8886bcd
Better storage size for output length.
...
# Thanks to Stefan for noticing the problem.
2005-06-06 16:30:46 +00:00
Derick Rethans
c6ae4a98be
- Fixed bug #33242 (Mangled error message when stream fails).
2005-06-06 12:39:57 +00:00
Wez Furlong
e9d474dc01
fixes for #33251
2005-06-05 19:25:01 +00:00
Ilia Alshanetsky
a13aaa8aef
Fixed bug #33070 (Improved performance of bzdecompress() by several orders
...
of magnitude).
2005-06-05 18:04:20 +00:00
foobar
83dff0b68b
nuke crap, end scripts always with ?>
2005-06-03 23:13:23 +00:00
Magnus M��tt�
1182dd48e9
Add skipif, test requires iconv.
2005-06-03 22:51:10 +00:00
foobar
fd07bc5e6b
nuke duplicate code
2005-06-03 22:09:22 +00:00
Georg Richter
d486da963e
added new function mysqli_get_charset
2005-06-03 08:49:01 +00:00
George Schlossnagle
d3a665248d
[Move from branch]
...
On architectures that support va_copy (specifically x86_64 linux distros),
if you use va_list args more than once, you can corrupt memory - you
need to use va_copy instead. man va_copy for details.
Also, derefrencing a void * to a long on 64 bit is totally uncool.
2005-06-03 07:34:49 +00:00
Antony Dovgal
56a68b5be1
fix bug #33222 (segfault when CURL handle is closed in a callback).
...
fix segfaults when CURL callback functions throw exception.
2005-06-02 21:04:12 +00:00
foobar
2018d2df32
We only need LEMON for bundled stuff
2005-06-02 20:06:37 +00:00
Antony Dovgal
7e450f528c
fix bug #33214 (odbc_next_result does not signal SQL errors with 2-statement SQL batches).
...
Path by rich at kastle dot com.
2005-06-02 15:40:45 +00:00
Derick Rethans
ad21bb1baa
- That should have been removed, not commented out.
2005-06-02 08:51:20 +00:00
Derick Rethans
90f4590d87
- Fixed memory corruption in stristr().
2005-06-02 08:29:37 +00:00
foobar
f887ae2e80
touch
2005-06-02 05:49:56 +00:00
Ilia Alshanetsky
fd396287d0
Fixed bug #33210 (relax jpeg recursive loop protection).
2005-06-01 22:28:03 +00:00
Antony Dovgal
29319a81b8
fix typo
...
(see details here: http://news.php.net/php.internals/16350 )
2005-06-01 18:27:50 +00:00
Dmitry Stogov
b41a7ad18a
Fixed bug #32941 (Sending structured SOAP fault kills a php)
2005-06-01 14:43:13 +00:00
Dmitry Stogov
9383e1b858
Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
2005-06-01 11:03:58 +00:00
Ilia Alshanetsky
f28249f779
kill unused var.
2005-06-01 03:01:29 +00:00
Dmitry Stogov
dac8f964f2
Fixed usage of uninicialized variable
2005-05-31 14:35:55 +00:00
foobar
156a908997
- Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' modifier misbehave)
2005-05-31 12:54:56 +00:00
foobar
8defc849cc
Touch
2005-05-31 09:41:46 +00:00