Commit Graph

28 Commits

Author SHA1 Message Date
John Was
4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
2015-03-29 21:57:13 +02:00
Alexander Mohorev
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
Carsten Brandt
cc1247f399 fixed HHVM test break 2014-08-15 16:22:59 +02:00
Qiang Xue
a3e2b94adf Fixes #3611: Refactored query caching. 2014-07-20 20:59:38 -04:00
Carsten Brandt
df6a9a08fe fixed typo 2014-06-26 02:52:29 +02:00
Carsten Brandt
d4738b03a5 fixed test break 2014-06-26 01:39:10 +02:00
Carsten Brandt
cd5bdd90d2 fixed postgres tests 2014-06-25 22:54:39 +02:00
Alexander Makarov
b86f5a14f7 #2435 Tests for integrity exception 2014-05-06 16:56:51 +04:00
Alexander Makarov
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
9ff8b0f903 Fixes #2571: Fixed the bug that batchInsert will fail for SQLite if the values contain null or boolean false;
Fixes #2683: Fixed the bug that batchInsert will fail for MySQL if the values contain boolean false.
2014-03-14 22:48:20 -04:00
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Qiang Xue
8899aaeb5b moved getPdoType() to Schema. 2013-10-14 08:28:56 -04:00
Carsten Brandt
ef13a11f66 moved getPDOType() back to Command to avoid dependency on Schema
fixes #854
2013-09-18 16:29:16 +02:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Carsten Brandt
544e412af8 unit test cleanup 2013-09-06 15:03:25 +02:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Qiang Xue
f03cdf0a47 renamed Command::queryRow() to queryOne(). 2013-07-09 08:01:10 -04:00
Qiang Xue
f2e57b2eec Fixed test breaks. 2013-07-02 22:19:05 -04:00
Alexander Makarov
7cd9123c3b Tests cleanup
- Better names
- Removed not used MySQLTestCase
- Moved base testcase for DB to db namespace
- Minor style fixes
2013-05-24 18:35:00 +04:00
resurtm
5575f53657 CS fixes. 2013-05-11 15:38:07 +06:00
Rusinov Maxim
d712605a71 Added and resolved Sqlite tests #15. 2013-05-09 23:12:18 +06:00
Zander Baldwin
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Qiang Xue
7aa80d86f5 refactored execute() and query() methods in db/Command. 2013-02-01 17:18:49 -05:00
Qiang Xue
9958a5802e DB cleanup 2013-01-17 12:54:13 -05:00
Qiang Xue
fe90d4dda0 implemented auto-quoting for DB commands. 2013-01-06 22:41:20 -05:00
Qiang Xue
d15378ef43 moved db tests. 2013-01-05 21:29:42 -05:00