Commit 2845321
committed
replicators: Don't attempt to pad nulls in CHAR columns
CHAR columns are fixed-width, if the value is shorter than the column
width, it should be padded with spaces. If the value column is NULL,
it should not attempt to pad.
Fixes: REA-4476
Change-Id: Ieafd250603295f07096fcf070da5bc85034bfef2
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/7633
Tested-by: Buildkite CI
Reviewed-by: Jason Brown <[email protected]>1 parent 3fe7927 commit 2845321
2 files changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| 778 | + | |
778 | 779 | | |
779 | 780 | | |
780 | 781 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
| 813 | + | |
| 814 | + | |
814 | 815 | | |
815 | 816 | | |
816 | 817 | | |
| |||
840 | 841 | | |
841 | 842 | | |
842 | 843 | | |
| 844 | + | |
843 | 845 | | |
844 | 846 | | |
845 | 847 | | |
| |||
848 | 850 | | |
849 | 851 | | |
850 | 852 | | |
851 | | - | |
852 | | - | |
853 | | - | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
854 | 857 | | |
855 | 858 | | |
856 | 859 | | |
| |||
875 | 878 | | |
876 | 879 | | |
877 | 880 | | |
| 881 | + | |
878 | 882 | | |
879 | | - | |
| 883 | + | |
880 | 884 | | |
881 | 885 | | |
882 | 886 | | |
883 | 887 | | |
884 | 888 | | |
885 | 889 | | |
886 | 890 | | |
887 | | - | |
| 891 | + | |
888 | 892 | | |
889 | 893 | | |
890 | 894 | | |
891 | | - | |
| 895 | + | |
892 | 896 | | |
893 | 897 | | |
| 898 | + | |
894 | 899 | | |
895 | 900 | | |
896 | 901 | | |
| |||
0 commit comments