Groups | Search | Server Info | Login | Register


Groups > perl.dbd.pg.changes > #6

[DBD::Pg] Typo in sprintf for get_info() SQL_DATA_SOURCE_NAME. Thanks to Craig A. James for spotting this. (RT 106604)

Newsgroups perl.dbd.pg.changes
Subject [DBD::Pg] Typo in sprintf for get_info() SQL_DATA_SOURCE_NAME. Thanks to Craig A. James for spotting this. (RT 106604)
Date 2015-08-21 23:06 +0000
Message-ID <1440198394-470-1-git-send-email-dbdpg-commits@bucardo.org> (permalink)
From dbdpg-commits@bucardo.org

Show all headers | View raw


Committed by Greg Sabino Mullane <greg@endpoint.com>

Typo in sprintf for get_info() SQL_DATA_SOURCE_NAME. Thanks
to Craig A. James for spotting this. (RT 106604)

---
 Pg.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Pg.pm b/Pg.pm
index c08a444..9a7e9b2 100644
--- a/Pg.pm
+++ b/Pg.pm
@@ -1332,7 +1332,7 @@ use 5.008001;
    10021 => ['SQL_ASYNC_MODE',                      2                         ], ## SQL_AM_STATEMENT
      120 => ['SQL_BATCH_ROW_COUNT',                 2                         ], ## SQL_BRC_EXPLICIT
      121 => ['SQL_BATCH_SUPPORT',                   3                         ], ## 12 SELECT_PROC + ROW_COUNT_PROC
-       2 => ['SQL_DATA_SOURCE_NAME',                sub { sprintf 'dbi:Pg:%', shift->{Name} } ],
+       2 => ['SQL_DATA_SOURCE_NAME',                sub { sprintf 'dbi:Pg:%s', shift->{Name} } ],
        3 => ['SQL_DRIVER_HDBC',                     0                         ], ## not applicable
      135 => ['SQL_DRIVER_HDESC',                    0                         ], ## not applicable
        4 => ['SQL_DRIVER_HENV',                     0                         ], ## not applicable
-- 
1.8.4

Back to perl.dbd.pg.changes | Previous | Next | Find similar


Thread

[DBD::Pg] Typo in sprintf for get_info() SQL_DATA_SOURCE_NAME. Thanks to Craig A. James for spotting this. (RT 106604) dbdpg-commits@bucardo.org - 2015-08-21 23:06 +0000

csiph-web