Ather Shu
b9316c9205
feat: fix unit test errors
5 years ago
Ather Shu
7428a45bf9
fix : #13749 Yii opens db connection even when hits query cache
5 years ago
simialbi
79e68767db
Fix #11945 : Fix Schema Builder MySQL column definition order
5 years ago
Brandon Kelly
79dbd91246
Fix #17881 : `yii\db\Query::queryScalar()` wasn’t reverting the `select`, `orderBy`, `limit`, and `offset` params if an exception occurred
5 years ago
Oleg
559206bc78
Fix #17635 : Fix varbinary data handling for MSSQL
5 years ago
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)
5 years ago
Dmitriy Derepko
bc180ac20d
Fix #17745 : Fix PostgreSQL query builder drops default value when it is empty
5 years ago
Hubert Strychalski
817c264181
Fix #17661 : Fix query builder incorrect IN/NOT IN condition handling for null values
5 years ago
Brandon Kelly
88f08005ab
Fix #17687 : `Query::indexBy` can now include a table alias
5 years ago
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
5 years ago
Alexander Makarov
0df43397ba
release version 2.0.29
5 years ago
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
5 years ago
Alexander Makarov
37d62c2509
Fix #16671 : Logging in `Connection::open()` was not respecting `Connection::$enableLogging`
5 years ago
Alexander Kartavenko
97499315a4
Fix #17539 : Fixed error when using `batch()` with `indexBy()` with MSSQL
5 years ago
Razvan Grigore
062ebf5c0b
Fix #17549 : Fix `yii\db\ExpressionInterface` not supported in `yii\db\conditions\SimpleConditionBuilder`
5 years ago
Manu311
cc5bb71f75
Fix #17449 : Ensure `CHECK` statement goes after `COMMENT` in MySQL `QueryBuilder::addCommentOnColumn()`
5 years ago
Alexander Kartavenko
cdd40b8dfb
Fix #17504 : Fix upsert when `$updateColumns = true` but there are no columns to update in the table
5 years ago
Alexander Kartavenko
69cf9de56b
Fix #17473 : Fixed `SimpleConditionBuilder::build()` when column is not a string
5 years ago
Alexander Kartavenko
4b768a86f5
Fix #17486 : Fixed error when using `batch()` without `$db` parameter with MSSQL
5 years ago
Alexander Makarov
b66a6133dc
release version 2.0.24
5 years ago
Alexander Kartavenko
c2eae6cb0e
Fix #17457 : Fixed `phpTypecast()` for MSSQL
5 years ago
Sidney Lins
9988efc04f
Fix #16796 : Fixed addition and removal of table and column comments in MSSQL
5 years ago
EndlessDreams
c0254d617e
Fix #17449 : Fixed order of SQL column build syntax for MySQL migration
5 years ago
Alexander Kartavenko
6fc04a622e
Fix #17219 : Fixed quoting of table names with spaces in MSSQL
5 years ago
Alexander Kartavenko
259c496e2e
Fix #10020 : Fixed quoting of column names with dots in MSSQL
5 years ago
Alexander Makarov
4d02666b9e
release version 2.0.23
5 years ago
Alexander Makarov
a7335bfabf
Fix phpdoc for BatchQueryResult::$mssqlNoMoreRowsErrorCode [skip ci]
5 years ago
Alexander Kartavenko
0e1f22ae6a
Verifying error code instead of message. ( #17438 )
5 years ago
Alexander Makarov
a26f8f6ed2
Added since tag
5 years ago
Alexander Kartavenko
4bee9a4ed9
#10023 . Fix codeclimate issue
5 years ago
Alexander Kartavenko
25cf331839
Closes #10023 . Fix MSSQL "There are no more rows" exception when using `each()` and `batch()`
5 years ago
Alexander Makarov
dfe58e877c
Remove unnecessary use
5 years ago
Alexander Kartavenko
869f475dc1
Fix #17413 , fix #17418 : Fixed MSSQL tests
5 years ago
Alexander Kartavenko
9f2a87363e
Fixes #17420 : Fixed loading of column default values for MSSQL
5 years ago
Alexander Kartavenko
55b06d2364
Fix #17413 : Fixed MSSQL tests: `QueryBuilderTest::testGetColumnType()`, `QueryBuilderTest::testResetSequence()`
5 years ago
Alexander Kartavenko
6b10bbcec2
Closes #17057 . `\yii\db\mssql\Schema::findTableNames` should return quoted table names. ( #17409 )
5 years ago
Alexander Kartavenko
eb65dba796
Fixes #17057 : Fixed issues with table names that contain special characters or keywords in MSSQL
5 years ago
Brandon Kelly
f2212a3183
Fix #17384 : Fixed SQL error when passing `DISTINCT ON` queries
5 years ago
Sidney Lins
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
5 years ago
epifrin
8fd627c755
Added type null to @return annotation of findOne method ( #17362 ) [skip ci]
5 years ago
Brandon Kelly
54b3d6d8ab
Fixes #17344 : Improved performance of `yii\db\Connection::addSelect()`
5 years ago
Brandon Kelly
b638cc4a4e
Fixes #17348 : Improved performance of `yii\db\Connection::quoteTableName()`
5 years ago
Brandon Kelly
60702e663e
Fixes #17345 : Improved performance of `yii\db\Connection::quoteColumnName()`
5 years ago
Bizley
56215d58e1
Fixes #12077 , #12135 , #17263 : Fixed PostgreSQL version of `alterColumn()` to accept properly `ColumnSchemaBuilder` definition of column
5 years ago
Albert Borsos
d2c2f63686
Fixes #17127 : `yii\db\ActiveRecord::findOne()` now accepts table aliases
6 years ago
Dacheng Gao
687f15fbd2
Remove extra space char in comments ( #17198 ) [skip ci]
6 years ago
Pavel Dovlatov
bdb7c64910
Update to https protocol for php.net links ( #17168 ) [skip ci]
...
* Updated php.net link for some MemCache properties [skip ci]
* Changed protocol to https for links to php.net in comments
* Changed protocol to https for links to php.net in code
* Changed www.php.net (http) to secure.php.net (https) in comments
* Changed www.php.net (http) to secure.php.net (https) in code
* Changed protocol to https for links to php.net in UPGRADE.md
* Changed protocol to https for links to pecl.php.net in comments
* Changed us.php.net to secure.php.net (https) in comments
* Changed protocol to https for links to php.net in docs
* Changed www.php.net (http) to secure.php.net (https) in docs
* Changed protocol to https for links to pecl.php.net in docs
* Changed ru/jp.php.net to secure.php.net (https) in docs
Don't sure about russian guide: is this links meant to be for guide on russian, or not?
6 years ago
Pavel Ivanov
2da6773b68
Fixes #17089 : Fixed caching of related records when `via()` using with callable
6 years ago
Carsten Brandt
ed64d65886
release version 2.0.16
6 years ago
Dmytro Naumenko
adf8f9a32f
Fixes #15931 : `yii\db\ActiveRecord::findOne()` now accepts quoted table and column names using curly and square braces respectively
6 years ago