]>
granicus.if.org Git - php/log
Wez Furlong [Fri, 8 Jul 2005 17:01:20 +0000 (17:01 +0000)]
rewrite original names to our preferred format
Wez Furlong [Fri, 8 Jul 2005 17:00:48 +0000 (17:00 +0000)]
generated file
Wez Furlong [Fri, 8 Jul 2005 17:00:28 +0000 (17:00 +0000)]
For named-parameter-to-named-parameter rewrites, we need to map the original
names to the new names.
Ilia Alshanetsky [Fri, 8 Jul 2005 16:20:13 +0000 (16:20 +0000)]
Some of us don't have PostgreSQL 8.0 :)
Ilia Alshanetsky [Fri, 8 Jul 2005 16:17:04 +0000 (16:17 +0000)]
Missing bit of the previous patch.
Ilia Alshanetsky [Fri, 8 Jul 2005 16:06:05 +0000 (16:06 +0000)]
Fixed compiler warning.
Wez Furlong [Fri, 8 Jul 2005 15:27:34 +0000 (15:27 +0000)]
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).
Wez Furlong [Fri, 8 Jul 2005 15:25:15 +0000 (15:25 +0000)]
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.
Wez Furlong [Fri, 8 Jul 2005 15:24:42 +0000 (15:24 +0000)]
And the generated version of the parser
Wez Furlong [Fri, 8 Jul 2005 15:24:21 +0000 (15:24 +0000)]
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.
Wez Furlong [Fri, 8 Jul 2005 15:21:43 +0000 (15:21 +0000)]
and as a result, need to update the expected data
Wez Furlong [Fri, 8 Jul 2005 15:20:18 +0000 (15:20 +0000)]
we declare the column as NOT NULL, so inserting NULL is not a good idea.
Antony Dovgal [Fri, 8 Jul 2005 12:39:51 +0000 (12:39 +0000)]
make use of T token
Antony Dovgal [Fri, 8 Jul 2005 12:30:24 +0000 (12:30 +0000)]
fix #33597 (setcookie() "expires" date format doesn't comply with RFC)
Antony Dovgal [Fri, 8 Jul 2005 12:26:30 +0000 (12:26 +0000)]
rename php_format_date() to date_format()
add wrapper for date_format() to use it in other extensions
Antony Dovgal [Fri, 8 Jul 2005 10:23:33 +0000 (10:23 +0000)]
fix #33614 (memory leak in new strftime())
Dmitry Stogov [Fri, 8 Jul 2005 09:36:28 +0000 (09:36 +0000)]
Fixed HTTP basic authentication headers during subrequsts to xsd files
foobar [Fri, 8 Jul 2005 08:53:25 +0000 (08:53 +0000)]
Make sure we get a WARNING and not an ERROR here :)
foobar [Fri, 8 Jul 2005 07:57:47 +0000 (07:57 +0000)]
fix test when session.save_handler is "user"
foobar [Fri, 8 Jul 2005 07:48:57 +0000 (07:48 +0000)]
fix test when session.save_handler is "user"
Dmitry Stogov [Fri, 8 Jul 2005 07:16:56 +0000 (07:16 +0000)]
Fixed support for <any> in base type of extension
<changelog@php.net> [Fri, 8 Jul 2005 05:38:53 +0000 (05:38 +0000)]
ChangeLog update
Wez Furlong [Fri, 8 Jul 2005 04:13:00 +0000 (04:13 +0000)]
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.
Ilia Alshanetsky [Fri, 8 Jul 2005 00:40:32 +0000 (00:40 +0000)]
Added pg_fetch_all_columns() function to fetch all values of a column from
a result cursor.
foobar [Thu, 7 Jul 2005 23:18:22 +0000 (23:18 +0000)]
- Fixed stupid bug in PHP_INSTALL_HEADERS() macro: "foo bar" != foo bar
- ext/date/lib/timelib_config.h is also installed now
Antony Dovgal [Thu, 7 Jul 2005 23:03:22 +0000 (23:03 +0000)]
do not set error_code to HY000 when there was NO error
reset both handle & statement error codes to 0
Antony Dovgal [Thu, 7 Jul 2005 23:02:22 +0000 (23:02 +0000)]
free parameter when requested to do so
Ilia Alshanetsky [Thu, 7 Jul 2005 18:49:58 +0000 (18:49 +0000)]
1st set of fixes to make tests work with MySQL
# Additional changes pending
Ilia Alshanetsky [Thu, 7 Jul 2005 17:53:34 +0000 (17:53 +0000)]
Make prepared statements obey buffering flag in MySQL.
Dmitry Stogov [Thu, 7 Jul 2005 17:29:25 +0000 (17:29 +0000)]
Fixed SIGSEGV on decoding <any> elements
Wez Furlong [Thu, 7 Jul 2005 17:08:01 +0000 (17:08 +0000)]
populate the new dbh->driver field.
Implement PDO_ATTR_DRIVER_NAME.
Ilia Alshanetsky [Thu, 7 Jul 2005 16:27:46 +0000 (16:27 +0000)]
Fixed memory leak
Wez Furlong [Thu, 7 Jul 2005 16:24:51 +0000 (16:24 +0000)]
add an attribute for returning the driver name
Dmitry Stogov [Thu, 7 Jul 2005 16:09:55 +0000 (16:09 +0000)]
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods). Now empty($obj[...]) works proper but in addition it may call offsetGet() method.
Dmitry Stogov [Thu, 7 Jul 2005 16:07:09 +0000 (16:07 +0000)]
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
Ilia Alshanetsky [Thu, 7 Jul 2005 15:54:00 +0000 (15:54 +0000)]
Fixed memory leak.
Anantha Kesari H Y [Thu, 7 Jul 2005 15:43:50 +0000 (15:43 +0000)]
zend_stream_getc uses fread internally. NetWare LibC fread reads 4(Which I believe EOT) for EOF(^D) character. This happens when fread is asked to read one and only character as is the case with cl interactive mode.
-- Kamesh
Wez Furlong [Thu, 7 Jul 2005 15:36:00 +0000 (15:36 +0000)]
remove old test files
Wez Furlong [Thu, 7 Jul 2005 15:34:46 +0000 (15:34 +0000)]
using new tests
Wez Furlong [Thu, 7 Jul 2005 15:33:06 +0000 (15:33 +0000)]
use new tests
Ilia Alshanetsky [Thu, 7 Jul 2005 15:32:32 +0000 (15:32 +0000)]
Stop on the 1st skip.
Wez Furlong [Thu, 7 Jul 2005 15:20:06 +0000 (15:20 +0000)]
adopt new tests
Antony Dovgal [Thu, 7 Jul 2005 15:19:40 +0000 (15:19 +0000)]
fix #33605 (substr_compare() crashes with negative offset & length)
Dmitry Stogov [Thu, 7 Jul 2005 15:16:57 +0000 (15:16 +0000)]
Fixed bug #28072 (static array with some constant keys will be incorrectly ordered).
Wez Furlong [Thu, 7 Jul 2005 15:15:01 +0000 (15:15 +0000)]
skip if we can't connect (include reason in skip output)
Ilia Alshanetsky [Thu, 7 Jul 2005 15:14:10 +0000 (15:14 +0000)]
Return an empty array rather then FALSE in fetchAll() on no results.
Ilia Alshanetsky [Thu, 7 Jul 2005 15:13:28 +0000 (15:13 +0000)]
Fixed memory leak, after SQLITE_DONE sqlite3_data_count() always returns 0.
Wez Furlong [Thu, 7 Jul 2005 15:04:45 +0000 (15:04 +0000)]
adopt new tests
Wez Furlong [Thu, 7 Jul 2005 14:20:04 +0000 (14:20 +0000)]
DB2 wants us to use the proper ODBC 3 function for closing a cursor.
Wez Furlong [Thu, 7 Jul 2005 14:09:58 +0000 (14:09 +0000)]
Need to state NOT NULL here, as DB2 won't allow the UNIQUE constraint without it.
Wez Furlong [Thu, 7 Jul 2005 13:59:34 +0000 (13:59 +0000)]
make column names lower case
Wez Furlong [Thu, 7 Jul 2005 13:58:35 +0000 (13:58 +0000)]
adopt common tests
Wez Furlong [Thu, 7 Jul 2005 13:58:02 +0000 (13:58 +0000)]
sort redirected tests
Wez Furlong [Thu, 7 Jul 2005 13:56:39 +0000 (13:56 +0000)]
more paranoia about the attribute param here too
Wez Furlong [Thu, 7 Jul 2005 13:56:09 +0000 (13:56 +0000)]
extra paranoia about the attribute param
Wez Furlong [Thu, 7 Jul 2005 13:42:12 +0000 (13:42 +0000)]
Hmm, these ldflags went AWOL.
Ilia Alshanetsky [Thu, 7 Jul 2005 13:35:39 +0000 (13:35 +0000)]
Use PQexecParams() when available, use original case in all other instances.
Wez Furlong [Thu, 7 Jul 2005 13:22:38 +0000 (13:22 +0000)]
If asked to populate a set of cflags for a header check, only populate the
flags and don't fill in an entry into config.w32.h, UNLESS explicitly told
what to do.
This prevents leakage of things like HAVE_SQLCLI1_H from one pecl into another
(or the core) and confusing the build (as has happened with ibm_db2 and
pdo_odbc).
Wez Furlong [Thu, 7 Jul 2005 13:04:26 +0000 (13:04 +0000)]
adopt generic PDO test suite
Wez Furlong [Thu, 7 Jul 2005 12:58:47 +0000 (12:58 +0000)]
Fix 2 bugs:
- summary is only displayed if 2 or more tests were detected
- error out of a bogus test name is passed in
Wez Furlong [Thu, 7 Jul 2005 12:49:21 +0000 (12:49 +0000)]
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.
Wez Furlong [Thu, 7 Jul 2005 12:45:40 +0000 (12:45 +0000)]
Fix bug in bindColumn() for drivers that implement native prepared statements
and that use the PDO rewriter to handle non-native parameter syntax.
Wez Furlong [Thu, 7 Jul 2005 12:44:44 +0000 (12:44 +0000)]
pedantic WS
Wez Furlong [Thu, 7 Jul 2005 12:42:52 +0000 (12:42 +0000)]
It's not portable to expect any consistency between drivers in the return value
of an exec() when running DDL; revise test.
Dmitry Stogov [Thu, 7 Jul 2005 11:19:56 +0000 (11:19 +0000)]
Fixed memory leaks
Rob Richards [Thu, 7 Jul 2005 10:36:08 +0000 (10:36 +0000)]
Allow NULL namespaceURI for getAttributeNodeNS
foobar [Thu, 7 Jul 2005 08:42:53 +0000 (08:42 +0000)]
reorder. Also: Documentation belongs elsewhere :)
Anantha Kesari H Y [Thu, 7 Jul 2005 07:12:44 +0000 (07:12 +0000)]
Reverting the DEFAULT_SLASH to / as it breaks the FreeBSD derived function of NetWare LibC like glob.
-- Kamesh
Anantha Kesari H Y [Thu, 7 Jul 2005 07:10:50 +0000 (07:10 +0000)]
gwtcwd of NetWare LibC gives a cwd with a volume information.
So using getcwdpath which gives with volume information.
getcwdpath gives with directory seperator as \ which is against our DEFAULT_SLASH of /. So finding and replacing \ with /
-- Kamesh
Anantha Kesari H Y [Thu, 7 Jul 2005 06:52:44 +0000 (06:52 +0000)]
COPY_WHEN_ABSOLUTE is not needed for NetWare.
-- Kamesh
Dmitry Stogov [Thu, 7 Jul 2005 05:54:43 +0000 (05:54 +0000)]
Fixed support for shared extensions on AIX
<changelog@php.net> [Thu, 7 Jul 2005 05:39:05 +0000 (05:39 +0000)]
ChangeLog update
Rasmus Lerdorf [Thu, 7 Jul 2005 03:53:47 +0000 (03:53 +0000)]
Missing closing folding marker
Ilia Alshanetsky [Thu, 7 Jul 2005 02:17:20 +0000 (02:17 +0000)]
Leave it up to the user to decide if to escape the sequence name or not.
Ilia Alshanetsky [Thu, 7 Jul 2005 00:52:19 +0000 (00:52 +0000)]
Faster sequence id retrieval.
Edin Kadribasic [Wed, 6 Jul 2005 21:18:09 +0000 (21:18 +0000)]
Export missing symbol
Dmitry Stogov [Wed, 6 Jul 2005 14:15:51 +0000 (14:15 +0000)]
Fixed possible crash
Wez Furlong [Wed, 6 Jul 2005 13:19:25 +0000 (13:19 +0000)]
rename pdo_test.php to pdo_test.inc, add it, and update tests.
Wez Furlong [Wed, 6 Jul 2005 13:16:40 +0000 (13:16 +0000)]
juggling to track down a problem with odbc
Dmitry Stogov [Wed, 6 Jul 2005 07:28:25 +0000 (07:28 +0000)]
Fixed test to support 64-bit platforms
Dmitry Stogov [Wed, 6 Jul 2005 06:58:44 +0000 (06:58 +0000)]
Fixed SIGSEGV during error processing on some systems (linux/ppc)
Wez Furlong [Wed, 6 Jul 2005 06:13:44 +0000 (06:13 +0000)]
last minute debug stuff sneaked in
Wez Furlong [Wed, 6 Jul 2005 06:10:52 +0000 (06:10 +0000)]
replace pdo_odbc tests with new redirection thingy
Wez Furlong [Wed, 6 Jul 2005 06:09:13 +0000 (06:09 +0000)]
remove the old tests for pdo_sqlite
Wez Furlong [Wed, 6 Jul 2005 06:08:53 +0000 (06:08 +0000)]
Add a redirect test to run the common pdo core tests against the sqlite
driver
Wez Furlong [Wed, 6 Jul 2005 06:07:26 +0000 (06:07 +0000)]
Add tests that can be redirected to with new test harness feature.
Wez Furlong [Wed, 6 Jul 2005 06:06:23 +0000 (06:06 +0000)]
Add a new kind of test to the test harness. REDIRECTTEST sections allow an
extension to piggy-back on the tests defined under another dir and run those.
Example of its use follows shortly with pdo tests.
<changelog@php.net> [Wed, 6 Jul 2005 05:31:49 +0000 (05:31 +0000)]
ChangeLog update
foobar [Tue, 5 Jul 2005 23:48:44 +0000 (23:48 +0000)]
- Fixed crash in serialize() + classes. (64bit only)
Derick Rethans [Tue, 5 Jul 2005 21:38:37 +0000 (21:38 +0000)]
- Added testcase for bug #33578.
Derick Rethans [Tue, 5 Jul 2005 21:33:33 +0000 (21:33 +0000)]
- Fixed bug #33578 (strtotime() doesn't understand "11 Oct" format). (Derick)
Ilia Alshanetsky [Tue, 5 Jul 2005 19:24:07 +0000 (19:24 +0000)]
Fixed crash inside stream_get_line() when length parameter equals 0.
Derick Rethans [Tue, 5 Jul 2005 18:30:30 +0000 (18:30 +0000)]
- Change memory management so that tzinfo structures can live outside time
structures too.
Edin Kadribasic [Tue, 5 Jul 2005 14:49:22 +0000 (14:49 +0000)]
Properly detect when the copy command fails
Dmitry Stogov [Tue, 5 Jul 2005 14:13:46 +0000 (14:13 +0000)]
Fixed crash in ext\standard\tests\general_functions\bug32647.php on Windows
Dmitry Stogov [Tue, 5 Jul 2005 14:10:31 +0000 (14:10 +0000)]
Fixed test file
Derick Rethans [Tue, 5 Jul 2005 12:45:39 +0000 (12:45 +0000)]
- Fixed memory corruption in pg_copy_from() in case the as_null parameter was
passed. (Derick)
<changelog@php.net> [Tue, 5 Jul 2005 05:39:31 +0000 (05:39 +0000)]
ChangeLog update
Derick Rethans [Mon, 4 Jul 2005 21:27:26 +0000 (21:27 +0000)]
- Renamed date_timezone_set/get() to date_default_timezone_set/get().
- Added missing proto's and folding marks.
Jon Parise [Mon, 4 Jul 2005 20:37:07 +0000 (20:37 +0000)]
If the PHP_AUTOCONF and PHP_AUTOMAKE environmental variables are set, use
them when describing the build environment.
Support for these variables was originally added to build/build2.mk:1.36.
As a side note, the build system uses PHP_AUTOHEADER. Perhaps it should
be listed on its own in the build environment for completeness, despite it
being a component of the autoconf package.