mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-27 05:40:00 +03:00
change of binary data - POTENTIALLY BREAKING - test your code
This commit is contained in:
parent
fa05d490a1
commit
6313c4a784
5 changed files with 139 additions and 4 deletions
4
mysql.d
4
mysql.d
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue