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
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
Alexander Kartavenko
cdd40b8dfb
Fix #17504 : Fix upsert when $updateColumns = true but there are no columns to update in the table
2019-08-21 11:56:20 +03:00
Sidney Lins
9988efc04f
Fix #16796 : Fixed addition and removal of table and column comments in MSSQL
2019-07-23 18:50:57 +03:00
Alexander Kartavenko
6fc04a622e
Fix #17219 : Fixed quoting of table names with spaces in MSSQL
2019-07-19 13:48:57 +03:00
Alexander Kartavenko
259c496e2e
Fix #10020 : Fixed quoting of column names with dots in MSSQL
2019-07-17 16:46:31 +03:00
Alexander Kartavenko
a9097dbac3
Fix #17435 : Fixed i18n_init migration for MSSQL
2019-07-15 23:05:26 +03:00
Alexander Kartavenko
25cf331839
Closes #10023 . Fix MSSQL "There are no more rows" exception when using each() and batch()
2019-07-15 13:54:33 +03:00
Alexander Kartavenko
136705c92b
MSSQL: fix tests ( #17431 )
2019-07-13 02:27:47 +03:00
Alexander Kartavenko
d98f4e69b5
Fix MSSQL tests ( #17426 )
2019-07-11 19:39:46 +03:00
Alexander Kartavenko
869f475dc1
Fix #17413 , fix #17418 : Fixed MSSQL tests
2019-07-10 17:30:41 +03:00
Alexander Kartavenko
9f2a87363e
Fixes #17420 : Fixed loading of column default values for MSSQL
2019-07-10 17:29:11 +03:00
Alexander Kartavenko
55b06d2364
Fix #17413 : Fixed MSSQL tests: QueryBuilderTest::testGetColumnType(), QueryBuilderTest::testResetSequence()
2019-07-09 11:47:55 +03:00
Alexander Kartavenko
56f639358c
Add MSSQL tests ( #17410 )
2019-07-04 15:51:01 +03:00
Alexander Kartavenko
eb65dba796
Fixes #17057 : Fixed issues with table names that contain special characters or keywords in MSSQL
2019-07-02 14:41:56 +03:00
Sidney Lins
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
2019-06-18 14:25:13 +03:00
Sergey Makinen
ac687aab29
Fixed yii\db\Command::upsert() for Cubrid/MSSQL/Oracle
2018-02-24 19:59:12 +03:00
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for yii\db\QueryBuilder and yii\db\Command
2018-02-09 01:05:50 +03:00
Sergey Makinen
4e176ca325
Fixes #15108 : Fixed yii\db\Schema::getSchemaNames() for MSSQL and added tests for all DBMSes
2017-11-07 19:20:14 +03:00
Dmitry Naumenko
7e7faeebd1
Fixed excess escaping in Command::batchInsert() ( #13236 )
2017-10-23 22:43:39 +03:00
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".
2017-08-21 11:19:35 +02:00
Sergey Makinen
452974cab3
Mark not supported constraint retrieving methods
2017-06-28 21:40:52 +03:00
Sergey Makinen
3de6f8e397
Rename DefaultConstraint to DefaultValueConstraint
2017-06-21 12:19:16 +03:00
Sergey Makinen
f820d2ca36
Merge branch 'master' into db-constraints
2017-06-16 16:52:43 +03:00
Robert Korulczyk
ba0ab403b5
Added php-cs-fixer coding standards validation to Travis CI ( #14100 )
...
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
2017-06-12 12:25:45 +03:00
Sergey Makinen
52f8539135
Add Command tests
2017-05-15 20:55:26 +03:00
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
2017-05-15 20:55:25 +03:00
SilverFire - Dmitry Naumenko
2d0e3fb9ef
Fixed Oracle SQL queries with IN condition and more than 1000 parameters
2017-05-01 15:59:37 +03:00
Sergey Makinen
a9fb0171f7
Fixes #13745 : SQLSTATE[HY093]: Invalid parameter number: parameter was not defined in MSSQL and bug fixes in yii\db\QueryBuilder::buildLikeCondition()
2017-03-11 22:36:01 +03:00
Sergey Makinen
9a915ba10c
Fixes #8120 : Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in yii\db\QueryBuilder
2017-02-24 01:24:06 +03:00
Bob Olde Hampsink
56c65f6079
Fixes #13577 : Implemented yii\db\mssql\QueryBuilder::resetSequence()
2017-02-20 14:54:33 +03:00
SilverFire - Dmitry Naumenko
df733d1bbe
Fixed QueryBuilderTest
2016-12-17 22:08:13 +02:00
SilverFire - Dmitry Naumenko
2f8225a244
Fixed QueryBuilderTest to work with PgSQL and other DBMS
2016-12-17 21:58:22 +02:00
Alexander Makarov
41b3f0db0b
Fixed driver name in MSSQL test
2016-11-22 23:34:35 +03:00
Carsten Brandt
24809c5d73
fixed group annotations for #12889
2016-11-10 23:46:05 +01:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
560e3eb0a3
Unit tests created for ActiveQuery ( #12889 )
...
* setup ActiveQueryTest
* basic unit tests for ActiveQuery are created:
- all protected & public methods are covered
- method return types are tested
- some functions are already full tested, others are supplied with @todo
* fix driver for mssql
* fix ::class to className()
* remove OCI tests
2016-11-01 20:48:58 +01:00
Alexander Makarov
01c4dde202
Added tests for column schema builder comment() method
2016-08-05 02:22:46 +03:00
Carsten Brandt
86f17c8dad
added tests classes for db related tests
2016-06-20 23:07:07 +02:00
Carsten Brandt
8ba032d147
refactored database tests
...
- changed test class naming for easier copying and searching of classes
- made base tests abstract and made MySQL an equal citisen in the test
hierarchie
- added missing db specific test classes
2016-06-20 19:26:43 +02:00
Carsten Brandt
8d8cd1a26d
adjusted dbms specific tests
2016-04-22 12:56:56 +02:00
SilverFire - Dmitry Naumenko
c9dfc90be0
Merge branch 'methods_for_schema_builder' of https://github.com/vaseninm/yii2 into vaseninm-methods_for_schema_builder
2016-04-19 12:21:33 +03:00
Chris Harris
91018f6c38
Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys.
2016-02-26 12:44:20 -08:00
Chris Harris
732a51b551
All common column definitions and expected outputs now in QueryBuilderTest::columnTypes(). DbmsSpecificQueryBuilderTest::columnTypes() adds DBMS specific column definitions.
2016-02-26 03:53:05 -08:00
Chris Harris
db5399b124
Added $expectedColumnSchemaBuilder back to test data
2016-02-22 05:28:54 -08:00
Chris Harris
3761682edf
Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB.
2016-02-22 04:53:14 -08:00
Chris Harris
81ff4752d9
Added CHECK modifier to PK schema pattern. Modified UNSIGNED tests to not include modifier by default (i.e. only present when testing DBMSes that support it).
2016-02-22 04:06:17 -08:00
Alexander Makarov
12761bf677
MSSQL does not support explicit value for an IDENTITY column #9773
2016-01-31 01:21:00 +03:00
Alexander Makarov
e6f1179b62
Fixed MSSQL expected test result: we're adding ORDER BY (SELECT NULL) to limit and order queries and query params are empty array by default
2016-01-31 01:14:46 +03:00
Alexander Makarov
c36e679519
MSSQL doesn't have SUBSTR and isn't able to use expressions in ORDER BY and GROUP BY
2016-01-31 01:01:40 +03:00