Carsten Brandt
088fd518fe
Fix #17991 : Improve yii\db\Connection master and slave failover, no connection attempt was made when all servers are marked as unavailable
2020-05-02 11:59:35 +03:00
Kwok
89ded8c82a
Fix #18000 : PK value of Oracle ActiveRecord is missing after save
2020-05-02 02:17:27 +03:00
Maxim Chistyakov
cb67d07b85
Fix #17974 : Fix ActiveRelationTrait compatibility with PHP 7.4
2020-04-19 23:25:02 +03:00
Sartor
a66fac3bb1
Fix #17758 : Query::withQuery() can be used for CTE
2020-04-13 11:58:18 +03:00
Alexander Makarov
e9c27ca51b
Merge branch 'master' into 17960-sqlite-unsigned-primary-key
2020-04-09 19:03:03 +03:00
Brandon Kelly
b500631d0a
Document [alias=>table] syntax for join methods ( #17967 )
2020-04-09 16:14:29 +03:00
Bizley
0210a5cbb0
Removed UNSIGNED from primary keys mapping
2020-04-08 15:15:35 +02:00
Alex
55890453ab
Fix #17942 : Fix for DbCache loop in MySQL QueryBuilder
2020-04-02 16:41:11 +03:00
Brandon Kelly
7a5e51e9be
Fix #17935 : Reset DB quoted table/column name caches when the connection is closed
2020-03-26 14:04:52 +03:00
Alexander Makarov
f843317d97
Fix #17934 : Fix regression in Oracle when binding several string parameters
2020-03-26 13:51:10 +03:00
Alexander Makarov
70f9ab858b
release version 2.0.33
2020-03-24 23:03:06 +03:00
Alexander Makarov
438cc80fc7
Fix #17667 : Fix CREATE INDEX failure on sqlite when specifying schema
2020-03-24 15:40:02 +03:00
Alex
50b19dbfba
Fix #17920 : Fix for Command::getRawSql and Expression in params
2020-03-20 19:15:16 +03:00
Brandon Kelly
1b5dacb051
Fix #17909 : Reset DB schema, transaction, and driver name when the connection is closed
2020-03-13 00:15:57 +03:00
Ivan Hermanov
b7d8730044
Fix #16092 : Fix duplicate joins in usage of joinWith
2020-03-04 17:57:07 +03:00
Alexander Makarov
0660011f53
Fix passing cache parameter ( #17907 )
2020-03-04 15:04:28 +03:00
Alexander Makarov
b7723aebcf
Fix bracket
2020-03-04 12:25:16 +03:00
Alexander Makarov
db9e2fa709
Add missing bracket
2020-03-04 11:59:04 +03:00
Alexander Makarov
fbdf464510
Backwards compatibility and formatting fix for #17897
2020-03-04 01:59:57 +03:00
root
c4742d0557
Merge branch 'master' of git://github.com/yiisoft/yii2 into 13749-db-connect-when-cache
2020-03-03 08:06:07 +08:00
vinpel
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
Ather Shu
483c367704
feat: rawsql is only used for log, if profile it will be setted
2020-03-01 07:28:08 +08:00
Ather Shu
358e3518b3
feat: fix unittest
2020-02-28 11:48:24 +08:00
Ather Shu
990c4be454
feat: fix codeclimate error
2020-02-28 11:16:23 +08:00
Ather Shu
2051c05087
feat: update code after review
2020-02-27 08:05:28 +08:00
Ather Shu
b9316c9205
feat: fix unit test errors
2020-02-26 18:55:23 +08:00
Ather Shu
7428a45bf9
fix : #13749 Yii opens db connection even when hits query cache
2020-02-26 18:10:58 +08:00
simialbi
79e68767db
Fix #11945 : Fix Schema Builder MySQL column definition order
2020-02-22 17:17:06 +03:00
Brandon Kelly
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
Oleg
559206bc78
Fix #17635 : Fix varbinary data handling for MSSQL
2020-01-16 19:19:34 +03:00
Bizley
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
Dmitriy Derepko
bc180ac20d
Fix #17745 : Fix PostgreSQL query builder drops default value when it is empty
2019-12-18 14:27:10 +03:00
Hubert Strychalski
817c264181
Fix #17661 : Fix query builder incorrect IN/NOT IN condition handling for null values
2019-12-17 13:58:07 +03:00
Brandon Kelly
88f08005ab
Fix #17687 : Query::indexBy can now include a table alias
2019-12-12 02:32:40 +03:00
Alexander Makarov
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
Alexander Makarov
0df43397ba
release version 2.0.29
2019-10-22 16:47:14 +03:00
Evgeny
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
Alexander Makarov
37d62c2509
Fix #16671 : Logging in Connection::open() was not respecting Connection::$enableLogging
2019-09-17 17:51:50 +03:00
Alexander Kartavenko
97499315a4
Fix #17539 : Fixed error when using batch() with indexBy() with MSSQL
2019-09-10 20:55:58 +03:00
Razvan Grigore
062ebf5c0b
Fix #17549 : Fix yii\db\ExpressionInterface not supported in yii\db\conditions\SimpleConditionBuilder
2019-09-10 18:21:53 +03:00
Manu311
cc5bb71f75
Fix #17449 : Ensure CHECK statement goes after COMMENT in MySQL QueryBuilder::addCommentOnColumn()
2019-09-03 19:36:37 +03:00
Alexander Kartavenko
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
Alexander Kartavenko
69cf9de56b
Fix #17473 : Fixed SimpleConditionBuilder::build() when column is not a string
2019-08-01 13:20:37 +03:00
Alexander Kartavenko
4b768a86f5
Fix #17486 : Fixed error when using batch() without $db parameter with MSSQL
2019-08-01 13:17:31 +03:00
Alexander Makarov
b66a6133dc
release version 2.0.24
2019-07-30 18:17:45 +03:00
Alexander Kartavenko
c2eae6cb0e
Fix #17457 : Fixed phpTypecast() for MSSQL
2019-07-23 23:08:31 +03:00
Sidney Lins
9988efc04f
Fix #16796 : Fixed addition and removal of table and column comments in MSSQL
2019-07-23 18:50:57 +03:00
EndlessDreams
c0254d617e
Fix #17449 : Fixed order of SQL column build syntax for MySQL migration
2019-07-23 17:37:16 +03:00
Alexander Kartavenko
6fc04a622e
Fix #17219 : Fixed quoting of table names with spaces in MSSQL
2019-07-19 13:48:57 +03:00
Alexander Kartavenko
259c496e2e
Fix #10020 : Fixed quoting of column names with dots in MSSQL
2019-07-17 16:46:31 +03:00