summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-ODBC
diff options
context:
space:
mode:
authorsno <sno>2010-09-22 21:14:39 +0000
committersno <sno>2010-09-22 21:14:39 +0000
commit42c62b39979d43ebe698d5cc0d930a34ed5eeb0c (patch)
tree38f677bd620c7d92bdceccf772b554a47608f406 /databases/p5-DBD-ODBC
parent1b015c03eaabd047693097794549d3725d84ba7d (diff)
downloadpkgsrc-42c62b39979d43ebe698d5cc0d930a34ed5eeb0c.tar.gz
Updating databases/p5-DBD-ODBC from 1.23nb1 to 1.25
Upstream changes: Changes in DBD::ODBC 1.25 September 22, 2010 * Official release of 1.25 combining all the changes in the 1.24_x development releases. Changes in DBD::ODBC 1.24_6 September 16, 2010 * rt 61370 - default XML type parameters in SQL Server to SQL_WCHAR so they accept unicode strings. Changes in DBD::ODBC 1.24_5 September 15, 2010 * Fixed missing SvSETMAGIC on a bound scalar which was causing length() to return the wrong result - see http://www.perlmonks.org/?node_id=860211 and a big thank you to Perl Monks and in particular ikegami. * Changed bind_col so it actually pays attention to the TYPE attribute as you could not override the bind type of a bound column before. Changes in DBD::ODBC 1.24_4 September 8, 2010 * Left a sv_undef in - thanks smoke testers for finding that. * Change sprintf to snprintf for safety. Changes in DBD::ODBC 1.24_3 September 6, 2010 * Added note from Robert Freimuth for obtaining the last insert ID in MS Access. * Changed all &sv_yes/&sv_no occurrances in XS to PL_sv_yes/PL_sv_no as the originals have now gone from blead Perl. * Minor change to fix missing newline in trace output. * Added a FAQ entry for how "use regional settings" in MS SQL Server breaks things. Changes in DBD::ODBC 1.24_2 July 23, 2010 * Fix rt57957 reported by Marc Prewitt. DBD::ODBC was not ignoring named placeholders and ? inside comments. Comments are deemed as text between "/*" and "*/" (if not in a literal) and line comments begin with "--". * Added a FAQ on procedures not completing in MS SQL Server. Thanks to Peter Rabbitson for hitting this problem and reminding me I'd seen it a couple of times before. * Added a FAQ on equality comparisons with ntext columns. * Added pod for last_insert_id which is not currently supported. * Fix bug where if SQLMoreResults was called and failed it was not reported. * Removed some unused fields from the fbh structure which should save a little memory for each column in a result-set. * Started adding support for DBI's DiscardString and StrictlyTyped but not complete yet so don't use them yet. * Added experimental odbc_lob_read method - see pod. Thanks to tye and ikegami on perlmonks for pointing out some problems with my initial implementation. * Moved the binding of columns to the first call to fetch instead of after execute is called as it prevents bind_col overrriding the type used for binding and I needed it to support odbc_lob_read. This may have undesired affects so any testing of this release would be appreciated. * Added bind_col method so DBD::ODBC can support attributes on a bind_col call. * Removed support for DBI's blob_read - it was totally flawed and did not work at all. May replace in the future. * Added support for MS SQL Server XML type (SQL type -152). See rt 59621. * Added note on do method implementation in DBD::ODBC and how some may consider it to deviate from the DBI specification. Changes in DBD::ODBC 1.24_1 May 27, 2010 * Corrected pod and private attributes for the odbc_SQL_DRIVER_ODBC_VER attribute which was documented as SQL_DRIVER_ODBC_VER. * Added FAQ on pauses on statement destruction when all the result-set has not been retrieved (mostly freeTDS and MS SQL Server ODBC Driver). * Fixed bug introduced in 1.24 where if you are using MS SQL Server, and you are preparing, binding placeholders and re-executing multiple times you may get a "Invalid character value for cast specification" error. Thanks to anonymous for spotting this and producing a standalone example of the problem that made it so much easier to find. Changes in DBD::ODBC 1.24 May 14, 2010 * Minor change in Makefile.PL to only use NO_META if ExtUtils::MakeMaker is at least at version 6.10. Reported by Chunmei Wu. * Minor change to test rt_50852 which had wrong skip count. Changes in DBD::ODBC 1.23_5 May 6, 2010 * Added advice from Jan Dubois (ActiveState) on building DBD::ODBC for ActivePerl (see README.windows). * rt56692. Fix spelling mistake in DBD::ODBC pod - thanks to Ansgar Burchardt. * Added a 7th way to help documentation - become a tester. * Hopefully fixed problems building on windows 32 bit platforms that have old sql header files not mentioning SQLLEN/SQLULEN. Changes in DBD::ODBC 1.23_4 April 13, 2010 * Added more FAQs. * Small optimization to remove calls to SQLError when tracing is not turned on. This was a bug. We only need to call SQLError when SQLExecute succeeds if there is an error handler or if tracing is enabled. The test was for tracing disabled! * Large experimental change primarily affecting MS SQL Server users but it does impact on other drivers too. Firstly, for MS SQL Server users we no longer SQLFreeStmt(SQL_RESET_PARAMS) and rebind bound parameters as it is causing the MS SQL Server ODBC driver to re-prepare the SQL. Secondly (for all drivers) we no longer call SQLBindParameter again IF all the arguments to it are the same as the previous call. If you find something not working you better let me know as this is such a speed up I'm going to go with this unless anyone complains. * Minor change to avoid a double call to SQLGetInfo for SQL_DBMS_NAME immediately after connection. * Small change for rt 55736 (reported by Matthew Kidd) to not assume a parameter is varXXX(max) if SQLDescribeParam failed in the Microsoft Native Client driver. Changes in DBD::ODBC 1.23_3 March 24, 2010 * Minor changes to Makefile.PL and dbdimp.c to remove some compiler warnings. * Fix some calls to SQLMoreResults which were not passing informational messages on to DBI's set_err. As you could not see all the informational messages from procedures, only the first. * Fix minor issue in 02simple test which printed the Perl subversion before the version. * Changes to 20SqlServer.t to fix a few typos and make table names consistent wrt to case - (as someone had turned on case-sensitivity in SQL Server) Similar changes in rt_38977.t and rt_50852.t Changes in DBD::ODBC 1.23_2 January 26, 2010 * Fixed bug in Makefile.PL which could fail to find unixODBC/iODBC header files but not report it as a problem. Thanks to Thomas J. Dillman and his smoker for finding this. * Fixed some compiler warnings in dbdimp.c output by latest gcc wrt to format specifiers in calls to PerlIO_printf. * Added the odbc_force_bind_type attribute to help sort out problems with ODBC Drivers which support SQLDescribeParam but describe the parameters incorrectly (see rt 50852). Test case also added as rt_50852.t. Changes in DBD::ODBC 1.23_1 October 21, 2009 * Makefile.PL changes: some formatting changes to output warn if unixodbc headers are not found that the unixodbc-dev package is not installed use $arext instead of "a" pattern match for pulling libodbc.* changed warn if DBI_DSN etc not defined change odbc_config output for stderr to /dev/null missing / on /usr/local wheb finding find_dm_hdr_files() * New FAQ entries from Oystein Torget for bind parameter bugs in SQL Server. * rt_46597.rt - update on wrong table * Copied dbivport.h from the latest DBI distribution into DBD::ODBC. * Added if_you_are_taking_over_this_code.txt. * Add latest Devel::PPPort ppport.h to DBD::ODBC and followed all recommendations for changes to dbdimp.c. * Added change to Makefile.PL provided by Shawn Zong to make Windows/Cygwin work again. * Minor change to Makefile.PL to output env vars to help in debugging peoples build failures. * Added odbc_utf8_on attribute to dbh and sth handles to mark all strings coming from the database as utf8. This is for Aster (based on PostgreSQL) which returns all strings as UTF-8 encoded unicode. Thanks to Noel Burton-Krahn.
Diffstat (limited to 'databases/p5-DBD-ODBC')
-rw-r--r--databases/p5-DBD-ODBC/Makefile5
-rw-r--r--databases/p5-DBD-ODBC/distinfo8
2 files changed, 6 insertions, 7 deletions
diff --git a/databases/p5-DBD-ODBC/Makefile b/databases/p5-DBD-ODBC/Makefile
index c7529cbba1e..29fc1ec9d36 100644
--- a/databases/p5-DBD-ODBC/Makefile
+++ b/databases/p5-DBD-ODBC/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2010/08/21 16:32:55 seb Exp $
+# $NetBSD: Makefile,v 1.6 2010/09/22 21:14:39 sno Exp $
#
-DISTNAME= DBD-ODBC-1.23
+DISTNAME= DBD-ODBC-1.25
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
diff --git a/databases/p5-DBD-ODBC/distinfo b/databases/p5-DBD-ODBC/distinfo
index 1eab9dd57db..a930e1af75d 100644
--- a/databases/p5-DBD-ODBC/distinfo
+++ b/databases/p5-DBD-ODBC/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2009/09/12 18:54:50 sno Exp $
+$NetBSD: distinfo,v 1.4 2010/09/22 21:14:39 sno Exp $
-SHA1 (DBD-ODBC-1.23.tar.gz) = d8fbebb17733984e6fc06e093a572d89718777ce
-RMD160 (DBD-ODBC-1.23.tar.gz) = f804c47c0382174f036b57dbb5aca30a8ac43613
-Size (DBD-ODBC-1.23.tar.gz) = 184925 bytes
+SHA1 (DBD-ODBC-1.25.tar.gz) = f5ea7f8af69d70ac7e485e48335d17312c819b4f
+RMD160 (DBD-ODBC-1.25.tar.gz) = bd35c537692cd0967485f72f1e594b61d0d94989
+Size (DBD-ODBC-1.25.tar.gz) = 200459 bytes