diff --git a/packages/registry/sqlite/patches/0006-analyze9-account-for-utf16-stat4-sample-bytes.patch b/packages/registry/sqlite/patches/0006-analyze9-account-for-utf16-stat4-sample-bytes.patch new file mode 100644 index 0000000000..126ab442d8 --- /dev/null +++ b/packages/registry/sqlite/patches/0006-analyze9-account-for-utf16-stat4-sample-bytes.patch @@ -0,0 +1,10 @@ +--- test/analyze9.test ++++ test/analyze9.test +@@ -813,2 +813,6 @@ do_test 16.1 { +- expr {$nByte2 > $nByte+900 && $nByte2 < $nByte+1100} ++ set minDelta 900 ++ set maxDelta 1100 ++ if {[permutation]=="utf16"} { set minDelta 1900; set maxDelta 2100 } ++ ++ expr {$nByte2 > $nByte+$minDelta && $nByte2 < $nByte+$maxDelta} + } {1}