Commit Graph

91 Commits

Author SHA1 Message Date
Ulf Wendel
6e3708cc59 Hopefully, this is an even better way to check for InnoDB support as of MySQL 5.6.1 2011-09-02 11:06:51 +00:00
Johannes Schlüter
b3c3d35b9f - Be less restrictive on the SQL state, some server versions might fool us 2011-08-31 15:25:18 +00:00
Rasmus Lerdorf
595f2e71ec Since we are creating this csv file locally this should obviously
be a a LOCAL infile here for this to work reliably. For robustness
this should probably have a check for the local-infile server 
setting as well.
2011-08-31 07:43:58 +00:00
Rasmus Lerdorf
8b4ac6bb8f Fix test. I have no idea why the test author didn't expect to get back
latin2 when the test is setting it to latin2 here. Both PHP and MySQL
are doing the right thing here.
2011-08-31 07:19:20 +00:00
Ulf Wendel
48d47da8af Would be nice if tests get updated whenever a feature is added by the person adding the feature... 2011-07-26 09:33:01 +00:00
Ulf Wendel
41c94d26a4 Fix mysqlnd detection 2011-07-26 09:30:49 +00:00
Felipe Pena
e1a5443f97 - Fixed bug #54929 (Parse error with single quote in sql comment) 2011-06-04 22:54:40 +00:00
Johannes Schlüter
a90b7da435 - Fix Bug #53782 (foreach throws irrelevant exception) 2011-05-16 15:37:39 +00:00
Kalle Sommer Nielsen
dc8da85778 Remove this void comment (c/p mistake) 2011-01-17 09:59:07 +00:00
Johannes Schlüter
fc49f76caa - Fix #53551 (PDOStatement execute segfaults for pdo_mysql driver) 2011-01-14 14:57:57 +00:00
Kalle Sommer Nielsen
ee62a1a747 Added test case for #47802 and fixed macro name after the move to mysql_options() 2011-01-07 17:18:30 +00:00
Ulf Wendel
8c319bf942 Fix test: third parameter can be false. 2010-10-05 14:41:08 +00:00
Ulf Wendel
8236f62ce2 Test update for sql_mode = ANSI 2010-09-22 15:16:07 +00:00
Ulf Wendel
70d231bf13 Dont be strict on error messages, they can vary by server version 2010-09-20 09:04:48 +00:00
Ulf Wendel
d3670280f0 PHP has changed (undefined) behaviour from 5.3.2 to 5.3.3: ->{} = , which seems to have been never an officially supported syntax and have never been a valid property name, is no longer allowed and PHP bails. 2010-08-31 14:43:02 +00:00
Ulf Wendel
b12d435b14 If you add functions to the PDO core, take care not to break other PDO drivers tests, document the function and provide a function test for the PDO core to check your default/fallback implementation. 2010-08-30 09:20:48 +00:00
Ulf Wendel
aa9915ce5d Fixing test - see also gcov results 2010-05-31 13:28:15 +00:00
Ulf Wendel
51044eb919 Improve EXPECTF to work with other than default schemata 2010-05-31 10:52:14 +00:00
Pierrick Charron
1892d92d68 Fixed bug #51670 getColumnMeta causes segfault when re-executing query after calling nextRowset 2010-04-27 05:56:56 +00:00
Johannes Schlüter
24916b2884 Revert 290786: Fixed bug #49521 (PDO fetchObject sets values before calling
constructor)
2010-02-11 22:14:06 +00:00
Johannes Schlüter
d8afb7374c Overlong hostnames breakthistest on NIS enabled FreeBSD 2010-01-21 13:30:46 +00:00
Pierrick Charron
dc0b588e65 Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN even in the middle of a string). 2009-12-06 21:32:58 +00:00
Pierrick Charron
13010b552b Fixed bug #45120 (PDOStatement->execute() returns true then false for same statement). 2009-12-03 15:24:43 +00:00
Rasmus Lerdorf
4bf5bab596 The constructor generates that next line of output, so the expected
output had these 2 lines in the wrong order.  Test your tests!
2009-11-25 05:44:27 +00:00
Rasmus Lerdorf
1b37fd48a9 And there is no 23,24,25 in this test at all. Perhaps these lines were
added to the wrong file by mistake?  Those were the same ones missing from
pdo_mysql___construct_options.phpt
2009-11-25 05:38:33 +00:00
Rasmus Lerdorf
5ff2df9b5f Unless I am completely misreading this test case, these 3 lines at the
end should be in the expected output.
2009-11-25 05:29:57 +00:00
Felipe Pena
7c3bd45b82 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor)
(patch by Pierrick)
2009-11-15 16:20:37 +00:00
Ulf Wendel
e5e58ed47e Adding CLEAN sections and making tests portable between PHP 5 and PHP 6 by replacing string(n) with %unicode|string%(n) and similar. 2009-11-04 12:33:49 +00:00
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