Commit Graph

147 Commits

Author SHA1 Message Date
Matteo Beccati
479a3c3dc5 Bug #55663, fixed test for bug 43139 on Firebird. Per request from mariuz 2012-01-02 11:43:25 +00:00
Christopher Jones
47f3bf02c9 Update SKIPIFs for test portability 2011-09-08 20:13:32 +00:00
Pierre Joye
bd0a02b72b - add skipif 2011-09-06 06:50:56 +00:00
Christopher Jones
06cc022740 gcov test fixes 2011-09-02 22:19:03 +00:00
Pierre Joye
cc1c7af037 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ 2011-07-22 11:25:30 +00:00
Eyal Teutsch
4e37118801 pdo_025 expected a certain extra character that is not part of windows output. changed to optional char: %a -> %A 2010-12-09 12:04:18 +00:00
Felipe Pena
57fc653c05 - Fixed tests 2010-12-04 12:28:23 +00:00
Felipe Pena
11a3a52fc8 - Fixed test 2010-12-03 23:25:27 +00:00
Felipe Pena
955ebdf10c - Fixed test 2010-12-03 22:58:21 +00:00
Ulf Wendel
1c9e784985 Skip if PDO_SQLITE is not available 2010-09-17 17:11:21 +00:00
Ulf Wendel
d67c72668f Remove OS dependent directory separator from EXPECT 2010-09-17 16:40:02 +00:00
Felipe Pena
13b692e4c9 - New tests related to #52098 2010-06-16 23:33:01 +00:00
Johannes Schlüter
ed03634a8c Revert 290786: Fixed bug #49521 (PDO fetchObject sets values before calling
constructor)
2010-02-11 22:14:06 +00:00
Matteo Beccati
9326c7e3a2 - Updated pdo_pgsql tests to be 8.5+ friendly 2009-12-25 20:11:07 +00:00
Pierrick Charron
7d4643193d - Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures) 2009-12-14 03:44:33 +00:00
Felipe Pena
4bafbf58f8 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Felipe Pena
b394a75ad5 - Fixed PDORow and PDOStatement crashes when instantiating throught Reflection 2009-10-12 17:09:11 +00:00
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