Repository navigation
Commit f563d54
committed
Read binary defaults only in their stored hex form
The migration converts the forms that older versions stored, so the
driver no longer decodes them on every read. Until the migration runs,
such as on a build before the next version bump, an old default is
handled as before this PR, so inserts fail rather than store the wrong
bytes.1 parent 936a4c4 commit f563d54
3 files changed
Lines changed: 33 additions & 14 deletions
File tree
- packages/mysql-on-sqlite
- src/sqlite
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7906 | 7906 | | |
7907 | 7907 | | |
7908 | 7908 | | |
7909 | | - | |
7910 | | - | |
| 7909 | + | |
| 7910 | + | |
7911 | 7911 | | |
7912 | 7912 | | |
7913 | 7913 | | |
| |||
7926 | 7926 | | |
7927 | 7927 | | |
7928 | 7928 | | |
7929 | | - | |
| 7929 | + | |
7930 | 7930 | | |
7931 | | - | |
7932 | | - | |
| 7931 | + | |
| 7932 | + | |
7933 | 7933 | | |
7934 | 7934 | | |
7935 | | - | |
| 7935 | + | |
7936 | 7936 | | |
7937 | 7937 | | |
7938 | 7938 | | |
7939 | 7939 | | |
7940 | 7940 | | |
| 7941 | + | |
| 7942 | + | |
| 7943 | + | |
| 7944 | + | |
| 7945 | + | |
| 7946 | + | |
| 7947 | + | |
| 7948 | + | |
| 7949 | + | |
| 7950 | + | |
| 7951 | + | |
| 7952 | + | |
| 7953 | + | |
| 7954 | + | |
| 7955 | + | |
| 7956 | + | |
| 7957 | + | |
| 7958 | + | |
| 7959 | + | |
| 7960 | + | |
7941 | 7961 | | |
7942 | 7962 | | |
7943 | 7963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
879 | 879 | | |
880 | 880 | | |
881 | 881 | | |
882 | | - | |
| 882 | + | |
883 | 883 | | |
884 | | - | |
885 | | - | |
886 | | - | |
| 884 | + | |
| 885 | + | |
887 | 886 | | |
888 | | - | |
| 887 | + | |
889 | 888 | | |
890 | 889 | | |
891 | 890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
951 | 954 | | |
952 | 955 | | |
953 | 956 | | |
954 | 957 | | |
955 | 958 | | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
| |||
0 commit comments