mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-26 05:10:01 +03:00
remove trailing whitespace
This commit is contained in:
parent
cc416c9848
commit
251cb73f71
38 changed files with 307 additions and 307 deletions
12
mssql.d
12
mssql.d
|
@ -216,14 +216,14 @@ class MsSqlResult : ResultSet {
|
|||
private string getSQLError(short handletype, SQLHANDLE handle)
|
||||
{
|
||||
char[32] sqlstate;
|
||||
char[256] message;
|
||||
char[256] message;
|
||||
SQLINTEGER nativeerror=0;
|
||||
SQLSMALLINT textlen=0;
|
||||
auto ret = SQLGetDiagRec(handletype, handle, 1,
|
||||
cast(ubyte*)sqlstate.ptr,
|
||||
cast(int*)&nativeerror,
|
||||
cast(ubyte*)message.ptr,
|
||||
256,
|
||||
auto ret = SQLGetDiagRec(handletype, handle, 1,
|
||||
cast(ubyte*)sqlstate.ptr,
|
||||
cast(int*)&nativeerror,
|
||||
cast(ubyte*)message.ptr,
|
||||
256,
|
||||
&textlen);
|
||||
|
||||
return message.idup;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue