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
f51e1c2064
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.
2005-07-07 16:09:55 +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
Anantha Kesari H Y
82da3f5074
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
2005-07-07 15:43:50 +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
Dmitry Stogov
d9c1a380ad
Fixed bug #28072 (static array with some constant keys will be incorrectly ordered).
2005-07-07 15:16:57 +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
626d318f07
sort redirected tests
2005-07-07 13:58:02 +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
09d433a349
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).
2005-07-07 13:22:38 +00:00
Wez Furlong
f94f36fee8
adopt generic PDO test suite
2005-07-07 13:04:26 +00:00
Wez Furlong
6253c6c5e1
Fix 2 bugs:
...
- summary is only displayed if 2 or more tests were detected
- error out of a bogus test name is passed in
2005-07-07 12:58:47 +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
foobar
27caee32bd
reorder. Also: Documentation belongs elsewhere :)
2005-07-07 08:42:53 +00:00
Anantha Kesari H Y
8b3becf06c
Reverting the DEFAULT_SLASH to / as it breaks the FreeBSD derived function of NetWare LibC like glob.
...
-- Kamesh
2005-07-07 07:12:44 +00:00
Anantha Kesari H Y
958803655e
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
2005-07-07 07:10:50 +00:00
Anantha Kesari H Y
e61dfb0213
COPY_WHEN_ABSOLUTE is not needed for NetWare.
...
-- Kamesh
2005-07-07 06:52:44 +00:00
Dmitry Stogov
8de3367453
Fixed support for shared extensions on AIX
2005-07-07 05:54:43 +00:00
04b1b727dd
ChangeLog update
2005-07-07 05:39:05 +00:00
Rasmus Lerdorf
3064cb787d
Missing closing folding marker
2005-07-07 03:53:47 +00:00