Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 111b256

Browse files
committed
Change default LIKE comparisons to not normalize with UPPER() so indexes are not invalidated
1 parent 8b31001 commit 111b256

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ServiceStack.OrmLite/OrmLiteConfig.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@ public static IDbConnection ToDbConnection(this string dbConnectionStringOrFileP
148148
}
149149

150150
public static bool DisableColumnGuessFallback { get; set; }
151-
public static bool StripUpperInLike { get; set; }
151+
public static bool StripUpperInLike { get; set; }
152+
#if NETSTANDARD1_3
153+
= true;
154+
#endif
152155

153156
public static IOrmLiteResultsFilter ResultsFilter
154157
{

0 commit comments

Comments
 (0)