Wez Furlong
4e4b98a66d
Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions
2005-11-25 15:42:26 +00:00
Antony Dovgal
dc0db7382c
MFH: fix #35391 (pdo_mysql::exec does not return number of affected rows)
2005-11-25 12:56:04 +00:00
Wez Furlong
7107105429
Update the TODO list.
2005-11-25 07:23:55 +00:00
Wez Furlong
17f504a0ec
actually, bytea is not required for LOBs in postgres; good!
2005-11-25 03:37:01 +00:00
Wez Furlong
70331c361e
Addresses #35338 .
...
Postgres client API is pretty poor, so we have zero idea about the actual
parameter types in a statement.
We now defer the preparation of a statement until the first call to execute is
made. At that point, we have the parameters defined by the calling script, so
we can use the typing specified there when we perform the prepare.
For PDO_PARAM_LOB parameters, we set the binary formatting flag.
We can't just set this flag for all parameters, because its meaning is not
"string data, counted length" but "data is in native format". If this flag is
set for a numeric column and we send the number 1 formatted as a string, then
we will get an "insufficient data left in message" error message, because the
library was expecting sizeof(int4) bytes but only saw 1 byte for "1".
This is infuriating because we have no way to determine the datatypes for
parameters, and the type we explicitly set has to match the type in the
database. The only choice we're left with is telling postgres to deduce the
type; we still have no idea what type was deduced.
2005-11-25 03:35:04 +00:00
Wez Furlong
2256ec00ef
PDO support for LOBs in the postgres driver currently assumes bytea columns.
2005-11-25 03:24:32 +00:00
Wez Furlong
2618322506
Bug: when stringify fetch mode is on, and the driver returns a string instead
...
of a stream for a LOB parameter, PDO would incorrectly return NULL for that
column.
2005-11-25 03:23:17 +00:00
Wez Furlong
268ac81e39
Add pdo_odbc.db2_instance_name ini setting when built against DB2.
...
This is a convenience for setting up the DB2 environment more easily.
2005-11-25 02:33:04 +00:00
Andrey Hristov
1d3f0d8891
fix test - unsigned it is casted to 0 in mysql sql_mode
2005-11-25 01:13:56 +00:00
Wez Furlong
c2d53719c2
Fix for #35332 .
...
The problem is caused by the user mixing positional and named parameters.
PDO was blindly adding the parameters, unaware that the same parameters were
already allocated by position.
What we do now is register the parameter with the driver before adding it to
any hash. This gives the driver an opportunity to normalize the name and
parameter number. PDO can then ensure that only one entry is occupied in the
hash for a given parameter.
2005-11-25 00:29:04 +00:00
Wez Furlong
bb2f034eff
well, what do you know, it does do something.
2005-11-25 00:20:12 +00:00
Wez Furlong
0a865c89c5
prep for release
2005-11-24 22:33:20 +00:00
Wez Furlong
94ab6069b8
prep for release
2005-11-24 22:25:37 +00:00
Wez Furlong
dfdd1e4caf
CLASSTYPE is an internal flag.
...
Closes PECL #5640 .
2005-11-24 21:46:56 +00:00
Wez Furlong
2814b749ec
Fix PECL Bug #6014 ; config fails on PHP 5.0.3
2005-11-24 21:38:09 +00:00
Wez Furlong
aae30f20fc
Fix bug that breaks pdo_mysql when built shared (was not being linked to the
...
mysql libraries).
If you have another mysql module loaded, this would not have been noticable.
2005-11-24 18:56:16 +00:00
Ilia Alshanetsky
8e49bacf95
Fixed bug #35358 (Incorrect error messages for PDO class constants).
2005-11-24 16:21:43 +00:00
Sara Golemon
a420b562df
MFH (r-1.2) Sync tests with new defaults
2005-11-24 04:37:47 +00:00
Marcus Boerger
c13c6e4f68
- Fix build for new ming versions
...
# Maybe we should check if it is safe to MFH all the corresponding changes
# in head. But why is this out of sync anyway?
2005-11-24 00:51:44 +00:00
Rui Hirokawa
b9f0ff7aab
MFH: fixed 5307 unexpected header can be injected to mb_send_mail().
2005-11-23 15:17:29 +00:00
Antony Dovgal
1e93bb16e4
fix #35336 (crash on PDO::FETCH_CLASS + __set())
2005-11-23 11:15:11 +00:00
Rob Richards
ad7732c0cc
Fixed bug #35342 (isset(DOMNodeList->length) returns false)
...
add test
2005-11-23 03:12:47 +00:00
Ilia Alshanetsky
8c86ea4693
Fixed bug #35046 (phpinfo() uses improper css enclosure).
2005-11-23 00:15:08 +00:00
Antony Dovgal
af34ed0d97
fix #35341 (Fix for bug #33760 breaks build with older curl)
2005-11-22 22:53:34 +00:00
Sara Golemon
7f367c9d83
Widen allowable range of values for 'window' bits.
...
Make -MAX_WBITS default (to match gzinflate() and gzdeflate())
2005-11-22 22:05:38 +00:00
Ilia Alshanetsky
80e04c2c35
Fixed command error in ftp:// wrapper.
...
# Thanks to Stefan Esser for discovering the problem.
2005-11-22 03:01:39 +00:00
Ilia Alshanetsky
13996df552
Fixed test
2005-11-22 01:57:02 +00:00
foobar
7243d31ae0
MFH: - Fixed header installing under phpize builds
2005-11-21 23:08:02 +00:00
foobar
e47c21e0bc
test -e does not work with solaris
2005-11-21 19:06:04 +00:00
Derick Rethans
2bb4d8282c
- Fixed bug #35143 (gettimeofday() ignores current time zone).
...
- Fixed tests due to class constants patch.
2005-11-20 20:14:24 +00:00
Ilia Alshanetsky
4020933726
Fixed bug #35303 (PDO prepare() crashes with invalid parameters).
2005-11-20 20:06:28 +00:00
foobar
db77890bbd
MFH: - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on Linux)
2005-11-20 18:07:28 +00:00
Marcus Boerger
cfeb12ccf5
- MFH Fix parameter parsing
2005-11-20 13:05:15 +00:00
Antony Dovgal
493c9fcf93
MFH: fix #35293 (PDO segfaults when using persistent connections)
2005-11-19 16:41:08 +00:00
Rui Hirokawa
60949ca571
MFH: fixed #35253 length of the encoded string vilolates a RFC.
2005-11-19 08:25:32 +00:00
Frank M. Kromann
6ed54ddc79
MFH: Fix #33201 Crash when fetching some data types
2005-11-18 21:23:20 +00:00
Frank M. Kromann
ae75d4350d
MFH: Fix #32009 crash when mssql_bind() is called more than once
2005-11-18 20:40:52 +00:00
Frank M. Kromann
da2d7e7229
MFH: Fix #33153 Crash in mssql_next_result().
2005-11-18 19:14:32 +00:00
foobar
7b073bbad8
- Make sure --with-readline is used only when --with-libedit is not used.
2005-11-18 15:07:39 +00:00
Dmitry Stogov
8b4e1abdb0
Fixed bug #35273 (Error in mapping soap - java types)
2005-11-18 11:00:15 +00:00
Marcus Boerger
c21ced1ec9
- Not in this branch
2005-11-17 22:35:27 +00:00
Rasmus Lerdorf
aa749a1269
Missing }}}
2005-11-17 21:56:04 +00:00
Ilia Alshanetsky
eb0a6a666f
Moved date constants into the date class, they all class constants now.
2005-11-17 21:05:30 +00:00
Sara Golemon
1340c04976
MFH (r-1.51) #32371 php://input sometimes returns duplicate data
2005-11-17 19:40:38 +00:00
Ilia Alshanetsky
95c6c6d2cd
Fixed test.
2005-11-17 18:25:16 +00:00
Ilia Alshanetsky
d734669230
Fixed bug #35248 (sqlite_query() doesnt set error_msg when return value is
...
being used).
2005-11-17 14:38:36 +00:00
Derick Rethans
924ae32ddf
- Fixed bug #35218 (strtotime no longer ignores timezone comments like "(PST)")
2005-11-17 13:04:31 +00:00
Derick Rethans
18606377dd
- Fixed typo
2005-11-17 12:33:36 +00:00
foobar
a0303c772a
MFH: Renamed config.m4 to config0.m4
...
# PCRE configure tests must be run before e.g. ext/filter
2005-11-17 10:02:42 +00:00
foobar
52747127f8
MFH
2005-11-17 09:58:28 +00:00