DarkDef
705be8fb85
Fix #18229 : Add a flag to set Connection to SyBase mode
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
4 years ago
Alexander Makarov
7ca23a2413
Revert "Fix #18134 : Instance of `ExpressionInterface` will not be quoted in `Connection:quoteColumnName`"
...
This reverts commit e342162425
.
4 years ago
DarkDef
e342162425
Fix #18134 : Instance of `ExpressionInterface` will not be quoted in `Connection:quoteColumnName`
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
Brandon Kelly
472600ee3f
Fix #18102 : Use “primary”/“replica” terminology instead of “master”/“slave”
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
...
* 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
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
Brandon Kelly
7a5e51e9be
Fix #17935 : Reset DB quoted table/column name caches when the connection is closed
5 years ago
Brandon Kelly
1b5dacb051
Fix #17909 : Reset DB schema, transaction, and driver name when the connection is closed
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
Alexander Makarov
37d62c2509
Fix #16671 : Logging in `Connection::open()` was not respecting `Connection::$enableLogging`
5 years ago
Sidney Lins
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
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
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
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Carsten Brandt
282152e984
Update Connection.php
...
fix event phpdoc types
6 years ago
SilverFire - Dmitry Naumenko
4bfe5e7a49
release version 2.0.14.2
7 years ago
Filippo Tessarotto
4391ca7f7b
Connection::getTransaction() adjust phpdoc to also return null ( #15848 ) [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
8bb31fb9e5
Updated docs, added tests
7 years ago
Zhukov Roman
bd38e384f6
Fix for yii\db\Connection events documentation [skip ci]
...
Fixes #15799
7 years ago
Vladimir Reznichenko
f10cb6aeee
SCA with Php Inspections (EA Ultimate)
7 years ago
Anton Marin
47b2197d0a
Update Connection.php
...
How to disable load balancing
7 years ago
SilverFire - Dmitry Naumenko
22832b7c49
release version 2.0.14
7 years ago
Carsten Brandt
488f98648a
added missing `@since` annotations
7 years ago
Carsten Brandt
e493843b1c
improve `@deprecated` annotations
7 years ago
Brandon Kelly
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()`
7 years ago
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command`
7 years ago
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
7 years ago
Sergey Makinen
315855f7f5
Fixes #15357 : Added multi statement support for `yii\db\sqlite\Command`
7 years ago
Nelson J Morais
980cfde0f1
Fixes #14877 : Disabled profiling on connection opening when profiling is disabled
7 years ago
Klimov Paul
9e6f9e3b6d
Fixed serialization of `yii\db\Connection` instance closes database connection
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Robert Korulczyk
2fa4ccc1da
Fix phpdoc for $_master and $_slave properties in yii\db\Connection ( #14447 )
7 years ago
qihuajun
f5e8a89319
Fix slave usage disabled after Connection::close, set _slave to false instead of nulll
...
fixes #14165
close #14168
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
SilverFire - Dmitry Naumenko
cb53b2feec
Fixes #14081 : Added `yii\caching\CacheInterface` to make custom cache extensions adoption easier
7 years ago
Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
7 years ago
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
7 years ago
Skiptir Engu
e62ea0136c
Fixed phpdoc broken links to PHP manual pages [skip ci]
8 years ago
Carsten Brandt
7d4b33a805
changed method visibility
...
this should not belong to exposed interface as it is only used
internally by transaction() method.
additional change to #13346
8 years ago
Vladimir
55dd16f1f7
Fixes #12715 : Exception `SAVEPOINT LEVEL1 does not exist` instead of deadlock exception
8 years ago
Dmitry Naumenko
e295b28333
Added TODO comment
8 years ago
Vovan-VE
b68417b1ad
Fix: catch Throwable too
8 years ago