Commit Graph

327 Commits

Author SHA1 Message Date
Carsten Brandt
cf1ada15ef Merge branch 'master' into kadishmal-cubrid-database-support
* master: (789 commits)
  'summaryTagName' and 'emptyCssClass' options added to CBaseListView
  Missing entries added to CHANGELOG
  'cli' mode detection at 'CConsoleApplication' fixed
  Eager loading note added to 'Relational Query Options' docs
  Fix CSysLogRoute.php file comment
  Fixes #3324: add syslog support
  CDbConnection ODBC related fixes before merging
  Add ODBC to the requirements checker
  Fix #132: CDbConnection now supports ODBC
  Better fix for <script async="false"
  Fixed #3258
  Fixed #3283
  Remove async from list of Special Attributes so that it is possible to use async=false per issue: #3314
  typo fix in guide
  COciSchema: read column comments from another schema
  Update yii.php
  Add changes #3298 to CHANGELOG
  Added check for the existence of a link href attribute pager
  Added check for the existence of a link href attribute pager
  Update yii.php
  ...
2014-04-22 23:12:34 +02:00
Carsten Brandt
5b82c9dcd0 finished review on cubrid 2014-04-22 23:12:03 +02:00
gureedo
28443ded79 COciSchema: read column comments from another schema 2014-03-28 19:07:56 +06:00
Carsten Brandt
81dea0e51c fixed pgsql test break 2014-01-28 14:43:22 +01:00
Carsten Brandt
b5604bad48 fixed #2969 CPgsqlSchema::addColumn() converts column type twice 2014-01-28 12:39:27 +01:00
Carsten Brandt
e5f7eb2543 CPgsqlColumnSchema can't parse default value for numeric field
fixes #2235
2014-01-28 12:36:29 +01:00
Carsten Brandt
3d4b19e018 Merge pull request #2803 from nineinchnick/788-postgresql-createindex
use the preffered method of creating an unique index in postgresql
2014-01-28 03:30:23 -08:00
munawer-t
ea84745b43 Apply changes as per comment 2014-01-07 17:07:09 +05:30
munawer-t
28b3331f97 variable typo 2014-01-07 15:23:49 +05:30
munawer-t
32bc867bf6 Doc typos and corrections 2014-01-07 15:23:17 +05:30
Alexander Makarov
dcec697c06 Fixes #3115: Updated phpdoc for better code completion in modern IDEs 2013-12-31 12:12:09 +01:00
Qiang Xue
1154899315 Fixed the bug that backslashes are not escaped by CDbCommandBuilder::buildSearchCondition() 2013-12-29 13:07:53 -05:00
Brad Bell
0ecae33886 Fixes a MySQL syntax error if you specified an offset without a limit. 2013-12-23 13:21:33 -08:00
Carsten Brandt
88d02cfcb9 more documentation adjustments to mention MariaDB
fixes #2955
2013-10-12 17:14:13 +02:00
softark
fb3e8d9ed6 CDbCriteria::mergeWith fix 2013-10-09 19:02:59 +09:00
John Was
5929736f35 rename biginteger to bigint 2013-09-15 12:40:31 +02:00
John Was
9e8a4b1a52 introduce bigpk and biginteger column types in each class extending CDbSchema 2013-09-13 21:39:34 +02:00
Paul Klimov
d4a01ab1f3 Merge pull request #2800 from nineinchnick/2785-composeMultipleInsertCommand-table-name
Fixes #2785 use proper table name with schema when creating a multi insert command
2013-08-29 02:16:21 -07:00
Alexander Makarov
1c2aadf8e6 fixed code style and phpdoc for #2817 2013-08-26 22:21:00 +04:00
Zander Baldwin
48ecf6ca68 Update Method Parameters in CDbSchema::createIndex()
Update the spelling of the third parameter of CDbSchema::createIndex() to become plural, rather than singular, to better reflect the correct data that this parameter accepts.
2013-08-26 19:10:21 +01:00
Zander Baldwin
4b0a19300c Update Database Schema Component
Update the CDbSchema component to allow passing columns names to CDbSchema::createIndex() and CDbSchema::addForeignKey() as an array, as well as a string of comma-separated column names.
2013-08-26 16:30:10 +01:00
John Was
da68e9ab13 use the preffered method of creating an unique index in postgresql as suggested by the manual 2013-08-21 23:08:32 +02:00
John Was
b1efd178e4 use proper table name with schema when creating a multi insert command 2013-08-21 20:49:15 +02:00
resurtm
583355d067 CS fixes. 2013-06-02 00:07:23 +06:00
resurtm
1be4536fd8 COciSchema::checkIntegrity(): better name quoting. 2013-06-01 23:48:30 +06:00
resurtm
e927a28fff COciSchema::checkIntegrity(): proper default value behavior. 2013-06-01 23:44:31 +06:00
resurtm
69ff293e68 Fixes #315: integrity check for Oracle RDBMS can now be toggled. 2013-06-01 23:21:00 +06:00
resurtm
0b41782f03 Fixes #2241: resetSequence() inconsistency. 2013-05-30 21:38:51 +06:00
resurtm
c1161ad73e Merge branch 'master' of github.com:yiisoft/yii into fixes-2336
Conflicts:
	CHANGELOG
	tests/framework/db/ar/CActiveRecord2Test.php
