mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 21:30:12 +03:00
catching up
This commit is contained in:
parent
8ef905c906
commit
e677d8d445
11 changed files with 704 additions and 82 deletions
|
@ -43,7 +43,7 @@ class PostgreSql : Database {
|
|||
char* buffer = (new char[sqlData.length * 2 + 1]).ptr;
|
||||
ulong size = PQescapeString (buffer, sqlData.ptr, sqlData.length);
|
||||
|
||||
string ret = assumeUnique(buffer[0..size]);
|
||||
string ret = assumeUnique(buffer[0.. cast(size_t) size]);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue