mark_story
|
63902ab73f
|
Adding failing test for similar to.
Refs #1979
|
2011-09-08 20:11:09 -04:00 |
|
mark_story
|
da6a5fa301
|
Fixing failing tests for float formatting.
|
2011-09-08 20:09:48 -04:00 |
|
Jelle Henkens
|
53d221c3d1
|
Fixing bug where scientific notations were not passed to mysql in their original form which resulted in loss of precision
|
2011-09-05 01:41:38 +01:00 |
|
Juan Basso
|
6aca8dc11a
|
Updating the copyright to 2011.
|
2011-05-30 22:46:14 -04:00 |
|
mark_story
|
efbb6479fc
|
Fixing issues in DboSource::group(), which always expected an optional argument.
Fixes #1656
|
2011-05-20 21:10:30 -04:00 |
|
mark_story
|
6cc1688d4e
|
Fixing issue where DboMysql would perform joins on delete queries even if the conditions did not require joins. Added a more intelligent join detector, that removes joins if all the conditions are simple. This will only be able to optimize array conditions.
Test cases added. Fixes #1571
|
2011-03-24 23:25:56 -04:00 |
|
mark_story
|
532555b94b
|
Fixing order condition quoting to allow fields with - in them. Fixes #1599
|
2011-03-24 22:28:11 -04:00 |
|
mark_story
|
71d8e744f1
|
Fixing case-sensitivity of AS in fields. Tests added. Fixes #1474
|
2011-01-26 20:58:16 -05:00 |
|
mark_story
|
ed7f8d1906
|
Fixing issue where DboPostgres used the wrong type for boolean columns with a default of false or true.
Added a test case.
Changing Model::create() so it doesn't wipe out default values === false.
Fixes #1460
|
2011-01-21 13:31:33 -05:00 |
|
mark_story
|
15ca2400bc
|
Fixing issue in DboSource::name() where special characters in column names would not be correctly quoted.
Tests added.
Fixes #1264
|
2010-11-25 06:52:23 -05:00 |
|
mark_story
|
76a80c262e
|
Fixing failing test caused by name() being able to quote things better now.
|
2010-11-13 12:04:22 -05:00 |
|
mark_story
|
498417203b
|
Making DboSource::fields() use cacheMethod() so it respects $cacheMethods.
Test added.
Fixes #1211
|
2010-10-20 22:28:31 -04:00 |
|
mark_story
|
729a45703b
|
Fixing issue where table names with spaces would not be quoted by name(). Fixes #1121
|
2010-09-21 20:34:27 -04:00 |
|
mark_story
|
d113d7d612
|
Removing dead code from DboSource::fields()
Updating fields() to use implode, so complex virtual fields are better handled. Fixes #1079
|
2010-09-18 00:04:36 -04:00 |
|
mark_story
|
5a8648cca0
|
Fixing issue in DboSource::_matchRecords() where unqualified conditions would result in 1=1 conditions. Fixing incorrect test case. Fixes #930
|
2010-09-16 00:17:09 -04:00 |
|
mark_story
|
55ecfe0292
|
Fixing stupid typo.
|
2010-09-11 15:48:48 -04:00 |
|
Mark Story
|
aad72871a0
|
Adding more tests for virtualFields and complex expressions. Closes #1079
|
2010-09-07 00:32:44 -04:00 |
|
Mark Story
|
e15069769d
|
Adding tests for #1079 and fixing some formatting.
|
2010-09-07 00:09:06 -04:00 |
|
mark_story
|
123873b4d8
|
Updating DboSource test to account for formatting of floats done in mysql/postgresql.
|
2010-08-26 21:20:13 -04:00 |
|
mark_story
|
eb96d8acfb
|
Adding tests to dbo_postgres for localized floats. Refs #1029
|
2010-08-21 00:39:45 -04:00 |
|
mark_story
|
afc05c1e05
|
Adding test cases for using localized floats with mysql. Also added a generic model test case. Refs #1029
|
2010-08-21 00:19:30 -04:00 |
|
mark_story
|
686b9c2c8b
|
Fixing issues in alterSchema in DboMysql and DboPostgres, where fields would be appended to each table being altered.
Also fixed an issue in DboPostgres where the generated alter statements would contain too many ;.
Test cases added. Fixes #1023
|
2010-08-15 22:17:02 -04:00 |
|
mark_story
|
29ddffa2d3
|
Fixing regression in DboMysqlBase where describe() was no longer pulling out fieldParameters. A test case has been added to catch any future regressions. Fixes #991
|
2010-08-09 23:25:32 -04:00 |
|
mark_story
|
a9bb4eefae
|
Fixing failing test caused by registry pollution.
Adding a test case to prove that unqualified column names work with postgresql. Closes #930
|
2010-07-29 00:06:11 -04:00 |
|
mark_story
|
4c27c24a72
|
Fixing issue in DboSource where COUNT() was hardcoded, omitting any other aggregate functions. Replaced with a regexp that accepts only letters. Test case added. Fixes #878
|
2010-07-15 23:17:38 -04:00 |
|
mark_story
|
65efd675c1
|
Fixing fatal error caused by associated models using a datasource that is not a subclass of dbo_source. Test added. Fixes #873
|
2010-07-11 13:06:33 -04:00 |
|
mark_story
|
2f527cc5af
|
Adding a few tests for DboSource::fullTableName();
|
2010-06-08 23:29:40 -04:00 |
|
mark_story
|
7ed67e5959
|
Fixing virtualFields used in order clauses where virtualField was supplied with model alias. Tests added. Refs #768
|
2010-05-30 20:30:58 -04:00 |
|
mark_story
|
66a8890f4f
|
Fixing code formatting in test cases.
|
2010-05-30 12:51:48 -04:00 |
|
Martin Radosta
|
64adfacd3e
|
Making DboSource::order() accept an expression object. Fixes issues with
sql parsing over quoting special SQL syntax. Tests added. Fixes #747
Signed-off-by: mark_story <mark@mark-story.com>
|
2010-05-25 23:07:29 -04:00 |
|
mark_story
|
29f2223c6d
|
Removing hardcoded '__' for virtualField separators. Making it an instance property instead. This allows the customization of the separator if needed. Tests added for DboMysql. Refs #655, #730
|
2010-05-22 00:58:54 -04:00 |
|
Juan Basso
|
a94b9ee95b
|
Update various links. Closes #392
|
2010-05-18 22:15:13 -03:00 |
|
predominant
|
1ec220dac2
|
Removing closing PHP tags.
|
2010-05-11 08:07:49 +10:00 |
|
José Lorenzo Rodríguez
|
9d2819970d
|
Fixing schema generation for postgres. Now character varying without lenght is translated to "text", to avoid sql errors. Closes #564
|
2010-04-13 01:08:31 -04:30 |
|
José Lorenzo Rodríguez
|
7668894888
|
Fixing error introduced by previous commit
|
2010-04-07 09:51:29 -04:30 |
|
José Lorenzo Rodríguez
|
45ccba5d94
|
Improving virtual fields fetching when the field wildcard selector * in present on the fields array, closes #524
|
2010-04-04 13:24:39 -04:30 |
|
José Lorenzo Rodríguez
|
75900883e6
|
Making DboPostgres::value() return NULL when given an empty array, as DboMysql does
|
2010-03-30 00:01:33 -04:30 |
|
José Lorenzo Rodríguez
|
bbf96567eb
|
Using value() in default value generation with CakeSchema and DboPostgres
|
2010-03-29 23:50:40 -04:30 |
|
José Lorenzo Rodríguez
|
41734503a6
|
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
* '1.3' of git@github.com:cakephp/cakephp1x:
Supporting Model.* syntax on postgres.
Changing variable $title to $title_for_layout. Closes #511
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
|
2010-03-25 16:08:58 -04:30 |
|
José Lorenzo Rodríguez
|
1f1324f500
|
Qouting fields inside postgres functions when prepended a DISTINCT, closes #512
|
2010-03-25 16:05:45 -04:30 |
|
renan.saddam
|
dd4ad2f83d
|
Supporting Model.* syntax on postgres.
|
2010-03-25 17:33:34 -03:00 |
|
Mark Story
|
4861da66ed
|
Merge remote branch 'origin/1.2' into 1.2-merger
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
|
2010-03-15 23:26:24 -04:00 |
|
Mark Story
|
3ab687043e
|
Updating DboPostgres test to reflect changes in test suite.
|
2010-03-14 19:27:36 -04:00 |
|
Mark Story
|
c059cf5175
|
Implementing cacheMethod(). Helps to solve #458, as it provides features to control and clear method caches.
|
2010-03-13 22:55:18 -05:00 |
|
Dieter Plaetinck
|
9a9bc3643b
|
fix typo in DboPostgresTestDb::testOrderAdditionalParams()
|
2010-03-10 14:34:17 -04:30 |
|
José Lorenzo Rodríguez
|
cbcd394d0b
|
Fixing alter schema queries generated for Postgres, which dos not support altering column type, nullable and default value at the same time
|
2010-03-09 16:09:16 -04:30 |
|
José Lorenzo Rodríguez
|
acccf964a5
|
Fixing some tests for Postgres Dbo and adding test cverage for extra params in order function, closes #353
|
2010-03-09 15:24:03 -04:30 |
|
José Lorenzo Rodríguez
|
e4a5ca528c
|
Fixing virutal fields fetching for postgresql, closes #417
|
2010-03-05 16:07:59 -04:30 |
|
Mark Story
|
7075aa5e86
|
Fixing DboSource not quoting table/field names with - in them. Tests expanded . Fixes #323
|
2010-02-20 11:42:17 -05:00 |
|
Juan Basso
|
416abed211
|
Test of ticket #323.
Signed-off-by: Mark Story <mark@mark-story.com>
|
2010-02-20 11:35:54 -05:00 |
|