octicon-git-branch(16/) Commit Graph

1381 Commits

Author SHA1 Message Date
Alexander Makarov
ccb14ff667 release version 2.0.39 2020-11-10 13:58:35 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
stevekr
bdc29982fa Fix @method signatures in ActiveRelationTrait (#18369) 2020-11-06 20:13:19 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
ed1c087784 Fix #18317: Additional PHP 8 compatibility fixes
Co-authored-by: Bizley <pawel@positive.codes>
2020-10-23 12:42:44 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
f94fd13228 Adjust types in ActiveRecordInterface::updateAll() phpdoc (#18341) 2020-10-19 22:49:13 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
7a50da5cf8 Fix #18287: Fix for OUTPUT INSERTED and computed columns. Added flag to computed values in table schema 2020-10-04 21:44:18 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
9abccb96d7 Merge pull request from GHSA-699q-wcff-g9mj
* Fix unsafe unserialize()

* Add changelog and comments on why unserialize() is disabled

* Add since tag
2020-09-15 00:15:51 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Wilmer Arambula
5558ee793b Fix #18040, fix #15265, fix #18232 database issues (#18225)
- Bug #18040: Display width specification for integer data types was deprecated in MySQL 8.0.19
- Bug #15265: PostgreSQL > 10.0 is not pass tests with default value of timestamp CURRENT_TIMESTAMP
- Bug #18232: Fail tests pgsql v-10.14, v-11.9, v-12-latest
2020-09-10 20:36:04 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
4b2af4d2a4 Bug #13973: Correct alterColumn for MSSQL & drop constraints before drop column
Fixing #11158 and #13973
2020-09-08 12:50:32 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Maxim Hodyrev
09dc9b70f8 Fix #18066: Fixed yii\db\Query::create() wasn't using all info from withQuery() 2020-09-07 15:45:57 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
705be8fb85 Fix #18229: Add a flag to set Connection to SyBase mode
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-08-18 20:48:24 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Mathias
f839a02414 Fix #18156: Fix yii\db\Schema::quoteSimpleTableName() was checking incorrect quote character 2020-08-07 11:59:51 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
7cc538c0a9 Fix #18203: PDO exception code was not properly passed to yii\db\Exception 2020-08-05 17:06:16 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
a624c31698 Fix #18198: Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table 2020-08-05 09:39:05 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
rhertogh
c1b033a15f Using ExpressionInterface instead of Expression in ActiveRecord::findbycondition() (#18188) 2020-07-20 17:54:28 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
dab7a6c317 Update phpdoc 2020-07-20 02:44:55 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
rhertogh
931f080aee Fix #18182: yii\db\Expression was not supported as condition in ActiveRecord::findOne() and ActiveRecord::findAll() 2020-07-20 00:21:41 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
f1aaa0de89 Fix #18171: Change case of column names in SQL query for findConstraints to fix MySQL 8 compatibility 2020-07-15 16:55:23 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
38f038175f Adjust changelog, correct phpdoc, minor code style fixes 2020-07-07 15:00:16 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Radosław Skrzypczak
c5b1574757 Fix #18147: Fixed parameters binding for MySQL when prepare emulation is off 2020-07-03 12:40:32 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
1faa45c552 Fix #18134: Expression as columnName should not be quoted in likeCondition 2020-07-03 12:27:31 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
7ca23a2413 Revert "Fix #18134: Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName"
This reverts commit e342162425.
2020-06-30 21:37:57 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
e342162425 Fix #18134: Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName 2020-06-30 17:59:23 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
d755004c41 Fix #18110: Add quotes to return value of viewName in MSSQL schema. It is [someView] now 2020-06-22 23:46:04 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
385fe13d66 Revert #18102 since renaming is technically problematic (#18109) 2020-06-17 13:40:17 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Brandon Kelly
eb956e9c6b primary/replica in a definitely non-breaking way (#18106) 2020-06-16 11:33:27 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
d317e41b21 Fix #18101: Fix behavior of OUTPUT INSERTED.* for SQL Server query: "insert default values"; correct MSSQL unit tests; turn off profiling echo message in migration test 2020-06-14 14:20:21 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Brandon Kelly
472600ee3f Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 2020-06-14 00:12:10 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Evgenii Goryaev
1b07c0d4fb Fix #18001: Fix getting table metadata for tables ( in their name 2020-06-10 12:22:10 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
5c01dc75ae Fix #13828, Fix #17474: Fix retrieving inserted data for a primary key for SQL Server 2005 or later
- Bug #13828: Fix retrieving inserted data for a primary key of type uniqueidentifier for SQL Server 2005 or later.
- Bug #17474: Fix retrieving inserted data for a primary key of type trigger for SQL Server 2005 or later.

The OUTPUT clause is new to SQL Server 2005 and has the ability to access the INSERTED and DELETED tables as is the case with a trigger.
2020-06-06 22:44:40 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
DarkDef
b9101ce893 Fix #18081: Fix for PDO_DBLIB/MSSQL. Set flag ANSI_NULL_DFLT_ON to ON for current connect to DB
* Fix for PDO_DBLIB (MSSQL). Set flag ANSI_NULL_DFLT_ON to ON for current connect to DB.
This flag modifies the behavior of the session to override default nullability of new columns.
By default, for some versions of dblib + freetds, this flag is off.
ANSI recommends default behavior - NULL for new fields without default setted null/not null
2020-06-05 20:29:08 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
60a39654dd release version 2.0.35 2020-05-02 14:11:31 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alex
37fc929285 Fix #18010: Allow upper or lower case operators in InCondition and LikeCondition 2020-05-02 13:28:06 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Kwok
89ded8c82a Fix #18000: PK value of Oracle ActiveRecord is missing after save 2020-05-02 02:17:27 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Maxim Chistyakov
cb67d07b85 Fix #17974: Fix ActiveRelationTrait compatibility with PHP 7.4 2020-04-19 23:25:02 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Sartor
a66fac3bb1 Fix #17758: Query::withQuery() can be used for CTE 2020-04-13 11:58:18 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
e9c27ca51b Merge branch 'master' into 17960-sqlite-unsigned-primary-key 2020-04-09 19:03:03 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Brandon Kelly
b500631d0a Document [alias=>table] syntax for join methods (#17967) 2020-04-09 16:14:29 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Bizley
0210a5cbb0 Removed UNSIGNED from primary keys mapping 2020-04-08 15:15:35 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Alex
55890453ab Fix #17942: Fix for DbCache loop in MySQL QueryBuilder 2020-04-02 16:41:11 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
f843317d97 Fix #17934: Fix regression in Oracle when binding several string parameters 2020-03-26 13:51:10 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
70f9ab858b release version 2.0.33 2020-03-24 23:03:06 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
438cc80fc7 Fix #17667: Fix CREATE INDEX failure on sqlite when specifying schema 2020-03-24 15:40:02 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alex
50b19dbfba Fix #17920: Fix for Command::getRawSql and Expression in params 2020-03-20 19:15:16 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Ivan Hermanov
b7d8730044 Fix #16092: Fix duplicate joins in usage of joinWith 2020-03-04 17:57:07 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
0660011f53 Fix passing cache parameter (#17907) 2020-03-04 15:04:28 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
b7723aebcf Fix bracket 2020-03-04 12:25:16 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
db9e2fa709 Add missing bracket 2020-03-04 11:59:04 +03:00 octicon-file-diff(16/) octicon-file-code(16/)