Wez Furlong
5602a5ba65
Get precise lengths from the server, as suggested by Andrey.
2005-07-10 02:00:35 +00:00
Wez Furlong
3d373f86f0
Related to #33624 . Crashes for me on shutdown, but seems ok for the rest of the world.
2005-07-09 18:52:36 +00:00
Ilia Alshanetsky
eb4aff5a91
Added safety checks.
2005-07-09 05:08:54 +00:00
Ilia Alshanetsky
4c18dfc852
Make cursor closer work with emulation as well.
2005-07-09 05:04:43 +00:00
Wez Furlong
f21084cb0b
don't free the cols until we know we have another rowset
2005-07-09 05:01:14 +00:00
Ilia Alshanetsky
858d827790
Added cursor closer handler.
...
Fixed memory leak.
2005-07-09 04:54:04 +00:00
Ilia Alshanetsky
df60983b75
Added missing header check.
2005-07-09 04:43:16 +00:00
Ilia Alshanetsky
d3a9f93111
cursor_closer for SQLite.
2005-07-09 04:37:27 +00:00
Ilia Alshanetsky
c58e878513
Implement cursor_closer for MySQL driver.
2005-07-09 04:30:49 +00:00
Wez Furlong
007f571beb
for the transactions test case, detect working transactions before attempting to run the tests.
...
Additional ugliness required because mysql does stupid stuff like this:
mysql> CREATE TABLE foo (id int) TYPE=innodb;
Query OK, 0 rows affected, 2 warnings (0.00 sec)
mysql> SHOW CREATE TABLE foo;
CREATE TABLE `foo` (
`id` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
In addition, BEGIN, COMMIT and ROLLBACK all succeed, even when no tables
support transactions.
2005-07-09 04:28:45 +00:00
Ilia Alshanetsky
ba66cac1cf
Fixed memory leak
2005-07-09 04:21:14 +00:00
Wez Furlong
c2f3636cf2
Fix two bugs:
...
- execute() would not re-fetch meta data after nextRowset() had been called.
- buffered mode would only be enabled on the first execute on a statement handle.
2005-07-09 03:54:13 +00:00
Wez Furlong
d3b653e97b
Added:
...
proto bool PDOStatement::closeCursor()
Closes the cursor, leaving the statement ready for re-execution.
The purpose of the function is to free up the connection to the server so that
other queries may be issued, but leaving the statement in a state that it can
be re-executed.
This is implemented either as an optional driver specific method (allowing for
maximum efficiency), or as the generic PDO fallback if no driver specific
function is installed.
The PDO generic fallback is semantically the same as writing the following code
in your PHP script:
do {
while ($stmt->fetch())
;
if (!$stmt->nextRowset())
break;
} while (true);
2005-07-09 03:52:41 +00:00
Ilia Alshanetsky
5fe5da90ea
Safer way of allowing 'blank' user/pass.
...
# Thanks Wez.
2005-07-09 02:53:07 +00:00
foobar
15e772ce13
- No need to use convert_to_string_ex() when dealing with strings
2005-07-09 00:59:49 +00:00
foobar
fcee086982
- Fixed bug #33588 (LDAP: RootDSE query not possible).
2005-07-09 00:46:45 +00:00
Ilia Alshanetsky
0b1931a8ff
Fix needed for PostgreSQL driver to allow $user & $pass to be supplied via
...
DSN as NULL.
2005-07-08 23:33:35 +00:00
Wez Furlong
6ee00c8199
fix leak
2005-07-08 20:45:19 +00:00
Marcus Boerger
ca59b1158e
- Regenerate using re2c 0.9.8
2005-07-08 20:38:13 +00:00
Marcus Boerger
8d743e70e0
- std not needed -> avoid warning
2005-07-08 20:35:41 +00:00
Wez Furlong
7976182b94
Fix Bug #33111
2005-07-08 19:28:52 +00:00
Wez Furlong
168b6500fd
Fix #33618
2005-07-08 19:25:37 +00:00
Wez Furlong
6377c0ccca
Fix PECL #4753
2005-07-08 19:05:57 +00:00
Antony Dovgal
38e4fb09e0
fix tsrm build
2005-07-08 18:16:46 +00:00
Wez Furlong
512af63a63
rewrite original names to our preferred format
2005-07-08 17:01:20 +00:00
Wez Furlong
dec54a98fa
generated file
2005-07-08 17:00:48 +00:00
Wez Furlong
38a02b6244
For named-parameter-to-named-parameter rewrites, we need to map the original
...
names to the new names.
2005-07-08 17:00:28 +00:00
Ilia Alshanetsky
2301d93156
Some of us don't have PostgreSQL 8.0 :)
2005-07-08 16:20:13 +00:00
Ilia Alshanetsky
bf020f87e1
Missing bit of the previous patch.
2005-07-08 16:17:04 +00:00
Ilia Alshanetsky
046635075b
Fixed compiler warning.
2005-07-08 16:06:05 +00:00
Wez Furlong
529d8177fe
Add early support for native prepared statements in pgsql.
...
Note that some tests now fail; if we can't resolve this in time for the beta,
the prepare code should be disabled (I'll add a flag for this later today).
2005-07-08 15:27:34 +00:00
Wez Furlong
8f31f0cfaa
Fix a shutdown order issue I saw in the pgsql driver. Hope this doesn't mess
...
up something in the OCI driver; I think I've been here before.
2005-07-08 15:25:15 +00:00
Wez Furlong
206c7b8372
And the generated version of the parser
2005-07-08 15:24:42 +00:00
Wez Furlong
ab1ba644db
add a bit of a hack to cater for pgsql prepared statements.
...
These are effectively named statements with strong constraints on the naming
format. We cater for this in a fairly generic way: allow a driver to replace
the format string we use to generate names from positional parameters. In
addition, if that format is set, we always force a rewrite from regular names
to the strongly enforced names.
2005-07-08 15:24:21 +00:00
Wez Furlong
057e1973c7
and as a result, need to update the expected data
2005-07-08 15:21:43 +00:00
Wez Furlong
8e30a80733
we declare the column as NOT NULL, so inserting NULL is not a good idea.
2005-07-08 15:20:18 +00:00
Antony Dovgal
eb7dc34bfb
make use of T token
2005-07-08 12:39:51 +00:00
Antony Dovgal
592a0835fa
fix #33597 (setcookie() "expires" date format doesn't comply with RFC)
2005-07-08 12:30:24 +00:00
Antony Dovgal
39379b8f58
rename php_format_date() to date_format()
...
add wrapper for date_format() to use it in other extensions
2005-07-08 12:26:30 +00:00
Antony Dovgal
d705522bbe
fix #33614 (memory leak in new strftime())
2005-07-08 10:23:33 +00:00
Dmitry Stogov
76a447c900
Fixed HTTP basic authentication headers during subrequsts to xsd files
2005-07-08 09:36:28 +00:00
foobar
a7e85b3c07
Make sure we get a WARNING and not an ERROR here :)
2005-07-08 08:53:25 +00:00
Dmitry Stogov
3fea0b7b8c
Fixed support for <any> in base type of extension
2005-07-08 07:16:56 +00:00
Wez Furlong
49c1882837
Add a PDO_ATTR_STRINGIFY_FETCHES attribute, which is used to convert integer or
...
floating point values into strings during fetch. This is a compatibility hack
for drivers that return native types rather than string representations.
We use this flag in the test suite to persuade postgres tests to pass.
2005-07-08 04:13:00 +00:00
Ilia Alshanetsky
ef7bd06657
Added pg_fetch_all_columns() function to fetch all values of a column from
...
a result cursor.
2005-07-08 00:40:32 +00:00
foobar
71d28a82cf
- Fixed stupid bug in PHP_INSTALL_HEADERS() macro: "foo bar" != foo bar
...
- ext/date/lib/timelib_config.h is also installed now
2005-07-07 23:18:22 +00:00
Antony Dovgal
b2141b04d2
do not set error_code to HY000 when there was NO error
...
reset both handle & statement error codes to 0
2005-07-07 23:03:22 +00:00
Antony Dovgal
b0e700524f
free parameter when requested to do so
2005-07-07 23:02:22 +00:00
Ilia Alshanetsky
5156c7b38f
1st set of fixes to make tests work with MySQL
...
# Additional changes pending
2005-07-07 18:49:58 +00:00
Ilia Alshanetsky
e7b930ea9a
Make prepared statements obey buffering flag in MySQL.
2005-07-07 17:53:34 +00:00
Dmitry Stogov
bcd201f522
Fixed SIGSEGV on decoding <any> elements
2005-07-07 17:29:25 +00:00
Wez Furlong
da7d537d49
populate the new dbh->driver field.
...
Implement PDO_ATTR_DRIVER_NAME.
2005-07-07 17:08:01 +00:00
Ilia Alshanetsky
22896664a8
Fixed memory leak
2005-07-07 16:27:46 +00:00
Wez Furlong
294a44a9cb
add an attribute for returning the driver name
2005-07-07 16:24:51 +00:00
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
2005-07-07 16:07:09 +00:00
Ilia Alshanetsky
307f622817
Fixed memory leak.
2005-07-07 15:54:00 +00:00
Wez Furlong
5fe199fb0f
remove old test files
2005-07-07 15:36:00 +00:00
Wez Furlong
4580a7fd8e
using new tests
2005-07-07 15:34:46 +00:00
Wez Furlong
9d37c58059
use new tests
2005-07-07 15:33:06 +00:00
Ilia Alshanetsky
721687e11c
Stop on the 1st skip.
2005-07-07 15:32:32 +00:00
Wez Furlong
b7459aaf7d
adopt new tests
2005-07-07 15:20:06 +00:00
Antony Dovgal
3baf1f7632
fix #33605 (substr_compare() crashes with negative offset & length)
2005-07-07 15:19:40 +00:00
Wez Furlong
3c5b9a6e6a
skip if we can't connect (include reason in skip output)
2005-07-07 15:15:01 +00:00
Ilia Alshanetsky
86028ad122
Return an empty array rather then FALSE in fetchAll() on no results.
2005-07-07 15:14:10 +00:00
Ilia Alshanetsky
703c55577b
Fixed memory leak, after SQLITE_DONE sqlite3_data_count() always returns 0.
2005-07-07 15:13:28 +00:00
Wez Furlong
3fbb2081a1
adopt new tests
2005-07-07 15:04:45 +00:00
Wez Furlong
dc09c2ef9c
DB2 wants us to use the proper ODBC 3 function for closing a cursor.
2005-07-07 14:20:04 +00:00
Wez Furlong
c80b4c7440
Need to state NOT NULL here, as DB2 won't allow the UNIQUE constraint without it.
2005-07-07 14:09:58 +00:00
Wez Furlong
32663f7da7
make column names lower case
2005-07-07 13:59:34 +00:00
Wez Furlong
618afbdfc8
adopt common tests
2005-07-07 13:58:35 +00:00
Wez Furlong
fff515bc46
more paranoia about the attribute param here too
2005-07-07 13:56:39 +00:00
Wez Furlong
1095da42e0
extra paranoia about the attribute param
2005-07-07 13:56:09 +00:00
Wez Furlong
ce3c90414b
Hmm, these ldflags went AWOL.
2005-07-07 13:42:12 +00:00
Ilia Alshanetsky
6c332449f9
Use PQexecParams() when available, use original case in all other instances.
2005-07-07 13:35:39 +00:00
Wez Furlong
f94f36fee8
adopt generic PDO test suite
2005-07-07 13:04:26 +00:00
Wez Furlong
93024bc268
Fix handling of parameter binding.
...
We need to guess at parameter sizing in some cases (eg: MS Access) as the
SQLDescribeParam() API is an optional feature.
Tidy up error handling.
Add workaround for a shutdown bug that I see with MS ODBC implementation.
(working to determine the precise cause of this).
PDO core test suite now passes all tests.
2005-07-07 12:49:21 +00:00
Wez Furlong
68caaadc6a
Fix bug in bindColumn() for drivers that implement native prepared statements
...
and that use the PDO rewriter to handle non-native parameter syntax.
2005-07-07 12:45:40 +00:00
Wez Furlong
576ff830a9
pedantic WS
2005-07-07 12:44:44 +00:00
Wez Furlong
f4681fd86b
It's not portable to expect any consistency between drivers in the return value
...
of an exec() when running DDL; revise test.
2005-07-07 12:42:52 +00:00
Dmitry Stogov
0eb0b781e0
Fixed memory leaks
2005-07-07 11:19:56 +00:00
Rob Richards
b27d49579a
Allow NULL namespaceURI for getAttributeNodeNS
2005-07-07 10:36:08 +00:00
Rasmus Lerdorf
3064cb787d
Missing closing folding marker
2005-07-07 03:53:47 +00:00
Ilia Alshanetsky
10e1eecf3f
Leave it up to the user to decide if to escape the sequence name or not.
2005-07-07 02:17:20 +00:00
Ilia Alshanetsky
bcb447f6b8
Faster sequence id retrieval.
2005-07-07 00:52:19 +00:00
Edin Kadribasic
56dd9f5731
Export missing symbol
2005-07-06 21:18:09 +00:00
Dmitry Stogov
e7217e032c
Fixed possible crash
2005-07-06 14:15:51 +00:00
Wez Furlong
30c916f21a
rename pdo_test.php to pdo_test.inc, add it, and update tests.
2005-07-06 13:19:25 +00:00
Wez Furlong
277f9357f4
juggling to track down a problem with odbc
2005-07-06 13:16:40 +00:00
Dmitry Stogov
1f52d756fd
Fixed test to support 64-bit platforms
2005-07-06 07:28:25 +00:00
Dmitry Stogov
61d6c4e616
Fixed SIGSEGV during error processing on some systems (linux/ppc)
2005-07-06 06:58:44 +00:00
Wez Furlong
72a75a87ea
last minute debug stuff sneaked in
2005-07-06 06:13:44 +00:00
Wez Furlong
e39f37d36b
replace pdo_odbc tests with new redirection thingy
2005-07-06 06:10:52 +00:00
Wez Furlong
35dbaea547
remove the old tests for pdo_sqlite
2005-07-06 06:09:13 +00:00
Wez Furlong
7b610aba35
Add a redirect test to run the common pdo core tests against the sqlite
...
driver
2005-07-06 06:08:53 +00:00
Wez Furlong
14dbb2dfe9
Add tests that can be redirected to with new test harness feature.
2005-07-06 06:07:26 +00:00
foobar
887f44a9dd
- Fixed crash in serialize() + classes. (64bit only)
2005-07-05 23:48:44 +00:00
Derick Rethans
a81e8ae358
- Added testcase for bug #33578 .
2005-07-05 21:38:37 +00:00
Derick Rethans
aa5084d17b
- Fixed bug #33578 (strtotime() doesn't understand "11 Oct" format). (Derick)
2005-07-05 21:33:33 +00:00
Ilia Alshanetsky
c933634253
Fixed crash inside stream_get_line() when length parameter equals 0.
2005-07-05 19:24:07 +00:00
Derick Rethans
d75d455737
- Change memory management so that tzinfo structures can live outside time
...
structures too.
2005-07-05 18:30:30 +00:00
Edin Kadribasic
312a8eede3
Properly detect when the copy command fails
2005-07-05 14:49:22 +00:00
Dmitry Stogov
319cbe1c5a
Fixed test file
2005-07-05 14:10:31 +00:00
Derick Rethans
17b877a772
- Fixed memory corruption in pg_copy_from() in case the as_null parameter was
...
passed. (Derick)
2005-07-05 12:45:39 +00:00
Derick Rethans
bf23d8d2b8
- Renamed date_timezone_set/get() to date_default_timezone_set/get().
...
- Added missing proto's and folding marks.
2005-07-04 21:27:26 +00:00
Ilia Alshanetsky
95e3f66299
Make sure the timezone is NULL, if change operation fails. Ex. memory_limit
2005-07-04 18:13:15 +00:00
Derick Rethans
69feece2bc
- Fixed logic.
2005-07-04 14:32:50 +00:00
Wez Furlong
1b9b6312c3
Fix win32 build
2005-07-04 13:22:27 +00:00
Derick Rethans
531c8b9f8c
- PHPAPI + static don't mix, obviously.
2005-07-04 13:21:39 +00:00
foobar
73dd4043b3
Make sure files-save handler is used always
2005-07-04 13:09:14 +00:00
Derick Rethans
6ba4559b51
- Added testcase for bug #33563 which is already fixed.
2005-07-04 12:41:20 +00:00
Dmitry Stogov
1d33a3e95e
Fixed bug #31158 (array_splice on $GLOBALS crashes)
2005-07-04 10:01:10 +00:00
Derick Rethans
346c090924
- Fixed bug #33562 (date("") crashes).
2005-07-04 07:48:19 +00:00
Derick Rethans
effc5f1927
- Do not crash when the abbreviation doesn't exist.
2005-07-04 07:16:09 +00:00
foobar
45ae792d08
- Always create the file with correct paths (gdb likes it better like this)
2005-07-04 00:25:39 +00:00
foobar
19b6ffed3c
- Always use #ifdef when dealing with HAVE_* defines from AC_CHECK_FUNCS()
...
- Added check for strftime() also in the timelib configure
2005-07-03 23:30:52 +00:00
Derick Rethans
422f14cb0f
- Fixed bug #33536 (strtotime defaults to now even on non time string).
2005-07-03 21:38:54 +00:00
Derick Rethans
8aa3554d19
- Reimplemented time(), getdate() and localtime() functions with new datetime
...
library.
2005-07-03 20:45:08 +00:00
Derick Rethans
0ef991e5ae
- Fixed bug #33532 (Different output for strftime() and date()).
...
- Re-implemented checkdate(), strftime() and gmstrftime() with the new timelib
code.
2005-07-03 19:14:55 +00:00
Ilia Alshanetsky
dda7692c87
Avoid strlen() if we know the length.
2005-07-03 18:56:57 +00:00
Derick Rethans
34c4ac7bac
- Fixed unintialized variable issue.
2005-07-03 18:49:07 +00:00
Derick Rethans
2e9d063814
- Added fallback to system's timezone setting, but marked with an E_STRICT
...
error.
- Adjusted tests to use the date_timezone_set() function.
2005-07-03 15:01:29 +00:00
Derick Rethans
d3c83378eb
- Move mktime/gmmktime related tests from ext/standard to ext/date.
2005-07-03 14:36:59 +00:00
Derick Rethans
ed02f202f0
- Fixed bug #30096 (gmmktime does not return the corrent time).
...
- Re-implemented mktime and gmmktime with new date time library.
- Added testcase for bug #30096 , updated test cases for E_STRICT warning of
is_dst parameter usage for mktime/gmmktime.
2005-07-03 14:27:31 +00:00
Marcus Boerger
d3c337e59d
- Tweak tests a bit
2005-07-03 09:10:41 +00:00
Wez Furlong
d4a158260b
Add PDO_FETCH_NAMED; closes PECL #4641 by providing a way to access columns
...
by name, even when multiple columns have the same name:
$sql = "SELECT 1 a, 2 a, 3 b, 4 c, 5 d, 6 c, 7 a";
echo "$sql\n";
print_r($db->query($sql)->fetchAll(PDO_FETCH_NAMED));
Array
(
[0] => Array
(
[a] => Array
(
[0] => 1
[1] => 2
[2] => 7
)
[b] => 3
[c] => Array
(
[0] => 4
[1] => 6
)
[d] => 5
)
)
Also added two new attributes for use at prepare time;
PDO_ATTR_FETCH_TABLE_NAMES and PDO_ATTR_FETCH_CATALOG_NAMES instruct the driver
that the names of the columns that they return to PDO should include the table
and catalog names respectively. Both attributes may be used together or
independently. The catalog, table and column name components should be
separated by a . character.
2005-07-03 03:49:44 +00:00
Wez Furlong
75cfa5c2e0
probable fix for PECL bug #4546
2005-07-03 03:04:13 +00:00
Wez Furlong
d7e5dfb2de
Enable native mysql 4.1.x prepared statement support
...
# the hardest part was installing 4.1.x on a gentoo box over a 56k modem
2005-07-03 02:20:08 +00:00
Edin Kadribasic
9ac84b2f1a
Don't crash on exit by destroying the same hash twice
2005-07-02 22:48:06 +00:00
Derick Rethans
2b47899981
- Overhauled selecting the correct timezone. The timezone set with
...
"date_timezone_set" override the TZ environment variable, which on its turn
overrides the date.timezone setting. If none of the three is set, we fallback
to UTC.
- Added "date_timezone_set" function to set the timezone that the date
functions will use.
2005-07-02 21:19:25 +00:00
Wez Furlong
1bbab25455
Experimental support for queries returning multiple rowsets under mysql 5.0.
...
Patch from Guy Harrison (guy dot a dot harrison (at) gmail dot com)
2005-07-02 21:01:38 +00:00
Ilia Alshanetsky
6fd9e5a64f
Fixed memory leak on PDO_FETCH_OBJ.
2005-07-02 17:19:58 +00:00
Edin Kadribasic
00855fcc34
Add sqlstates defined in PostgreSQL documentation.
...
Source: http://www.postgresql.org/docs/8.0/static/errcodes-appendix.html
2005-07-01 23:32:39 +00:00
Edin Kadribasic
f05de12fcf
Only check for InvalidOid when not looking up a sequence
2005-07-01 22:43:16 +00:00
Edin Kadribasic
7ef1a91508
Fold PQresultErrorField() into a macro
2005-07-01 22:30:55 +00:00
Edin Kadribasic
5d65789877
Added class 55 sqlstates
2005-07-01 22:12:00 +00:00
Edin Kadribasic
1a10666b08
Added support for fetching current value of a sequence when the
...
optional sequence name has been passed to PDO::lastInsertId()
2005-07-01 21:54:50 +00:00
Edin Kadribasic
e70b3a94f4
Use timelib types.
...
(Fixes compilation on older Microsoft compilers)
2005-07-01 08:59:57 +00:00
Derick Rethans
e6820914ff
- parse_date.c is a generated file, updated parse_date.re and regenerated
...
parse_date.c.
2005-07-01 07:18:43 +00:00
Anantha Kesari H Y
98a2eeacc7
As fork implementation of NetWare LibC still in experimental stages making the procve based solution ahead of HAVE_FORK. Later When fork becomes stable will revert this fix.
...
--Kamesh from hyanantha's account
2005-07-01 06:49:29 +00:00
Ilia Alshanetsky
eab2cdedd3
Fixed memory leak.
2005-06-30 23:33:37 +00:00
Frank M. Kromann
4ae7321f3e
Fix Win32 build
2005-06-30 23:03:36 +00:00
Frank M. Kromann
6833acff23
Fix ZTS build
2005-06-30 22:49:47 +00:00
Ilia Alshanetsky
f7fe18dde4
Fixed compiler warnings.
2005-06-30 22:47:39 +00:00
Ilia Alshanetsky
7575ef4778
Fixed memory leak on error inside php_date().
2005-06-30 22:44:28 +00:00
Ilia Alshanetsky
138b4435dd
Fixed bug #33523 (Memory leak in xmlrpc_encode_request()).
2005-06-30 22:29:36 +00:00
Derick Rethans
e155585e6e
- Reimplemented date and gmdate with new timelib code.
...
- Removed old date/gmdate implementations.
- Moved date() related testcases to ext/date/tests.
- Implemented bug #33452 .
- Fixed testcase for bug #27719 - there is no timezone called "EST5DST".
2005-06-30 21:38:06 +00:00
Ilia Alshanetsky
2e79463120
Release news
2005-06-30 21:13:34 +00:00
Ilia Alshanetsky
e614839111
touch generated file.
2005-06-30 20:59:21 +00:00
Ilia Alshanetsky
7d02c9dcb2
Upgraded bundled sqlite lib to 3.2.2
2005-06-30 20:58:36 +00:00
Wez Furlong
efc6ccaa01
Add optional parameter to openssl_pkcs7_verify() which specifies the name
...
of a file that will be filled with the verified data, but with the signature
information stripped.
Patch by Marton Kenyeres, mkenyeres (at) konvergencia dot hu
2005-06-30 14:25:41 +00:00
foobar
07862d7218
consistent naming: prefix always with MYSQL_
2005-06-30 14:15:51 +00:00
foobar
6cea418c31
Netware also uses autoconf based config now
2005-06-30 14:11:13 +00:00
Dmitry Stogov
2ca2dc0b08
Restored old behavior of zend_statup_module()
2005-06-30 13:43:00 +00:00
foobar
9518bae116
typo
2005-06-30 13:39:42 +00:00
foobar
340bcffdf0
- Unify (+ spl can't be build shared so COMPILE_DL_SPL
2005-06-30 11:15:00 +00:00
Derick Rethans
384c52faee
- Added check for makedev systemcall, which Netware doesn't support.
2005-06-30 10:03:36 +00:00
Derick Rethans
33218e6b24
- Make the Netware guys happy by removing the config.nw.h define.
2005-06-30 06:40:57 +00:00
Ilia Alshanetsky
613d30f215
Silence warnings.
2005-06-30 00:07:42 +00:00
Derick Rethans
e4860af785
- Reorganize headers, and update TODO.
2005-06-29 19:08:26 +00:00
Derick Rethans
e7de7ff9e2
- Added support for negative timestamps with the @<number> format. (Patch by
...
Nuno Lopes)
2005-06-29 19:07:06 +00:00
Derick Rethans
aa202a7e93
- Make sure the already set "TZ" environment doesn't mess up the tests.
2005-06-29 19:00:35 +00:00
Ilia Alshanetsky
21e17d7ec0
Final (i hope) set of magic.h detection fixes.
2005-06-29 15:57:16 +00:00
Ilia Alshanetsky
7022fbae55
More reliable library detection.
...
# Thanks Jani
2005-06-29 13:53:59 +00:00
Antony Dovgal
f4667ee268
fix test
2005-06-29 11:52:18 +00:00
Johannes Schlüter
44c021d851
- Fix TSRM build
2005-06-29 09:28:44 +00:00
foobar
fa6c536c26
fix tests when error_reporting is E_ALL
2005-06-28 23:33:42 +00:00
foobar
a66eb331f0
- Regenerated with re2c 0.9.8
2005-06-28 23:16:49 +00:00
Derick Rethans
a8949a5f0e
- Added testcases for bug #14561 and #26090 and updated NEWS with those
...
fixed bug nr's.
2005-06-28 21:49:35 +00:00
foobar
0cf082db67
- Fixed bug #33469 also for shared builds
2005-06-28 21:47:30 +00:00
Derick Rethans
7e58c96022
- Fixed bug #33415 and added test cases for #33414 and #33415 .
2005-06-28 21:37:36 +00:00
Derick Rethans
dcca4db029
- Fixed bug #33433 (strtoll not available on Tru64).
2005-06-28 18:05:59 +00:00
Derick Rethans
28e76fe7f4
- Implemented binary search for timezone abbreviations and timezone identifier
...
lookups. (Based on a patch by Nuno Lopes)
2005-06-28 17:56:47 +00:00
Ilia Alshanetsky
8c0dc5e887
Make exec() return FALSE on error as do other drivers.
2005-06-28 14:54:44 +00:00
foobar
3996e49272
one might not have simplexml enabled
2005-06-28 10:17:01 +00:00
Stanislav Malyshev
62d4d8b8d2
fix handling of non-PHP classes (John Coggeshall)
2005-06-28 09:46:30 +00:00
Ilia Alshanetsky
3fe8b55917
Fixed double-free bug.
2005-06-28 04:03:58 +00:00
Ilia Alshanetsky
f04cbae3fd
fixed oid retrieval.
2005-06-28 02:09:53 +00:00
foobar
b35224fa81
add test case
2005-06-27 19:07:52 +00:00
foobar
1ac5cf8746
- Fixed bug #33469 (Compile error undefined reference to ifx_checkAPI).
2005-06-27 18:38:04 +00:00
Antony Dovgal
b16beb540c
fix #33491 (crash after extending MySQLi internal class)
2005-06-27 17:40:37 +00:00
Antony Dovgal
689f3488a5
fix couple of leaks in MySQLi
2005-06-27 17:33:56 +00:00
Ilia Alshanetsky
fb7c1f0561
Remove "custom" PDDRV sqlstate.
2005-06-27 14:52:46 +00:00
foobar
8eb44394cb
set_charset() is only available in mysql versions > 4.1.12
2005-06-27 10:34:42 +00:00
foobar
0b35120921
do not pollute other directories and cleanup after test
2005-06-27 10:14:11 +00:00
foobar
2967f6116f
- Fixed bugs #33431 , #33432 ("int" used instead of "long" in parameter parsing)
2005-06-26 22:34:26 +00:00
Ilia Alshanetsky
498595a122
Fixed bug #33475 (cURL handle is not closed on curl_close().
2005-06-26 17:31:07 +00:00
Georg Richter
01108f7879
fix for #33474
2005-06-26 04:44:03 +00:00
Rob Richards
f63e56dc1a
Fix build under PHP 4
2005-06-25 10:16:59 +00:00
Ilia Alshanetsky
09f052358f
Fixed bogus query failure claim, on some queries such as OPTIMIZE table.
2005-06-24 23:58:06 +00:00
Rob Richards
e923ffddab
fix build for libxml > 2.6.17
2005-06-24 21:00:27 +00:00
Ilia Alshanetsky
866283d43f
Missing part of the previous patch.
2005-06-24 19:46:37 +00:00
Ilia Alshanetsky
348c0cddae
Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql, to toggle
...
usage of buffered queries.
2005-06-24 19:45:59 +00:00
Ilia Alshanetsky
e956cc30d7
Skip the test, it fails due to missing transaction support.
2005-06-24 19:20:59 +00:00
Ilia Alshanetsky
e80a144fce
Fixed PDO Mysql tests.
2005-06-24 19:10:41 +00:00
Georg Richter
224b12ba8b
reverted Ilias changes - added get_warnings methods
...
(forgot to commit the file in my last commit)
2005-06-24 14:44:45 +00:00
Pierre Joye
4f2bca6cc9
- fix win32 builds, vc likes to have declarations first
2005-06-24 10:22:21 +00:00
Pierre Joye
5443879053
- OO example
2005-06-23 11:29:26 +00:00
Pierre Joye
58cb6bb07f
- initial tests
2005-06-23 11:29:03 +00:00
Pierre Joye
8c1c4865ac
- Add OO interface
...
- some {{{ fixes
2005-06-23 11:28:25 +00:00
foobar
eccc955ed5
fix test
2005-06-23 10:57:52 +00:00
Dmitry Stogov
fd2d420919
Fixed test file according to latest debug_backtrace() fixes
2005-06-23 09:25:00 +00:00
Ilia Alshanetsky
50d32d4d7e
temporary fix to let mysqli extension build, so we can make a release.
2005-06-23 02:15:04 +00:00
Marcus Boerger
5cf2c9dc45
- Add +ifdefs to still allow PHP 5.0 builds of PDO
...
# PDO is a PECL extension and at the moment is still meant to compile on
# both PHP 5.0 and PHP 5.1.
2005-06-23 00:19:16 +00:00
Rob Richards
9ad129468a
- Fix bug #33299 (php:function no longer handles returned dom objects)
...
- maybe fix #33431/33432
2005-06-22 19:56:30 +00:00
Ilia Alshanetsky
49c233212b
Fixed bug #32160 (copying a file into itself leads to data loss).
2005-06-22 16:13:47 +00:00
Dmitry Stogov
60328db583
Debug backtrace was fixed
2005-06-22 15:30:14 +00:00
Ilia Alshanetsky
00f14fbd74
Slightly more reliable current path detection.
2005-06-22 13:41:59 +00:00
Ilia Alshanetsky
46b276ee4b
Skip MySQLi tests if connection could not be established and not using
...
embeded db.
2005-06-22 13:41:43 +00:00
foobar
8566f52297
"64M should be enough for everyone." -- Jani, 2005 :)
2005-06-22 12:54:04 +00:00
Georg Richter
ce972676b5
added testcase for mysqli_warning class
2005-06-22 10:15:37 +00:00
Georg Richter
976be82fb9
added testcase for cursors (nested selects)
2005-06-22 10:14:32 +00:00
Georg Richter
6fba73e8e2
changed/fixed mysqli_warning class
...
added prefetch support for cursors
2005-06-22 09:12:43 +00:00
Wez Furlong
372c38a53a
build related adjustments.
...
These need to be included in beta 2
2005-06-22 08:45:22 +00:00
Dmitry Stogov
c3e2f113f3
Fixed bug in test file
2005-06-22 08:33:43 +00:00
foobar
bfa890d81e
- Fixed bug #33427 (ext/odbc: check if unixODBC header file exists)
2005-06-22 08:26:00 +00:00
Marcus Boerger
f845c37b41
- Fix test
2005-06-21 18:34:21 +00:00
Derick Rethans
d995df614c
- Fixed Rasmus' problem with Jan.14, 2004.
2005-06-21 17:43:28 +00:00
Ilia Alshanetsky
e656b82956
Fixed memory leak.
...
# Found by valgrind w/o zend-mm being used.
2005-06-21 14:05:15 +00:00
Ilia Alshanetsky
c594f47f76
Fixed test skip conditions.
...
# Same needs to be done to odbc, but it seems access is restricted
# for "privileged" folks.
2005-06-21 13:42:23 +00:00
foobar
f5fb13103f
fix test
2005-06-21 13:06:10 +00:00
Dmitry Stogov
27374bfaf5
Fixed bug #31213 (Sideeffects caused by fix of bug #29493 )
2005-06-21 12:10:51 +00:00
Dmitry Stogov
68289c4759
ext/soap should use type defined in SoapVar(), if wsdl defines another type
2005-06-21 06:24:55 +00:00
foobar
56c1b316da
- Added session.hash_bits_per_character support. (3rd param)
...
(Changes by: waltzer at autumnweave dot com)
2005-06-20 13:37:32 +00:00
foobar
6f3b02cba4
typo
2005-06-20 11:10:11 +00:00
Derick Rethans
d99e8894ff
- Update TODO.
2005-06-20 11:08:28 +00:00
Derick Rethans
610fd92ee7
- Make this work on big endian systems too.
...
- Added an additional malloc() check.
2005-06-20 11:07:53 +00:00
foobar
eb9a7a76e6
- Added AC_TIMELIB_C_BIGENDIAN
...
# No need to add it to config.m4, it's run in PHP configure.in already.
# Only added here so that the standalone configure.in (to be added later)
# can use it.
2005-06-20 11:01:07 +00:00
Derick Rethans
643709eb96
- Update news with implemented FRs and added test for those FRs.
2005-06-20 08:47:56 +00:00
Derick Rethans
1a4535f692
- Implemented FR #29585 (Support week numbers in strtotime())
2005-06-20 08:46:09 +00:00
Derick Rethans
f0d8e67ff5
- Update README, we require 0.9.8 now.
2005-06-20 08:39:45 +00:00
Marcus Boerger
74a63cc1b2
- Fixed #33136 :
...
- Allow ArrayObject::offsetSet(NULL, $value) as replacement for [] = $value
- Fix memleaks with overloading ArrayObject
2005-06-20 03:02:52 +00:00
Marcus Boerger
f554eba8f3
- Fix bug #33389 by fixing copying
2005-06-20 01:37:48 +00:00
Marcus Boerger
5cc056a6ce
- Output shows false lowercased
2005-06-20 01:10:33 +00:00
Marcus Boerger
758503e26f
- Show true/flase
2005-06-20 01:08:57 +00:00
foobar
6a58298bf6
- Plain path passed to PHP_INSTALL_HEADERS needs to have trailing /
2005-06-20 00:52:59 +00:00
Marcus Boerger
6a67d06c26
- Fix handling of ArrayObject/ArrayIterator flags and provide test
2005-06-20 00:19:18 +00:00
foobar
9f704ce6d1
This is not mysqli, where 5th parameter is port.
2005-06-20 00:16:31 +00:00
foobar
174e96246b
Install headers too
2005-06-19 23:36:18 +00:00
Derick Rethans
3cdc895213
- Added backward compability wrapper "php_parse_date()".
...
- Changed WDDX extension to use new date parsing code.
- Removed all remnants to the old parser.
#- I hope that I didn't break the .dsp's...
2005-06-19 22:15:27 +00:00
foobar
21ce9394a7
revert - now it works again?!
2005-06-19 17:06:48 +00:00
Ilia Alshanetsky
b9575ead72
make substr_count() 30% when counting instances of 1 byte long strings.
2005-06-19 16:31:51 +00:00
Derick Rethans
eab2cbf494
- Fixed test - strtotime() uses GMT if no TZ environment variable is set and if
...
no explicit timezone abbreviation (CEST) or timezone identifier
(Europe/Amsterdam) is set.
2005-06-19 16:13:34 +00:00
Derick Rethans
aeb1744011
- Add #20382 to the list, and expand testcase again.
2005-06-19 15:01:43 +00:00
Sebastian Bergmann
63a30ff1f0
ZTS fix.
2005-06-19 05:28:39 +00:00
foobar
a91a5601e4
fix test
2005-06-18 23:23:45 +00:00
Derick Rethans
3e7446f0e7
- Allow default timezone to be set with the .ini setting "date.timezone".
2005-06-18 20:23:19 +00:00
Derick Rethans
635ea0d5fd
- Update NEWS with bugfix happyness.
...
- Update TODO file for ext/date. No known bugs currently.
2005-06-18 19:40:31 +00:00
Derick Rethans
c2b34e208a
- Added testcase for bug #28024 .
2005-06-18 19:39:19 +00:00
Derick Rethans
9f2283b8a0
- Fixed bug in tm2unixtime where the wanted date was in the transition time
...
between two zones.
#- In this case the wanted date actually didn't exist, and that wasn't
# handled correctly.
2005-06-18 19:23:58 +00:00
Derick Rethans
7299ff3b04
- Expand test cases for bug #32086 and #32555 .
2005-06-18 19:21:10 +00:00