Permalink
Browse files

use the now public errstr in one more place.

  • Loading branch information...
1 parent 6e8b1c7 commit bf5de44646d5c00ce77df5b919cbf174a9fb6244 @timo timo committed Jan 30, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/DBDish/Pg.pm6
View
@@ -358,7 +358,7 @@ class DBDish::Pg::Connection does DBDish::Connection {
my $status = PQresultStatus($result);
unless status-is-ok($status) {
self!set_errstr(PQresultErrorMessage($result));
- die self!errstr if $.RaiseError;
+ die self.errstr if $.RaiseError;
return Nil;
}
my $info = PQdescribePrepared($!pg_conn, $statement_name);

0 comments on commit bf5de44

Please sign in to comment.