- 14 Dec, 2014 2 commits
-
-
Fixed a few misspelled words
Jan Aagaard Meier committed -
Brian Lundin committed
-
- 12 Dec, 2014 2 commits
-
-
Fixing "error: syntax error at or near ")"" when using upsert with postgres dialect
Jan Aagaard Meier committed -
When trying to insert values containing the character `)`, the RegEx is not modifying the string properly, throwing this error message: `error: syntax error at or near ")"`. Here's an example: Initial value: `VALUES ( \'Current Generator(s)\',\'CurrentGenerators__c\',NULL,NULL,\'Lead\',\'2014-12-10 22:31:24.076 +00:00\',\'2014-12-10 22:31:24.076 +00:00\');` Current result: `SELECT \'Current Generator(s\',\'CurrentGenerators__c\',NULL,NULL,\'Lead\',\'2014-12-10 22:31:24.076 +00:00\',\'2014-12-10 22:31:24.076 +00:00\');` Expected result: `SELECT \'Current Generator(s)\',\'CurrentGenerators__c\',NULL,NULL,\'Lead\',\'2014-12-10 22:31:24.076 +00:00\',\'2014-12-10 22:31:24.076 +00:00\';` This commit is removing the `replace()` method called. After reading the blog post referred, there's no explanation of why this need to be replaced - and it is working fine without it.
Jean-Philippe Monette committed
-
- 11 Dec, 2014 2 commits
-
-
Sascha Depold committed
-
Sascha Depold committed
-
- 10 Dec, 2014 34 commits
-
-
Feature/mssql dialect
Mick Hansen committed -
findAndCountAll empty include error fixed.
Mick Hansen committed -
Malte Legenhausen committed
-
Matt Broadstone committed
-
Matt Broadstone committed
-
Matt Broadstone committed
-
-
There have been many many little changes to the codebase during the development of the mssql dialect that are no longer needed, as well as missed imports of changes upstream. This realigns the disperate trees, and fixes a few related bugs
Matt Broadstone committed -
There was some refactoring on attributes test where mssql dialect branching was missed. Also added databaseVersion support for mssql dialect
Matt Broadstone committed -
temporarily disable on update foreign key constraints, mssql dialect now passes all current test cases
Matt Broadstone committed -
Matt Broadstone committed
-
Major overhaul of the createTableQuery to bring it closer in line with the mysql dialect. This closes a number of failed cases where things were being created in a strange manner, as well as let's us do away with SqlGenerator once and for all
Matt Broadstone committed -
These tests must be disabled since MSSQL simply doesn't allow the updating of these types of fields. Cascading updates are supported and should be covered by other tests.
Matt Broadstone committed -
Matt Broadstone committed
-
Matt Broadstone committed
-
Instead of trying to parse the error messages in the connection manager, forward all errors to the user to deal with on an as-needed basis
Matt Broadstone committed -
There are more than one error messages related to unique constraints that we need to catch. This closes one more broken test, in ancitipation of the crate table refactoring which closes the other.
Matt Broadstone committed -
There is no need to use the mssql wrapped around tedious, and switching to the lower level module allows better integration as well as bypassing the mssql forced connection pooling
Matt Broadstone committed -
Matt Broadstone committed
-
Code was merged into master to allow modification of the abstract dialect to support mssql specific cases. This removes the custom implementations
Matt Broadstone committed -
Matt Broadstone committed
-
This is more of a stylistic change, as no functional behavior differs, however it makes diagnostics much easier and is theoretically faster than the previous select code.
Matt Broadstone committed -
Matt Broadstone committed
-
MSSQL doesn't support RESTRICT foreign key constraints at all, so there's no use running any of those tests
Matt Broadstone committed -
This is completely broken anyway, these tests are being used to conditionally report back false positives for transaction support.
Matt Broadstone committed -
- modify the returned sql for isolation level - remove some commented out code - cheat a little by reordering tests (look into this)
Matt Broadstone committed -
- major deletion of code duplication - cleaned up code (removed duplicate documentation) - moved a lot of SqlGenerator sql back into QueryGenerator
Matt Broadstone committed -
Matt Broadstone committed
-
Matt Broadstone committed
-
- missed a case for addLimitAndOffset for subqueries with a single model - formatResults should return undefined if there is no data - there are a few possible error messages in an invalid connection scenario
Matt Broadstone committed -
- bring addIndexQuery in line with abstract dialect - use an improved method for showing indices with sp_helpindex - actually use handleShowIndexQuery (bringing us closer to the abstract dialect for formatResults) - temporarily disable tests for a FULLTEXT index
Matt Broadstone committed -
Matt Broadstone committed
-
Matt Broadstone committed
-
Matt Broadstone committed
-