Fix issue where using DateTime.UtcNow
and DateTime.Now
will lose precision when used inside of a query
#288
Annotations
10 errors
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L54
Assert.Equal() Failure: Strings differ
↓ (pos 100)
Expected: ···"`o`.`OrderDate`, CURRENT_TIMESTAMP()) = 0"
Actual: ···"o`.`OrderDate`, CURRENT_TIMESTAMP(6)) = 0"
↑ (pos 100)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L71
Assert.Equal() Failure: Strings differ
↓ (pos 101)
Expected: ···"`o`.`OrderDate`, CURRENT_TIMESTAMP()) = 0"
Actual: ···"o`.`OrderDate`, CURRENT_TIMESTAMP(6)) = 0"
↑ (pos 101)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L139
Assert.Equal() Failure: Strings differ
↓ (pos 102)
Expected: ···"`o`.`OrderDate`, CURRENT_TIMESTAMP()) = 0"
Actual: ···"o`.`OrderDate`, CURRENT_TIMESTAMP(6)) = 0"
↑ (pos 102)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L20
Assert.Equal() Failure: Strings differ
↓ (pos 100)
Expected: ···"`o`.`OrderDate`, CURRENT_TIMESTAMP()) = 0"
Actual: ···"o`.`OrderDate`, CURRENT_TIMESTAMP(6)) = 0"
↑ (pos 100)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L88
Assert.Equal() Failure: Strings differ
↓ (pos 99)
Expected: ···"`o`.`OrderDate`, CURRENT_TIMESTAMP()) = 0"
Actual: ···"o`.`OrderDate`, CURRENT_TIMESTAMP(6)) = 0"
↑ (pos 99)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L190
Assert.Equal() Failure: Strings differ
↓ (pos 91)
Expected: ···", CURRENT_TIMESTAMP(), DATE_ADD(CURRENT_T"···
Actual: ···", CURRENT_TIMESTAMP(6), DATE_ADD(CURRENT_"···
↑ (pos 91)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L156
Assert.Equal() Failure: Strings differ
↓ (pos 91)
Expected: ···", CURRENT_TIMESTAMP(), DATE_ADD(CURRENT_T"···
Actual: ···", CURRENT_TIMESTAMP(6), DATE_ADD(CURRENT_"···
↑ (pos 91)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/NorthwindDbFunctionsQueryMySqlTest.MySql.cs#L207
Assert.Equal() Failure: Strings differ
↓ (pos 91)
Expected: ···", CURRENT_TIMESTAMP(), DATE_ADD(CURRENT_T"···
Actual: ···", CURRENT_TIMESTAMP(6), DATE_ADD(CURRENT_"···
↑ (pos 91)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/TPCGearsOfWarQueryMySqlTest.cs#L3856
Assert.Equal() Failure: Strings differ
↓ (pos 183)
Expected: ···"\r\nWHERE `m`.`Timeline` <> UTC_TIMESTAMP()"
Actual: ···"\nWHERE `m`.`Timeline` <> UTC_TIMESTAMP(6)"
↑ (pos 183)
|
Functional Tests:
test/EFCore.MySql.FunctionalTests/Query/TPCGearsOfWarQueryMySqlTest.cs#L3856
Assert.Equal() Failure: Strings differ
↓ (pos 183)
Expected: ···"\r\nWHERE `m`.`Timeline` <> UTC_TIMESTAMP()"
Actual: ···"\nWHERE `m`.`Timeline` <> UTC_TIMESTAMP(6)"
↑ (pos 183)
|
Loading