Skip to content

Commit

Permalink
Add PrintResults method
Browse files Browse the repository at this point in the history
  • Loading branch information
Burgos committed Dec 22, 2016
1 parent 2d9a6d8 commit e907d7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/connection.d
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ struct Connection
{
if (rows.fields[i].format == rows.Field.Format.TEXT)
{
debug (verbose)
debug (PrintResults)
{
writeln(rows.fields[i].name, ": ", to!string(cast(char[])c.value));
writeln(rows.fields[i].name, ": ", c.value);
}
}
}
Expand Down Expand Up @@ -282,7 +282,7 @@ struct Connection
{
if (rows.fields[i].format == rows.Field.Format.TEXT)
{
debug (verbose)
debug (PrintResults)
{
writeln(rows.fields[i].name, ": ", c.value);
}
Expand Down

0 comments on commit e907d7a

Please sign in to comment.