| ▲ | Scaevolus 2 hours ago | |
It's not really a big problem. You should be storing arbitrary binary strings as blobs (and length() works properly with them), but the underlying encoding is nearly identical: https://www.sqlite.org/fileformat.html#record_format | ||
| ▲ | deepsun 5 minutes ago | parent [-] | |
Then DBMS should not allow to save a string that would make some function return wrong results. Either truncate with a warning on INSERT (MySQL approach) or better throw an error. | ||