Re: :ODBC 1.46_1 released - You REALLY need to test this release

2013-11-17 Thread Martin J. Evans

On 17/11/2013 08:32, Meir Guttman wrote:

Dear Martin


-Original Message-
From: Martin J. Evans [mailto:boh...@ntlworld.com]
Sent: שבת 16 נובמבר 2013 12:34
To: dbi-us...@perl.org; DBI Developers Mailing List; dbi-annou...@perl.org
Subject: DBD::ODBC 1.46_1 released - You REALLY need to test this release

I've just uploaded DBD::ODBC 1.46_1 to the CPAN. In the process of
writing
http://www.easysoft.com/developer/languages/perl/sql-server-unicode.html
and https://github.com/mjegh/dbd_odbc_sql_server_unicode I discovered a
serious bug in the way DBD::ODBC can attempt to insert unicode
characters into char/varchar/longvarchar columns. This experimental
release fixes that issue but it does mean this release contains a
significant change in behaviour.

The issue ONLY applied to unicode builds of DBD::ODBC (the default on
Windows) and enabled in Linux/Unix via the -u switch to Makefile.PL.



The DBD::mysql driver supported Unicode/UTF-8 for some times now by turning
ON the driver's 'mysql_enable_utf8' attribute. MySQL also supports UTF-8
text encoding by default.
Do the last changes affect any of this behavior?

(I am sorry that I cannot test your release. I am using ActivePerl, and
ActiveState, as a rule, does not compile and release experimental releases
of packages. I am afraid I'll have to wait until you release a stable one.)

Meir


Meir,

I think you've got slightly mixed up. This is DBD::ODBC, not DBD::mysql.

Martin


[perl5-dbi/dbi] b80de3: Make DBI::_handles return only the outer handle in...

2013-11-17 Thread Tim Bunce
  Branch: refs/heads/master
  Home:   https://github.com/perl5-dbi/dbi
  Commit: b80de3eb5d5bd1c469391218dbc91e9f5895e4a5
  
https://github.com/perl5-dbi/dbi/commit/b80de3eb5d5bd1c469391218dbc91e9f5895e4a5
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2013-11-14 (Thu, 14 Nov 2013)

  Changed paths:
M DBI.xs

  Log Message:
  ---
  Make DBI::_handles return only the outer handle in scalar context


  Commit: cc7a0ffe74faf55f2e4d054e60ae0455c2691af4
  
https://github.com/perl5-dbi/dbi/commit/cc7a0ffe74faf55f2e4d054e60ae0455c2691af4
  Author: Tim Bunce tim.bu...@pobox.com
  Date:   2013-11-15 (Fri, 15 Nov 2013)

  Changed paths:
M Changes
M DBI.pm
M DBI.xs
M t/70callbacks.t

  Log Message:
  ---
  Pass outer handle to Callbacks instead of inner handle.


Compare: https://github.com/perl5-dbi/dbi/compare/09a95a3149dd...cc7a0ffe74fa


RE: :ODBC 1.46_1 released - You REALLY need to test this release

2013-11-17 Thread Meir Guttman
Dear Martin

 -Original Message-
 From: Martin J. Evans [mailto:boh...@ntlworld.com]
 Sent: שבת 16 נובמבר 2013 12:34
 To: dbi-us...@perl.org; DBI Developers Mailing List; dbi-annou...@perl.org
 Subject: DBD::ODBC 1.46_1 released - You REALLY need to test this release
 
 I've just uploaded DBD::ODBC 1.46_1 to the CPAN. In the process of
 writing
 http://www.easysoft.com/developer/languages/perl/sql-server-unicode.html
 and https://github.com/mjegh/dbd_odbc_sql_server_unicode I discovered a
 serious bug in the way DBD::ODBC can attempt to insert unicode
 characters into char/varchar/longvarchar columns. This experimental
 release fixes that issue but it does mean this release contains a
 significant change in behaviour.
 
 The issue ONLY applied to unicode builds of DBD::ODBC (the default on
 Windows) and enabled in Linux/Unix via the -u switch to Makefile.PL.
 


The DBD::mysql driver supported Unicode/UTF-8 for some times now by turning
ON the driver's 'mysql_enable_utf8' attribute. MySQL also supports UTF-8
text encoding by default.

Do the last changes affect any of this behavior?

(I am sorry that I cannot test your release. I am using ActivePerl, and
ActiveState, as a rule, does not compile and release experimental releases
of packages. I am afraid I'll have to wait until you release a stable one.)

Meir



Re: [perl5-dbi/dbi] b80de3: Make DBI::_handles return only the outer handle in...

2013-11-17 Thread David E. Wheeler
On Nov 15, 2013, at 4:13 PM, Tim Bunce tim.bu...@pobox.com wrote:

  Make DBI::_handles return only the outer handle in scalar context

Tim++

David