1400 Commits (9899-cache-bug)

Author SHA1 Message Date
XPOHOC dfef7f8365
Fix #18539: Fix "driver does not support quoting" when using the driver pdo_odbc 4 years ago
Bizley 14f1138441
Correct #18499 4 years ago
Insolita fbd932903c
Fix #18508: Fix Postgres SQL query for load table indexes with correct column order 4 years ago
Ondřej Vašíček d1037db68d
Fix #18499: When using `yii\db\Query::all()` and `yii\db\Query::$indexBy`, the `yii\db\Query::$indexBy` is auto inserted into `yii\db\Query::$select` - the same as in `yii\db\Query::column()` 4 years ago
stevekr 4ed14bb738
Update QueryTrait property types 4 years ago
Brandon Kelly 9c370a6ccf
Fix #8750: Fix MySQL support when running in `ANSI`/`ANSI_QUOTES` modes 4 years ago
Bert Brunekreeft 71030dc728
Fix #18480: Transactions are not committed using the dblib driver 4 years ago
Ikko Ashimine 19a2043412
Fix typo in Connection.php 4 years ago
Brandon Kelly 30e99a7a66
Fix #18457: Add `EVENT_RESET` and `EVENT_FINISH` events to `yii\db\BatchQueryResult` 4 years ago
Valerii Gorbachev 9883b78214
Fix #18448: Fix issues in queries and tests for older MSSQL versions 4 years ago
Valerii Gorbachev 0571e806b9
Fix #18447: Do not use `getLastInsertID` to get PK from insert query to lower collision probability for concurrent inserts 4 years ago
Valerii Gorbachev 82400fc33e
Fix #18365 : Move quoting of table names to upper level to function `getSchemaMetadata()` in MSSQL driver to get clean names from schema 4 years ago
Bizley b8f4958092
Fix #18442: Fix calls with array access to strings 4 years ago
Bizley 112effc631
Fix #18435: Fix ensuring Active Record relation links' keys to be strings 4 years ago
Bizley ff0fd9a9ea
Fix #16492: Fix eager loading Active Record relations when relation key is a subject to a type-casting behavior 4 years ago
Valerii Gorbachev 7c7c7148f6
Fix #18287: Fix the OUTPUT got SQL syntax error if the column name is MSSQL keyword e.g key 4 years ago
flight643 7c5fcf32b4
Add int return type queryScalar and scalar method docs 4 years ago
Brandon Kelly cafe8e315c
Fix #18406: Fix PDO exception when committing or rolling back an autocommitted transaction in PHP 8 4 years ago
hooman-mirghasemi b647c87e98
Fix #18393: Fix ` framework/db/ActiveRecord.php ` to load data from db id cache is enabled 4 years ago
Alexander Makarov ccb14ff667
release version 2.0.39 4 years ago
stevekr bdc29982fa
Fix @method signatures in ActiveRelationTrait (#18369) 4 years ago
Alexander Makarov ed1c087784
Fix #18317: Additional PHP 8 compatibility fixes 4 years ago
DarkDef f94fd13228
Adjust types in ActiveRecordInterface::updateAll() phpdoc (#18341) 4 years ago
DarkDef 7a50da5cf8
Fix #18287: Fix for OUTPUT INSERTED and computed columns. Added flag to computed values in table schema 4 years ago
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