mark_story
2afb05b590
Merge branch '2.0' into 2.1
...
Conflicts:
app/View/Pages/home.ctp
lib/Cake/Config/config.php
lib/Cake/Core/App.php
lib/Cake/VERSION.txt
lib/Cake/View/Helper/NumberHelper.php
2012-02-12 10:06:13 -05:00
mark_story
9c1fa28d60
Its EXECUTE not EXECUCUTE
...
Also make the search insensitive as casing bugs are no fun.
2012-02-10 12:43:07 -05:00
mark_story
0cfec525b2
Allow SqlServer to execute procs correctly.
...
Both SELECT and EXECUTE statements should go through
the parent method as they could fetch results.
Fixes #2558
2012-02-09 22:27:30 -05:00
mark_story
ace9fefb02
Merge branch '2.0' into 2.1
2012-02-03 21:54:50 -05:00
mark_story
49a48ced89
Don't restrict to BASE_TABLE.
...
This allows Views, and custom table types
to be connected to models in SqlServer.
Fixes #2529
2012-02-03 21:54:26 -05:00
mark_story
0e56d742b8
Merge branch '2.0' into 2.1
...
Conflicts:
lib/Cake/Model/BehaviorCollection.php
lib/Cake/basics.php
2012-01-08 21:59:18 -05:00
Jose Lorenzo Rodriguez
ba097d404f
Explicitly using a fetch mode in SQLServer, not doing it causes serious memory leaks
2012-01-07 01:04:02 -04:30
Jose Lorenzo Rodriguez
cd562f52ba
Fixing a couple failing tests on windows using sqlserver
2012-01-07 00:37:50 -04:30
ADmad
389072708a
Merge branch '2.0' into 2.1
...
Conflicts:
lib/Cake/Test/Case/Model/ModelReadTest.php
lib/Cake/Utility/Debugger.php
2011-12-22 03:15:04 +05:30
Kyle Robinson Young
51f9837db4
Code standards formatting
2011-12-15 22:52:07 -08:00
mark_story
2e8498e166
Merge branch '2.0' into 2.1
...
Conflicts:
lib/Cake/Model/Datasource/Database/Postgres.php
lib/Cake/Test/Case/Console/TaskCollectionTest.php
lib/Cake/Test/Case/Model/ModelIntegrationTest.php
lib/Cake/Test/Case/Utility/ClassRegistryTest.php
lib/Cake/Utility/ClassRegistry.php
2011-12-11 22:51:40 -05:00
Kyle Robinson Young
1e1c7a036d
Code consistency formatting tweaks
2011-12-06 12:52:48 -08:00
mark_story
6d269ce25d
Merge branch '2.0' into 2.1
...
Conflicts:
lib/Cake/Config/config.php
lib/Cake/Console/Command/Task/ModelTask.php
lib/Cake/Console/Command/TestsuiteShell.php
lib/Cake/Model/CakeSchema.php
lib/Cake/Model/Datasource/Database/Sqlite.php
lib/Cake/Test/Case/Model/ModelTestBase.php
lib/Cake/Test/Case/Routing/DispatcherTest.php
lib/Cake/Test/Case/Utility/FileTest.php
lib/Cake/VERSION.txt
2011-12-03 13:45:28 -05:00
Kyle Robinson Young
8197f87dbc
Spelling and grammar fixes
2011-12-01 21:58:09 -08:00
Jose Lorenzo Rodriguez
2bffd4c26d
Preventing memory leak in PDO when retrieving results from the driver, fixes #2293
2011-11-25 13:36:14 -04:30
Rachman Chavik
144b556d1f
Adding new property Model::schemaName
...
Just like physical table name, the schema name is an important information
that should be available in models. The property will be populated accordingly
by the model's datasource.
2011-11-25 22:29:23 +07:00
mark_story
6d9b709c7a
Fix method signatures of database drivers.
...
They were incompatible with Datasource.
Add tests for MySQL and SQLite as their implementation changed a bit.
Update docs for Postgres.
Fixes #2100
2011-10-14 21:25:14 -04:00
Jose Lorenzo Rodriguez
df2ef0e4f1
Bringing the SQlserver datasource up to date, fixing a doc block
2011-09-28 21:23:06 -04:30
Jose Lorenzo Rodriguez
36470f4a86
Removing $error property from DboSource, errors in queries will throw exceptions now
2011-09-03 12:17:00 -04:30
Juan Basso
61833294f0
Changed the visibility to methods that not affect others classes.
2011-08-20 01:39:30 -04:00
Juan Basso
f5a54d00dd
Changed methods and attributes from private to protected.
2011-08-20 00:43:34 -04:00
Juan Basso
16ef234180
Removing trailing spaces.
2011-08-15 23:55:08 -04:00
Juan Basso
fedadc091c
Included @throws in API that was missing.
2011-07-31 16:55:52 -04:00
Juan Basso
e4a1816557
Changed the signature of methods to avoid strict messages.
2011-07-30 19:17:20 -04:00
Juan Basso
39b4032820
Fixed some API doc in model.
2011-07-30 18:38:57 -04:00
Jose Lorenzo Rodriguez
cfd2d9e00b
Updating all @package annotations in doc blocks
2011-07-26 01:46:14 -04:30
Mark Story
08f1afe328
Updating varchar, text columns to use nvarchar.
...
This storage type stores unicode properly, and is the
saner default datatype for most applications.
Fixes #1321
2011-06-23 23:01:17 -07:00
Mark Story
3169c5a1e7
Fixing issues with unicode quoting.
2011-06-23 16:13:35 -07:00
Mark Story
9ab2ec7d49
Adding support for Unicode characters. Refs #1321
2011-06-23 15:46:03 -07:00
Mark Story
623466dcf8
Removing duplicated code.
2011-06-23 14:34:45 -07:00
Mark Story
e33a9a7846
Adding new limit/offset pagination for SQLServer 11.
2011-06-22 17:01:36 -07:00
Mark Story
1a155c80c0
Fixing support for nchar and nvarchar fields in SQL server.
...
These fields report their length as double of what its defined.
2011-06-22 11:39:06 -07:00
Mark Story
3bc6195967
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-22 10:56:18 -07:00
Mark Story
a825d8280f
Adding support for SQLServer's datetime2 column,
...
as that is the preferred datetime format in SQLServer.
2011-06-22 10:24:45 -07:00
Mark Story
d45b7fa174
Fixing identity check.
2011-06-22 10:15:15 -07:00
Graham Weldon
876a047a76
Change type check to loose type checking for Sqlserver limit -1
2011-06-22 09:54:35 -07:00
Mark Story
0c1472ee44
Adding better support for nvarchar(MAX) in SQLServer
...
Newer versions of SQLServer perfer to use nvarchar(max) for
text columns.
2011-06-22 09:05:06 -07:00
Mark Story
936d068eec
Reformating SQLServer 'describe' query.
2011-06-22 09:05:06 -07:00
Jose Lorenzo Rodriguez
d0ef655601
Using the field name for aliasing for Sqlsrv as in Postgres, removing dead code
2011-06-21 18:58:33 -04:30
Jose Lorenzo Rodriguez
97e51f1d94
Removing Sqlserver::value() as it is already abstracted in DboSource
2011-06-21 18:07:05 -04:30
Jose Lorenzo Rodriguez
f79fc74aad
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-06-21 17:09:53 -04:30
Jose Lorenzo Rodriguez
9aa2a4227f
Fixing offsetting in paginated queries in SqlSrv
2011-06-21 17:09:12 -04:30
Mark Story
f353eb733f
Fixing incorrect default value.
2011-06-21 14:20:20 -07:00
Mark Story
4deedf6da2
Removing extra paging result that ends up because of SQLserver 10 workarounds.
2011-06-21 13:17:49 -07:00
Jose Lorenzo Rodriguez
3d2a732cd3
Reverting testing changes pushed in past commit
2011-06-21 15:30:17 -04:30
Jose Lorenzo Rodriguez
a34358faa4
Fixing FormAuthenticateTest for Sqlsrv
2011-06-21 14:29:18 -04:30
Graham Weldon
f1108b2ef1
Fixed pagination for SqlServer
2011-06-21 11:38:09 -07:00
Jose Lorenzo Rodriguez
cdc81333e8
Adding support in SqlSrv for drop table if exists
2011-06-20 19:49:06 -04:30
Jose Lorenzo Rodriguez
cf49d51e75
Fixing the binary type for SqlSrv
2011-06-20 19:14:21 -04:30
Jose Lorenzo Rodriguez
9f85e24413
Adding float precision support to CakeSchema when using Sqlsrv
2011-06-20 18:43:26 -04:30