octicon-git-branch(16/) Commit Graph

520 Commits

Author SHA1 Message Date
Qiang Xue
fe2611186e Fixes #4051: Renamed yii\caching\GroupDependency to TagDependency and added support for associating multiple tags to a single cached data item 2014-07-15 00:10:57 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0a5894fcd8 Fixes #4299 2014-07-13 21:35:35 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
919ab232e7 all finished. [skip ci] 2014-07-12 13:11:29 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
65987f62ae test WIP 2014-07-12 10:38:51 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
478380fb10 Fixed test brak. 2014-07-11 22:49:32 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
c16e5e4240 do not switch connection when in a transaction. 2014-07-11 22:39:07 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
43333d9cad Implemented master balancing. 2014-07-11 22:33:36 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
91e0c5ae8a Added Connection::useMaster() and refactored code. 2014-07-11 21:04:26 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
2018503c8d WIP 2014-07-11 12:59:32 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
67a1e172db WIP 2014-07-11 08:27:58 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
ff50f15056 proper quoting of sequence name. 2014-07-10 14:06:47 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
bc5028eb97 Renamed parameter to match description better 2014-07-10 21:09:08 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
608e9012fb Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance 2014-07-10 20:50:07 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
b147e6516d minor CS fixes [skip ci] 2014-07-10 11:59:27 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
dca2a84c58 Fixed missing callable in method signature 2014-07-10 19:24:41 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
593b478f2b Added extra callable typehints 2014-07-10 19:12:05 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
4ff28fb9fb Added callable typehint and active transaction check to Connection::transaction() 2014-07-10 19:01:21 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
ceff7cc794 Removed requirement to use \Callback from Connection::transaction, improved docs 2014-07-10 18:18:51 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
56a7ec7618 Passed transaction as callback argument for Connection::transaction() method 2014-07-10 17:57:52 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
5991006ed7 Fixed example of closure-transactions 2014-07-10 17:35:54 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Ragazzo
e5195937e4 Fixes #3384: Added callback-style transactions 2014-07-10 17:24:10 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
038d5a5375 Fixes #4232: TableSchema::sequenceName for PostgreSQL should remove the enclosing quotes 2014-07-09 17:17:35 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9cb36d01a7 Fixes #4212: MSSQL query builder should not generate the ORDER BY clause when it is not needed 2014-07-08 20:37:53 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
miramir
0322e427e7 fix unnecessary diff 2014-07-07 21:24:21 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
Иван Багаев
93c567e7e1 Retriev quoteSimpleTableName 2014-07-07 20:54:31 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
miramir
9c55cc48f8 Removing unnecessary methods 2014-07-07 11:38:05 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
Иван Багаев
b96e45faf7 Remove test for asterisk in quoteSimpleTableName 2014-07-05 22:07:46 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
Иван Багаев
d06685ff88 Asterisk in Oracle not need quote
If quote asterisk oracle say "Syntax error"
2014-07-05 12:28:54 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
Steve
47923cccbe Fix bug in yii\db\mysql\Schema
Schema name was not used in ’SHOW CREATE TABLE’  query

Fixed bug where schema name was not used in ’SHOW CREATE TABLE’ query in `yii\db\mysql\Schema`

close #4162
2014-07-02 12:35:46 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
05e21b7291 Fixes #4135 2014-07-01 14:49:41 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
1085f1bd9b cleanup after #4092
fixes #4086
2014-06-29 13:29:23 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Vladimir Zbrailov
7113a23a45 change PhpDoc of param 2014-06-27 18:59:44 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Vladimir Zbrailov
44f20c61a0 changedAttributes of AfterSaveEvent contain an old values 2014-06-27 18:51:21 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
27943ce735 Merge pull request #4063 from yiisoft/typecast-split
split typecast method into two
2014-06-27 02:14:31 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
5d0452b2ae rename ColumnSchema::typecast to phpTypecast 2014-06-27 02:12:59 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
4969f51e3f Fixes #3221: Added events for DB transaction commit/rollback 2014-06-26 16:08:18 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
f1b64f60cf Merge pull request #4070 from Sanya1991/master
Oracle Schema fix
2014-06-26 18:56:07 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Tóth Sándor
332f2a07ee OCI/Schema getlastinsertedid function fix and i add const oracle column type to schema 2014-06-26 15:49:47 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
4f86c9ad51 Merge pull request #4020 from Sanya1991/master
OCI createColumn fix
2014-06-26 12:58:21 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
1b4a9b62cd Fixes #3568: When the primary query sets asArray, it is not respected by the via relational query 2014-06-25 23:35:02 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
86f06677e9 Refactored AR findOne() and findAll(). 2014-06-25 21:31:15 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
574f67feff fixed test break 2014-06-26 01:35:56 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
8a70d9fbd1 rename column schema typecast method 2014-06-26 00:11:04 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
6a48f68955 split typecast method into two
one method for fetching data and one for sending to db.

fixes #2287
2014-06-26 00:00:37 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
eeb784a11e added typecast to auto increment PK
fixes #3583
2014-06-25 21:45:47 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
b04e23f8b7 use native suppport for batch insert in SQLite >= 3.7.11
fixes #3559
2014-06-25 21:18:36 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
7b13c370e9 fixes #3681, disambiguate PK in findOne and findAll 2014-06-25 20:57:20 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
48f6e380df Merge PR #4038 branch 'consistent-after-save'
* consistent-after-save:
  use an AfterSaveEvent class to be consistent
  fixed test break and wrong parameter
  changed updateAttributes to be more simple update
  Ensure consistent behavior in ActiveRecord::afterSave()

Conflicts:
	framework/UPGRADE.md
2014-06-25 20:23:16 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
edb95052e8 use an AfterSaveEvent class to be consistent 2014-06-25 19:53:00 +02:00 octicon-file-diff(16/) octicon-file-code(16/)