[DBD::Pg] Typo in sprintf for get_info() SQL_DATA_SOURCE_NAME. Thanks to Craig A. James for spotting this. (RT 106604)
[email protected] Fri, 21 Aug 2015 23:06:34 +0000
| Newsgroups | perl.dbd.pg.changes |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <[email protected]> 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