ad2ce6ad4f
Fix event namespace in yii\db\Connection phpdoc ( #18608 )
2021-04-20 09:53:48 +03:00
10bb71a822
Fix #17203 : Fix yii\db\Connection to persist customized queryBuilder configuration after the close() → open() cycle
2021-04-01 01:10:16 +03:00
4479c66522
Fixed phpdoc types
2021-03-12 23:41:48 +03:00
4e2045c040
release version 2.0.41
2021-03-04 00:51:35 +03:00
71030dc728
Fix #18480 : Transactions are not committed using the dblib driver
2021-01-13 16:51:36 +03:00
19a2043412
Fix typo in Connection.php
...
avaiable -> available
2021-01-12 20:51:55 +03:00
ccb14ff667
release version 2.0.39
2020-11-10 13:58:35 +03:00
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
7ca23a2413
Revert "Fix #18134 : Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName"
...
This reverts commit e342162425d3e63b3ae3affef82220f6b64e01f9.
2020-06-30 21:37:57 +03:00
e342162425
Fix #18134 : Instance of ExpressionInterface will not be quoted in Connection:quoteColumnName
2020-06-30 17:59:23 +03:00
385fe13d66
Revert #18102 since renaming is technically problematic ( #18109 )
2020-06-17 13:40:17 +03:00
eb956e9c6b
primary/replica in a definitely non-breaking way ( #18106 )
2020-06-16 11:33:27 +03:00
472600ee3f
Fix #18102 : Use “primary”/“replica” terminology instead of “master”/“slave”
2020-06-14 00:12:10 +03:00
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
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
7a5e51e9be
Fix #17935 : Reset DB quoted table/column name caches when the connection is closed
2020-03-26 14:04:52 +03:00
1b5dacb051
Fix #17909 : Reset DB schema, transaction, and driver name when the connection is closed
2020-03-13 00:15:57 +03:00
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
37d62c2509
Fix #16671 : Logging in Connection::open() was not respecting Connection::$enableLogging
2019-09-17 17:51:50 +03:00
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
2019-06-18 14:25:13 +03:00
b638cc4a4e
Fixes #17348 : Improved performance of yii\db\Connection::quoteTableName()
2019-06-08 21:48:35 +02:00
60702e663e
Fixes #17345 : Improved performance of yii\db\Connection::quoteColumnName()
2019-06-07 11:29:24 +02:00
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?
2019-02-28 13:09:27 +03:00
282152e984
Update Connection.php
...
fix event phpdoc types
2018-05-14 12:13:26 +02:00
4bfe5e7a49
release version 2.0.14.2
2018-03-13 16:15:01 +02:00
5e16c67673
Merge pull request #15797 from kalessil/master
...
[minor] Static code analysis
2018-03-10 15:42:48 +02:00
4391ca7f7b
Connection::getTransaction() adjust phpdoc to also return null ( #15848 ) [skip ci]
2018-03-07 23:45:50 +03:00
b642c36019
Merge branch 'antonmarin-patch-1'
2018-03-03 21:17:42 +02:00
8bb31fb9e5
Updated docs, added tests
2018-03-03 21:17:31 +02:00
bd38e384f6
Fix for yii\db\Connection events documentation [skip ci]
...
Fixes #15799
2018-02-28 00:16:29 +03:00
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
2018-02-27 19:13:22 +01:00
47b2197d0a
Update Connection.php
...
How to disable load balancing
2018-02-26 18:46:15 +03:00
22832b7c49
release version 2.0.14
2018-02-19 00:27:09 +02:00
488f98648a
added missing @since annotations
2018-02-18 00:44:10 +01:00
e493843b1c
improve @deprecated annotations
2018-02-16 11:19:00 +01:00
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
de1750228d
Fixes #13879 : Added upsert support for yii\db\QueryBuilder and yii\db\Command
2018-02-09 01:05:50 +03:00
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
2018-02-05 04:59:14 +07:00
315855f7f5
Fixes #15357 : Added multi statement support for yii\db\sqlite\Command
2017-12-20 00:02:14 +03:00
980cfde0f1
Fixes #14877 : Disabled profiling on connection opening when profiling is disabled
2017-10-20 01:28:05 +03:00
9e6f9e3b6d
Fixed serialization of yii\db\Connection instance closes database connection
2017-09-01 13:30:56 +03:00
5a8c3d537b
Enable phpdoc_summary rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
2017-08-21 11:19:35 +02:00
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
2fa4ccc1da
Fix phpdoc for $_master and $_slave properties in yii\db\Connection ( #14447 )
2017-07-13 12:24:14 +02:00
f5e8a89319
Fix slave usage disabled after Connection::close, set _slave to false instead of nulll
...
fixes #14165
close #14168
2017-07-12 15:03:48 +02:00
fe8a0a6a2e
Enable no_useless_else rule in php-cs-fixer ( #14420 )
2017-07-10 11:26:21 +03:00
cb53b2feec
Fixes #14081 : Added yii\caching\CacheInterface to make custom cache extensions adoption easier
2017-06-11 19:18:33 +03:00
be658f82bf
release version 2.0.12
2017-06-05 16:33:41 +02:00
4b9e48b8dc
improved docs: link term "path alias" to the guide
2017-06-02 10:45:20 +02:00
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
2017-06-01 11:43:49 +02:00