Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: Boolean constants converted to ETRUE and EFALSE instead of TR…
…UE and FALSE. Error output of EdmGen: EdmGen for Microsoft (R) .NET Framework version 4.5 Copyright (C) Microsoft Corporation. All rights reserved. Loading database information... error 6003: Fehler beim Ausführen der Befehlsdefinition. Weitere Informationen finden Sie in der internen Ausnahme. FEHLER: 42703: Spalte »etrue« existiert nicht Generation Complete -- 1 errors, 0 warnings
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,6 +137,8 @@ internal override void WriteSql(StringBuilder sqlText) | |
sqlText.AppendFormat(ni, "cast({0} as float4)", _value); | ||
break; | ||
case PrimitiveTypeKind.Boolean: | ||
+ sqlText.AppendFormat(ni, "cast({0} as boolean)", ((bool)_value)?"TRUE":"FALSE"); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kenjiuno
Contributor
|
||
break; | ||
case PrimitiveTypeKind.Guid: | ||
case PrimitiveTypeKind.String: | ||
NpgsqlTypesHelper.TryGetNativeTypeInfo(GetDbType(_primitiveType), out typeInfo); | ||
|
@@ -1308,4 +1310,4 @@ internal override IEnumerable<ColumnExpression> GetProjectedColumns() | |
} | ||
} | ||
} | ||
#endif | ||
#endif |
Has this change made it into a NuGet package release? If so, I'm interested in the NuGet package version to replace our own patched version with a clean upstream version.