Commit Graph

63 Commits

Author SHA1 Message Date
Ulf Wendel
50a8d25129 Updating test - no error message any more. Maybe the PDO core has changed... whatever, one issue less 2009-10-26 11:48:47 +00:00
Ulf Wendel
b847135194 Updating test, mysqlnd support init commands 2009-10-26 11:41:30 +00:00
Ulf Wendel
fd33df54ba mysqlnd supports INIT_COMMAND and so we can add it to PDO_MYSQL @ mysqlnd 2009-09-22 15:31:35 +00:00
Felipe Pena
d0c644c7bb - Synced pieces of codes
- Fixed tests
2009-03-24 19:32:06 +00:00
Felipe Pena
870039d58a - Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash) 2008-11-03 15:31:51 +00:00
Johannes Schlüter
b22d3665be Fix #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS) 2008-10-27 18:29:57 +00:00
Felipe Pena
3c1cd7f7f3 - Fixed test 2008-10-19 18:24:37 +00:00
Johannes Schlüter
262f89b81f Fix test 2008-10-19 18:08:19 +00:00
Johannes Schlüter
d106560958 fix mysqlnd detection 2008-10-19 12:43:10 +00:00
Johannes Schlüter
ddfa9e6297 Fix test 2008-10-19 12:20:28 +00:00
Johannes Schlüter
d4f7133441 Add PDO::MYSQL_ATTR_COMPRESS connection flag 2008-10-14 19:00:11 +00:00
Felipe Pena
208e1b8a22 - Added SKIPIF 2008-10-14 17:46:28 +00:00
Felipe Pena
31314f5256 - Fixed test 2008-10-14 17:37:13 +00:00
Felipe Pena
469e58a2a1 - Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE) 2008-10-14 17:34:11 +00:00
Felipe Pena
0c71486c59 - Fixed tests 2008-10-10 16:56:28 +00:00
Felipe Pena
cdeea98d37 - Fixed bug #44251 (Question mark and an escaped singel quote lead to an exception)
- Fixed bug #41125 (PDO mysql + quote() + prepare() can result in seg fault)
  Patch by: tsteiner at nerdclub dot net
2008-10-10 12:08:07 +00:00
Felipe Pena
48b9214773 - Fix typo 2008-10-09 01:08:31 +00:00
Johannes Schlüter
fed9b35095 Fix test 2008-10-01 19:45:02 +00:00
Johannes Schlüter
a89387b7e3 - Fix #44425 (Extending PDO/MySQL class with a __call() function doesn't work) 2008-09-16 23:34:31 +00:00
Ulf Wendel
c2c9b61a79 Test for PS fallback logic in prepare() 2008-07-24 15:07:20 +00:00
Ulf Wendel
d529003bd2 Make the test pass on 32bit and not bail out because of int vs. double 2008-07-24 12:54:12 +00:00
Ulf Wendel
1c8d68b019 This little detail seems MySQL version/setup dependent 2008-07-23 12:57:04 +00:00
Antony Dovgal
1c86fb2739 fix tests names 2008-07-23 10:22:58 +00:00
Ulf Wendel
beae9faca0 Fixing some tests to expect unicode instead of (binary) strings. 2008-07-22 18:33:28 +00:00
Johannes Schlüter
ae1cd8e253 - 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:05:51 +00:00
Felipe Pena
06a7527c65 - Removed UEXPECT(F) 2008-05-27 13:16:27 +00:00
Felipe Pena
3ed829f10e - Added some UEXPECTs
- Fixed some tests
2008-03-22 14:58:29 +00:00
Antony Dovgal
814629c7d6 fix tests 2007-05-18 11:47:31 +00:00
Antony Dovgal
ccd97f3a21 fix test names 2007-05-07 17:23:53 +00:00
Ilia Alshanetsky
e448b6f2b7 MFB: Added test for previous bug 2006-12-04 00:41:07 +00:00
Ilia Alshanetsky
0af6ef771e MFB: Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature
object destruction).
2006-07-31 20:19:18 +00:00
Hartmut Holzgraefe
4ea4434475 two additional tests improving pdo/pdo_mysql test code coverage 2006-07-10 14:05:46 +00:00
foobar
3eaa48b58f fix skip conditions 2005-08-11 23:45:13 +00:00
Wez Furlong
8c446726cf Add test case 2005-07-14 02:21:03 +00:00
Wez Furlong
d025a14d33 Thanks 'james' (a visitor to my blog) for reporting this bug. 2005-07-14 02:09:54 +00:00
Wez Furlong
3fbb2081a1 adopt new tests 2005-07-07 15:04:45 +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
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
Marcus Boerger
9b3929a7e9 - Need to make PDO::__construct() final to prevent SEGV it isn't called 1st 2005-05-26 18:36:18 +00:00
Marcus Boerger
2ac0540323 - Add test for deriving PDO 2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284 - Add new tests for PDO_FETCH_INTO 2005-05-24 12:39:09 +00:00
Marcus Boerger
2906d6570c - Add new test 2005-03-24 12:31:37 +00:00
Marcus Boerger
a66e14645c - Add new tests 2005-03-21 00:29:25 +00:00
Marcus Boerger
360fbc09b7 - Interface name was changed 2005-03-19 10:55:35 +00:00
Marcus Boerger
7c4cd04229 - Update tests 2005-03-13 22:35:34 +00:00
Marcus Boerger
92af2b6194 - Update tests 2005-03-10 17:55:36 +00:00
Magnus M��tt�
d49ecd51c1 Add more tests. 2005-03-09 03:50:10 +00:00
Marcus Boerger
bbccc37f84 - Add new tests 2005-03-07 22:43:27 +00:00