2013-05-28 21:06:37 +06:00
resurtm
27899cc320 Fixes #1916: CMssqlSchema::findColumns() issues an "invalid object name" error. 2013-05-27 23:44:44 +06:00
Carsten Brandt
7f3cfe7da3 Merge branch 'master' of https://github.com/zeeke/yii into zeeke-master
* 'master' of https://github.com/zeeke/yii:
  Update CSqliteColumnSchema.php
  Fixed default value in SQlite column
2013-05-27 04:01:26 +02:00
Carsten Brandt
e7b7cd0291 Support for MySQL BIT(M) data type default values
replaces pull request #1842

CMysqlColumnSchema: support for MySQL BIT(M) data type proper default
values.
For example, MySQL (MariaDB) return default value as "b'1'" string, not
as "1", so, this case should be considered especially. See also
http://dev.mysql.com/doc/refman/5.0/en/bit-type.html
2013-05-27 02:45:25 +02:00
Daniel Hahler
be8c6ca76a Fix CMysqlColumnSchema::extractLimit for ENUM values containing comma
Fixes #2454.
2013-05-07 17:23:26 +02:00
resurtm
ae38dbfe34 Enhancement for #1604. Note about SQLite peculiarity on batch insert. 2013-05-06 22:00:01 +06:00
resurtm
0f54eb0dee Fixes #2426: CDbCriteria::__wakeup() used to issue an error in case SQL containing fields were arrays and criteria parameters were specified. 2013-05-04 22:37:14 +06:00
Carsten Brandt
450d50691f Various documentation and code style fixes 2013-05-01 23:29:10 +02:00
resurtm
bd0483cfc5 Fixes #2336: PostgreSQL: CDbCommandBuilder uses NULL instead of DEFAULT as default value for the primary keys of serial type. 2013-04-15 18:42:41 +06:00
Paul Klimov
c6b10c56b7 Merge pull request #2285 from klimov-paul/db-command-builder-insert-multiple
Enh #1604: CDbCommandBuilder supports multiple insertion
2013-04-08 01:07:53 -07:00
zeeke
eba5a5e383 Update CSqliteColumnSchema.php 2013-04-08 10:36:54 +03:00
zeeke
7e40440072 Fixed default value in SQlite column 2013-04-07 13:22:20 +03:00
resurtm
8afd193d3b Fixes #2299: CMssqlSchema: findTableNames(), getTables() and getTableNames() methods used to prepend schema prefix to the table names twice. 2013-04-05 15:41:53 +06:00
Alexander Makarov
1440e585e1 Merge pull request #2294 from Ragazzo/CMssql-classes-formatting-fix
CMssql-classes-formatting-fix
2013-04-04 03:10:54 -07:00
Ragazzo
0eb71a1767 Fixed spaces to tabs 2013-04-04 13:05:26 +04:00
Klimov Paul
59bced169b Doc comment tag @since 1.1.14 has been added to "CDbCommandBuilder::createMultipleInsertCommand()" 2013-04-03 21:07:41 +03:00
Klimov Paul
e167f01253 Method "CDbCommandBuilder::composeMultipleInsertCommand()" has been extracted. 2013-04-03 21:00:32 +03:00
Klimov Paul
4efa573f53 Method "COciCommandBuilder::createMultipleInsertCommand()" has been created. 2013-04-02 21:32:53 +03:00
Klimov Paul
7d031ba5e0 Method "CDbCommandBuilder::createMultipleInsertCommand()" has been refactored. 2013-04-02 21:20:18 +03:00
Klimov Paul
ea56bbe56c Method "CSqliteCommandBuilder::createMultipleInsertCommand()" has been created. 2013-04-02 21:18:44 +03:00
Klimov Paul
e678652d3d Method "CDbCommandBuilder::createMultipleInsertCommand()" has been created. 2013-04-02 21:05:33 +03:00
Carsten Brandt
0b0ce8bffc Code style
adjustments to PR #1893
2013-03-27 23:22:28 +01:00