Matteo Beccati
c25b0a2817
MFH
...
- Moved test for bug #44861 to PDO commons and added support for pdo_oci
# This allows scrollable cursors to be tested with all the drivers
# that currently support them (pgsql and oci), ensuring a consistent
# behaviour. The test is skipped when using other drivers.
2009-05-12 23:40:32 +00:00
Matteo Beccati
90fb825ad4
MFH:
...
- Fixed bug #44173 (PDO->query() parameter parsing/checking needs an
update)
# The changeset is longer than really needed because pdo_stmt.c was
# refactored to remove the "goto"
2009-04-02 16:41:23 +00:00
Felipe Pena
d2ca66893e
- Fix typo
2009-03-26 13:55:06 +00:00
Felipe Pena
d7c4a27376
MFH: - Fixed bug #47769 (Strange extends PDO)
2009-03-26 12:53:39 +00:00
Felipe Pena
861d51223f
MFH:
...
- Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct())
Patch by: matteo at beccati dot com
2009-03-23 23:15:03 +00:00
Felipe Pena
b66f9c0a87
- Missing "DROP TABLE"
2009-02-16 19:48:56 +00:00
Felipe Pena
d33be91e72
- MFH: Fixed bug #47297 (pdo_033.phpt fails on PgSQL)
...
Patch by matteo at beccati dot com
2009-02-04 16:40:56 +00:00
Antony Dovgal
9b9cd5421d
create temporary db in the current dir and cleanup on completion
2009-01-05 16:02:04 +00:00
Johannes Schlüter
be0793d2e7
MFH: Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
...
pecl#12794, pecl#12401
# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
# http://news.php.net/php.qa/64378 )
#
# PDO_MYSQL_TEST_DSN - DSN
# For example: mysql:dbname=test;host=localhost;port=3306
#
# PDO_MYSQL_TEST_HOST - database host
# PDO_MYSQL_TEST_DB - database (schema) name
# PDO_MYSQL_TEST_SOCKET - database server socket
# PDO_MYSQL_TEST_ENGINE - storage engine to use
# PDO_MYSQL_TEST_USER - database user
# PDO_MYSQL_TEST_PASS - database user password
# PDO_MYSQL_TEST_CHARSET - database charset
#
# NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
# part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
# for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:09:28 +00:00
Felipe Pena
f6cc283d46
- MFH: Add check for avoid segfault when trying instantiate PDORow manually
2008-05-14 12:32:21 +00:00
Nuno Lopes
8dc8b63cca
fix SKIPIFs
...
# Patch by Christian Hoffmann
2008-04-10 18:50:42 +00:00
Nuno Lopes
25e6cd1a38
remove duplicated sections
2008-03-17 17:19:48 +00:00
Johannes Schlüter
1aa32afa8a
MFH: Fix get_parent_class() of PDORow instances
2008-03-03 19:00:45 +00:00
Felipe Pena
31ba224d90
Fix test
2008-02-22 02:15:42 +00:00
Felipe Pena
eaed933e57
New test
2008-02-19 14:53:04 +00:00
Nuno Lopes
083f474a47
some BDs (e.g. firebird) dont support text, so replace it with varchar(255).
2008-02-19 14:46:20 +00:00
Ilia Alshanetsky
a4674c5ed7
Skip test for PostgreSQL driver since error is too dissimilar to other
...
drivers
2008-01-03 16:46:52 +00:00
David Soria Parra
07487ad0e7
- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).
...
CVS
2007-12-30 17:51:35 +00:00
Antony Dovgal
2b856ff3c7
fix test
2007-11-27 11:14:33 +00:00
Antony Dovgal
da231136ce
fix test
2007-11-27 06:44:16 +00:00
Antony Dovgal
379e8a5970
fix test
2007-11-08 12:40:43 +00:00
Ilia Alshanetsky
d689a10f3a
Fixed test
2007-11-04 16:12:13 +00:00
Ilia Alshanetsky
548c25ef1c
Fixed bug #43139 PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll()
2007-10-31 12:57:51 +00:00
Ilia Alshanetsky
84f0fba1a5
Test not relavent for sqlite that uses built-in bound syntax
2007-10-30 23:03:23 +00:00
Ilia Alshanetsky
c27a8a41c2
Fixed bug #43130 (Bound parameters cannot have - in their name)
2007-10-29 22:36:26 +00:00
Ilia Alshanetsky
3762dfc09f
Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode)
2007-10-11 20:54:41 +00:00
Hannes Magnusson
2fc92c9172
- Fixed bug #42452 (PDO classes do not expose Reflection API information)
...
- Fixed tests
2007-08-30 14:06:12 +00:00
Dmitry Stogov
7ec48cb37f
Fixed bug #40757 (get_object_vars get nothing in child class)
...
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:39:56 +00:00
Antony Dovgal
fe25997d44
fix test
2007-07-23 22:46:03 +00:00
Ilia Alshanetsky
20c4198341
Added test for KEY_PAIR code and fixed KEY_PAIR detection code
2007-07-22 15:50:17 +00:00
Ilia Alshanetsky
489c2d739a
Fixed test for PostgreSQL
2007-06-03 17:41:21 +00:00
Ilia Alshanetsky
2a6442190c
Fixed test to work with postgresql
2007-05-19 15:28:37 +00:00
Hannes Magnusson
4ad45f6566
Fix paths for ext/sqlite
2007-05-17 13:40:12 +00:00
Ilia Alshanetsky
67032ecdf0
Make test work in sqlite
2007-05-16 21:03:46 +00:00
Ilia Alshanetsky
efd7846d34
[DOC] Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set
...
into an associated array.
2007-05-16 19:33:57 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
79dfb302b1
Fixed test mixup
2007-02-02 00:00:33 +00:00
Ilia Alshanetsky
c219c6f4a8
Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in
...
some instances).
2007-02-01 00:12:39 +00:00
Ilia Alshanetsky
b8590f954d
Fixed test
2006-12-09 16:41:24 +00:00
Ilia Alshanetsky
e5ad7bf299
Fixed bug #36798 (Error parsing named parameters with queries containing
...
high-ascii chars).
2006-12-05 18:04:59 +00:00
Hannes Magnusson
a41e70782b
Fix test
2006-12-05 15:55:55 +00:00
Ilia Alshanetsky
8e907392b3
Fixed test (user is a reserved keyword in pgsql)
2006-12-04 17:55:46 +00:00
Ilia Alshanetsky
916673a345
Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
...
prepared statements are used in pdo_mysql).
2006-12-02 17:53:44 +00:00
Antony Dovgal
bb30875db6
add test
2006-11-28 16:55:05 +00:00
Ilia Alshanetsky
887b3484f7
Fixed bug #39398 (Booleans are not automatically translated to integers).
2006-11-07 17:57:17 +00:00
Ilia Alshanetsky
2332e4f9fc
Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
...
Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
Fixed test for bug #38253 not to use faulty SQL that generates errors in
PostgreSQL
2006-09-19 15:45:22 +00:00
Antony Dovgal
36dffb8e3b
typo
2006-08-21 17:12:02 +00:00
Ilia Alshanetsky
3d87be2674
Added skip condition for sqlite2 driver, that uses more forgiving emulated
...
prepared statements.
2006-08-16 14:09:56 +00:00
Ilia Alshanetsky
43fca8a3f8
Fixed bug #38394 (PDO fails to recover from failed prepared statement
...
execution).
2006-08-09 14:45:00 +00:00
Antony Dovgal
168f53b72b
fix bug #38253 (PDO produces segfault with default fetch mode)
...
add test
2006-07-30 11:19:56 +00:00