Commit graph

8312 commits

Author SHA1 Message Date
José Lorenzo Rodríguez
aedf69dee1 More refactoring to DboSource::value() 2010-10-17 23:55:11 -04:30
José Lorenzo Rodríguez
6778d4b565 Updating test case for floats 2010-10-17 23:42:12 -04:30
José Lorenzo Rodríguez
16463229e5 Fixing return value of DboSource::boolean() 2010-10-17 23:40:51 -04:30
José Lorenzo Rodríguez
d9c9a32ff3 Refactoring DboSource::value() so postgres and mysq behavior is the same, updating test case 2010-10-17 23:38:55 -04:30
José Lorenzo Rodríguez
159776fc00 Refactoring possible common code to DboSource, now that PDO abstract disconnection from source 2010-10-17 23:37:56 -04:30
José Lorenzo Rodríguez
f3d3ee92f2 Implementing basic connection to postgres using PDO 2010-10-17 23:36:34 -04:30
José Lorenzo Rodríguez
28685dc234 More replacements of assignation by reference 2010-10-17 19:20:21 -04:30
José Lorenzo Rodríguez
122cb1ec5b Removing mor assignments by reference 2010-10-17 18:58:03 -04:30
José Lorenzo Rodríguez
bcc1417e5d Making database stats dependent of fullDebug
Leaving lastNumRows commented out until some bugs are solved
2010-10-17 18:36:35 -04:30
José Lorenzo Rodríguez
10646ba2ad Removing duplicate assignation of same object that didn't make much sense 2010-10-17 16:17:53 -04:30
José Lorenzo Rodríguez
ee4add9c32 Fixing test case 2010-10-17 15:53:44 -04:30
José Lorenzo Rodríguez
f215cd01f1 Fixing tests for CakeSchema 2010-10-17 15:25:04 -04:30
José Lorenzo Rodríguez
cbdfb3f76e Removing all references to mysqli 2010-10-17 11:49:17 -04:30
José Lorenzo Rodríguez
78717ab45c Fixing some test cases 2010-10-17 11:29:49 -04:30
José Lorenzo Rodríguez
c016f1d97b Impriving documentation 2010-10-17 11:28:11 -04:30
José Lorenzo Rodríguez
7e2fe43ee3 FIxing query caching to take in account bound parameters 2010-10-17 10:51:54 -04:30
José Lorenzo Rodríguez
097191213b Removing use of third parameter of fetchAll() 2010-10-17 10:32:02 -04:30
José Lorenzo Rodríguez
65a641af23 Improving fetchAll method to accept an array of aprameters to be bound to the query, so now it is possible to use proper prepared statements 2010-10-17 10:29:01 -04:30
José Lorenzo Rodríguez
183e9c92df Removing some asignations by reference 2010-10-17 10:18:46 -04:30
José Lorenzo Rodríguez
642bfe3576 Fixing some problem on fetching result data with multiple columns with same name 2010-10-17 10:15:40 -04:30
José Lorenzo Rodríguez
082873721c Changing param order in execute() to maintain compatibility, making all tests pass 2010-10-16 20:28:07 -04:30
José Lorenzo Rodríguez
25915bd931 Merge remote branch 'origin/2.0' into feature/2.0/pdo 2010-10-16 14:20:58 -04:30
José Lorenzo Rodríguez
d83c95cf46 Fixing bug in DboMysql::value() 2010-10-16 14:01:01 -04:30
José Lorenzo Rodríguez
88a2fb5058 Fixing bug in DboMysql::describe() 2010-10-16 13:44:16 -04:30
José Lorenzo Rodríguez
17f24719ee Replacing reference assignation for normal assignation in test case 2010-10-16 13:32:59 -04:30
José Lorenzo Rodríguez
84283ed6f3 Fixing DboMysql::listDetailedSources() 2010-10-16 13:28:18 -04:30
José Lorenzo Rodríguez
e03cbcb167 Fixing model describing and making pass testBlobSaving 2010-10-16 10:23:13 -04:30
José Lorenzo Rodríguez
cb16605805 Fetching result rows PDO style 2010-10-16 10:22:50 -04:30
José Lorenzo Rodríguez
f772527445 Using PDO method to get lastInsertId 2010-10-16 09:34:29 -04:30
José Lorenzo Rodríguez
a5f3f95e3a Simplifying DboMysql::getCharsetName() 2010-10-16 09:32:01 -04:30
José Lorenzo Rodríguez
21f5707be7 Implementing disconnection in DboMysql 2010-10-15 19:17:52 -04:30
José Lorenzo Rodríguez
7a7659d063 Removing DboMysqlBase as the inner driver selection will be delegated to PDO, extracting _execute() and adding it to DboSource 2010-10-15 19:01:28 -04:30
José Lorenzo Rodríguez
526205b546 Fixing test case in DboMysql 2010-10-15 18:41:17 -04:30
José Lorenzo Rodríguez
5e80cf8ff7 Improving DboMysql::index() 2010-10-15 17:27:36 -04:30
José Lorenzo Rodríguez
c54448d205 Initial steps toward getting complete query results in DboMysql using PDO 2010-10-15 17:05:30 -04:30
José Lorenzo Rodríguez
bd856c7ef9 Fixing value quoting in DboMysql 2010-10-15 17:04:49 -04:30
José Lorenzo Rodríguez
0fb2ac0285 Chaging implementation of DboMysql::getVersion(), improving connection options 2010-10-15 17:03:59 -04:30
José Lorenzo Rodríguez
70ed9a7b12 Fixing DboMysql::index() method 2010-10-15 17:02:37 -04:30
José Lorenzo Rodríguez
52ea8fb42e Fixing mysql connection string 2010-10-15 16:07:51 -04:30
José Lorenzo Rodríguez
52023085f4 Using the PDO conenction inside DboMysql::getCharsetName() 2010-10-14 23:32:07 -04:30
José Lorenzo Rodríguez
dc362d1a38 Adding test for DboMysql::getEncoding() 2010-10-14 23:18:07 -04:30
José Lorenzo Rodríguez
09e06d52b9 Implementing DboMysql::getVersion() 2010-10-14 23:15:17 -04:30
José Lorenzo Rodríguez
b8479459d6 Inital work for connecting to mysql using PDO and gettng the table list, testing is easier as it now uses mocks 2010-10-14 01:10:51 -04:30
mark_story
517c8949f9 Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 2010-10-13 23:17:50 -04:00
José Lorenzo Rodríguez
efbefeb71a Stating migration to PDO, a driver is available if listed as available by PDO 2010-10-13 22:40:45 -04:30
mark_story
0c070f7131 Fixing tests that were failing due to SimpleTest being less sensitive to types than PHPUnit.
Fixing tests that were failing due to XmlHelper being removed in 2.0.
2010-10-13 23:09:55 -04:00
mark_story
f19e3d501c Merge branch '1.3' into integration
Conflicts:
	cake/libs/model/cake_schema.php
	cake/libs/model/datasources/dbo_source.php
	cake/libs/model/model.php
	cake/libs/view/helpers/form.php
	cake/libs/view/view.php
	cake/libs/xml.php
	cake/tests/cases/libs/model/model_delete.test.php
	cake/tests/cases/libs/view/view.test.php
	cake/tests/cases/libs/xml.test.php
2010-10-13 22:30:40 -04:00
mark_story
6529e0e2b4 Making optiongroup elements follow the escape parameter.
Tests added.
Fixes #1191
2010-10-13 21:59:53 -04:00
mark_story
3f2109f3c3 Applying patch from 'dragonfly' to fix issue where FormHelper would always append an argument even if one was supplied.
Test Added
Fixes #1155
2010-10-13 21:36:05 -04:00
Jeremy Harris
692aafbf42 Merge remote branch 'upstream/2.0' into 2.0 2010-10-11 20:12:24 -07:00