1341 Commits

Author SHA1 Message Date
7a5e51e9be Fix #17935: Reset DB quoted table/column name caches when the connection is closed 2020-03-26 14:04:52 +03:00
f843317d97 Fix #17934: Fix regression in Oracle when binding several string parameters 2020-03-26 13:51:10 +03:00
70f9ab858b release version 2.0.33 2020-03-24 23:03:06 +03:00
438cc80fc7 Fix #17667: Fix CREATE INDEX failure on sqlite when specifying schema 2020-03-24 15:40:02 +03:00
50b19dbfba Fix #17920: Fix for Command::getRawSql and Expression in params 2020-03-20 19:15:16 +03:00
1b5dacb051 Fix #17909: Reset DB schema, transaction, and driver name when the connection is closed 2020-03-13 00:15:57 +03:00
b7d8730044 Fix #16092: Fix duplicate joins in usage of joinWith 2020-03-04 17:57:07 +03:00
0660011f53 Fix passing cache parameter (#17907) 2020-03-04 15:04:28 +03:00
b7723aebcf Fix bracket 2020-03-04 12:25:16 +03:00
db9e2fa709 Add missing bracket 2020-03-04 11:59:04 +03:00
fbdf464510 Backwards compatibility and formatting fix for #17897 2020-03-04 01:59:57 +03:00
c4742d0557 Merge branch 'master' of git://github.com/yiisoft/yii2 into 13749-db-connect-when-cache 2020-03-03 08:06:07 +08:00
f165b6b31f Fix #17679: Fix Oracle exception "ORA-01461: can bind a LONG value only for insert into a LONG column" when inserting 4k+ string 2020-03-02 23:26:53 +03:00
483c367704 feat: rawsql is only used for log, if profile it will be setted 2020-03-01 07:28:08 +08:00
358e3518b3 feat: fix unittest 2020-02-28 11:48:24 +08:00
990c4be454 feat: fix codeclimate error 2020-02-28 11:16:23 +08:00
2051c05087 feat: update code after review 2020-02-27 08:05:28 +08:00
b9316c9205 feat: fix unit test errors 2020-02-26 18:55:23 +08:00
7428a45bf9 fix: #13749 Yii opens db connection even when hits query cache 2020-02-26 18:10:58 +08:00
79e68767db Fix #11945: Fix Schema Builder MySQL column definition order 2020-02-22 17:17:06 +03:00
79dbd91246 Fix #17881: yii\db\Query::queryScalar() wasn’t reverting the select, orderBy, limit, and offset params if an exception occurred 2020-02-21 12:50:50 +03:00
559206bc78 Fix #17635: Fix varbinary data handling for MSSQL 2020-01-16 19:19:34 +03:00
b79fe7d106 Fix #17744: Fix a bug with setting incorrect defaultValue to AR column with CURRENT_TIMESTAMP(x) as default expression (MySQL >= 5.6.4) 2019-12-20 15:23:20 +03:00
bc180ac20d Fix #17745: Fix PostgreSQL query builder drops default value when it is empty 2019-12-18 14:27:10 +03:00
817c264181 Fix #17661: Fix query builder incorrect IN/NOT IN condition handling for null values 2019-12-17 13:58:07 +03:00
88f08005ab Fix #17687: Query::indexBy can now include a table alias 2019-12-12 02:32:40 +03:00
69b1966b4a PHP 7.4 fixes
- Fix `Model::activeAttributes()` to access array offset on value of non-string
- Fix incorrect decoding of default binary value for PostgreSQL
- Fix incorrect type-casting of reflection type to string
2019-12-10 15:08:45 +03:00
0df43397ba release version 2.0.29 2019-10-22 16:47:14 +03:00
09eacd8dc1 Bug #17597: PostgreSQL 12 and partitioned tables support (batyrmastyr)
* yiisoft#17597, pg_constraint.consrc removed in Postgres 12

* yiisoft#17597, load schema for partitioned tables (introduced in Postgres 10)

* messed up with issue number

* #yiisoft#17597 Postgres 12 support, support GENERATED AS IDENTITY columns

* uncleared FileCache leads to falsy failures on subsequent test runs

* moved .sql for postgres 10 and 12 to separate files, added ResetSequence test for GENERATED AS IDENTITY column
2019-10-18 14:57:24 +03:00
37d62c2509 Fix #16671: Logging in Connection::open() was not respecting Connection::$enableLogging 2019-09-17 17:51:50 +03:00
97499315a4 Fix #17539: Fixed error when using batch() with indexBy() with MSSQL 2019-09-10 20:55:58 +03:00
062ebf5c0b Fix #17549: Fix yii\db\ExpressionInterface not supported in yii\db\conditions\SimpleConditionBuilder 2019-09-10 18:21:53 +03:00
cc5bb71f75 Fix #17449: Ensure CHECK statement goes after COMMENT in MySQL QueryBuilder::addCommentOnColumn() 2019-09-03 19:36:37 +03:00
cdd40b8dfb Fix #17504: Fix upsert when $updateColumns = true but there are no columns to update in the table 2019-08-21 11:56:20 +03:00
69cf9de56b Fix #17473: Fixed SimpleConditionBuilder::build() when column is not a string 2019-08-01 13:20:37 +03:00
4b768a86f5 Fix #17486: Fixed error when using batch() without $db parameter with MSSQL 2019-08-01 13:17:31 +03:00
b66a6133dc release version 2.0.24 2019-07-30 18:17:45 +03:00
c2eae6cb0e Fix #17457: Fixed phpTypecast() for MSSQL 2019-07-23 23:08:31 +03:00
9988efc04f Fix #16796: Fixed addition and removal of table and column comments in MSSQL 2019-07-23 18:50:57 +03:00
c0254d617e Fix #17449: Fixed order of SQL column build syntax for MySQL migration 2019-07-23 17:37:16 +03:00
6fc04a622e Fix #17219: Fixed quoting of table names with spaces in MSSQL 2019-07-19 13:48:57 +03:00
259c496e2e Fix #10020: Fixed quoting of column names with dots in MSSQL 2019-07-17 16:46:31 +03:00
4d02666b9e release version 2.0.23 2019-07-16 22:44:09 +03:00
a7335bfabf Fix phpdoc for BatchQueryResult::$mssqlNoMoreRowsErrorCode [skip ci] 2019-07-16 22:38:18 +03:00
0e1f22ae6a Verifying error code instead of message. (#17438) 2019-07-16 20:40:19 +03:00
a26f8f6ed2 Added since tag 2019-07-15 23:00:10 +03:00
4bee9a4ed9 #10023. Fix codeclimate issue 2019-07-15 14:49:11 +03:00
25cf331839 Closes #10023. Fix MSSQL "There are no more rows" exception when using each() and batch() 2019-07-15 13:54:33 +03:00
dfe58e877c Remove unnecessary use 2019-07-10 21:16:39 +03:00
869f475dc1 Fix #17413, fix #17418: Fixed MSSQL tests 2019-07-10 17:30:41 +03:00