Commit 21744a6
committed
BooleanExpressionConverter: use Value = 1 instead of Value <> 0
Value <> 0 does not utilize index over Value, but Value = 1 does
This change would require rebuilding filtered indices that boolean columns in filter expression.1 parent 9341c53 commit 21744a6
File tree
1 file changed
+3
-3
lines changed- Orm/Xtensive.Orm/Orm/Providers/Expressions
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments