change of binary data - POTENTIALLY BREAKING - test your code

This commit is contained in:
Adam D. Ruppe 2022-08-02 12:08:53 -04:00
parent fa05d490a1
commit 6313c4a784
5 changed files with 139 additions and 4 deletions

View file

@ -307,6 +307,10 @@ class MySql : Database {
return cast(string) buffer;
}
string escapeBinaryString(const(ubyte)[] data) {
return tohexsql(b);
}
string escaped(T...)(string sql, T t) {
static if(t.length > 0) {
string fixedup;