1376 Commits (88e79d3f8eb0121542d8174762cc9a1dca35313d)

Author SHA1 Message Date
Alexander Makarov 9abccb96d7
Merge pull request from GHSA-699q-wcff-g9mj 4 years ago
Wilmer Arambula 5558ee793b
Fix #18040, fix #15265, fix #18232 database issues (#18225) 4 years ago
DarkDef 4b2af4d2a4
Bug #13973: Correct alterColumn for MSSQL & drop constraints before drop column 4 years ago
Maxim Hodyrev 09dc9b70f8
Fix #18066: Fixed `yii\db\Query::create()` wasn't using all info from `withQuery()` 4 years ago
DarkDef 705be8fb85
Fix #18229: Add a flag to set Connection to SyBase mode 4 years ago
Mathias f839a02414
Fix #18156: Fix `yii\db\Schema::quoteSimpleTableName()` was checking incorrect quote character 4 years ago
Alexander Makarov 7cc538c0a9
Fix #18203: PDO exception code was not properly passed to `yii\db\Exception` 4 years ago
DarkDef a624c31698
Fix #18198: Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table 4 years ago
rhertogh c1b033a15f
Using ExpressionInterface instead of Expression in ActiveRecord::findbycondition() (#18188) 4 years ago
Alexander Makarov dab7a6c317
Update phpdoc 4 years ago
rhertogh 931f080aee
Fix #18182: `yii\db\Expression` was not supported as condition in `ActiveRecord::findOne()` and `ActiveRecord::findAll()` 4 years ago
DarkDef f1aaa0de89
Fix #18171: Change case of column names in SQL query for `findConstraints` to fix MySQL 8 compatibility 4 years ago
Alexander Makarov 38f038175f
Adjust changelog, correct phpdoc, minor code style fixes 4 years ago
Radosław Skrzypczak c5b1574757
Fix #18147: Fixed parameters binding for MySQL when prepare emulation is off 4 years ago
DarkDef 1faa45c552
Fix #18134: Expression as columnName should not be quoted in likeCondition 4 years ago
Alexander Makarov 7ca23a2413
Revert "Fix #18134: Instance of `ExpressionInterface` will not be quoted in `Connection:quoteColumnName`" 4 years ago
DarkDef e342162425
Fix #18134: Instance of `ExpressionInterface` will not be quoted in `Connection:quoteColumnName` 4 years ago
DarkDef d755004c41
Fix #18110: Add quotes to return value of viewName in MSSQL schema. It is `[someView]` now 4 years ago
Alexander Makarov 385fe13d66
Revert #18102 since renaming is technically problematic (#18109) 4 years ago
Brandon Kelly eb956e9c6b
primary/replica in a definitely non-breaking way (#18106) 4 years ago
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 4 years ago
Brandon Kelly 472600ee3f
Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 4 years ago
Evgenii Goryaev 1b07c0d4fb
Fix #18001: Fix getting table metadata for tables `(` in their name 4 years ago
DarkDef 5c01dc75ae
Fix #13828, Fix #17474: Fix retrieving inserted data for a primary key for SQL Server 2005 or later 4 years ago
DarkDef b9101ce893
Fix #18081: Fix for PDO_DBLIB/MSSQL. Set flag ANSI_NULL_DFLT_ON to ON for current connect to DB 4 years ago
Alexander Makarov 60a39654dd
release version 2.0.35 4 years ago
Alex 37fc929285
Fix #18010: Allow upper or lower case operators in `InCondition` and `LikeCondition` 4 years ago
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 4 years ago
Kwok 89ded8c82a
Fix #18000: PK value of Oracle ActiveRecord is missing after save 4 years ago
Maxim Chistyakov cb67d07b85
Fix #17974: Fix ActiveRelationTrait compatibility with PHP 7.4 4 years ago
Sartor a66fac3bb1
Fix #17758: `Query::withQuery()` can be used for CTE 5 years ago
Brandon Kelly b500631d0a
Document [alias=>table] syntax for join methods (#17967) 5 years ago
Bizley 0210a5cbb0 Removed UNSIGNED from primary keys mapping 5 years ago
Alex 55890453ab
Fix #17942: Fix for `DbCache` loop in MySQL `QueryBuilder` 5 years ago
Brandon Kelly 7a5e51e9be
Fix #17935: Reset DB quoted table/column name caches when the connection is closed 5 years ago
Alexander Makarov f843317d97
Fix #17934: Fix regression in Oracle when binding several string parameters 5 years ago
Alexander Makarov 70f9ab858b
release version 2.0.33 5 years ago
Alexander Makarov 438cc80fc7
Fix #17667: Fix `CREATE INDEX` failure on sqlite when specifying schema 5 years ago
Alex 50b19dbfba
Fix #17920: Fix for `Command::getRawSql` and `Expression` in params 5 years ago
Brandon Kelly 1b5dacb051
Fix #17909: Reset DB schema, transaction, and driver name when the connection is closed 5 years ago
Ivan Hermanov b7d8730044
Fix #16092: Fix duplicate joins in usage of `joinWith` 5 years ago
Alexander Makarov 0660011f53
Fix passing cache parameter (#17907) 5 years ago
Alexander Makarov b7723aebcf
Fix bracket 5 years ago
Alexander Makarov db9e2fa709
Add missing bracket 5 years ago
Alexander Makarov fbdf464510
Backwards compatibility and formatting fix for #17897 5 years ago
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 5 years ago
Ather Shu 483c367704 feat: rawsql is only used for log, if profile it will be setted 5 years ago
Ather Shu 358e3518b3 feat: fix unittest 5 years ago
Ather Shu 990c4be454 feat: fix codeclimate error 5 years ago
Ather Shu 2051c05087 feat: update code after review 5 years ago