Commit f8c8a8b
committed
Revert "Change mbbisearch to return the character range"
This reverts commit 78ab944.
After I had committed eb0d0d2 and 78ab944, I decided to add
a sanity check for a "can't happen" scenario just to be cautious.
It turned out that it already happened in the official Unicode source
data, namely that a character can be both wide and a combining
character. This fact renders the aforementioned commits unnecessary,
so revert both of them.
Discussion:
https://www.postgresql.org/message-id/CAFBsxsH5ejH4-1xaTLpSK8vWoK1m6fA1JBtTM6jmBsLfmDki1g%40mail.gmail.com1 parent 0d906b2 commit f8c8a8b
File tree
3 files changed
+203
-208
lines changed- src
- common
- unicode
- include/common
3 files changed
+203
-208
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | 588 | | |
590 | 589 | | |
591 | 590 | | |
592 | | - | |
| 591 | + | |
593 | 592 | | |
594 | 593 | | |
595 | 594 | | |
596 | 595 | | |
597 | 596 | | |
598 | 597 | | |
599 | | - | |
| 598 | + | |
600 | 599 | | |
601 | 600 | | |
602 | 601 | | |
| |||
605 | 604 | | |
606 | 605 | | |
607 | 606 | | |
608 | | - | |
| 607 | + | |
609 | 608 | | |
610 | 609 | | |
611 | | - | |
| 610 | + | |
612 | 611 | | |
613 | 612 | | |
614 | 613 | | |
| |||
647 | 646 | | |
648 | 647 | | |
649 | 648 | | |
650 | | - | |
651 | | - | |
652 | 649 | | |
653 | 650 | | |
654 | 651 | | |
655 | 652 | | |
656 | 653 | | |
657 | 654 | | |
658 | 655 | | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
665 | 660 | | |
666 | 661 | | |
667 | 662 | | |
| |||
0 commit comments