Your message dated Fri, 06 Oct 2006 16:02:17 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#379607: fixed in libtime-piece-mysql-perl 0.05-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libclass-dbi-mysql-perl
Version: 1.00-1
Severity: important

Class::DBI::mysql tries to autoinflate a 'timestamp' column type by
using from_mysql_timestamp (from the libtime-piece-mysql-perl library).
However, as noted in the time-piece-mysql library, as of MySQL 4.1,
timestamps are returned as datetime strings.

The error occours on line 106 of mysql.pm:

      $args{inflate} = "from_mysql_$type";
                        $args{deflate} = "mysql_$type";

It should read something like this: 

  # MySQL 4.1 and above need this
  if(MYSQL_VERSION >= 4.1) { # Pseudocode - since I don't know
                                                                                
                                 # how to check for the version of MySQL
                $type = 'datetime' if($type eq 'timestamp');
        }

  $args{inflate} = "from_mysql_$type";
        $args{deflate} = "mysql_$type";

Regards,
Michael Petnuch

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libclass-dbi-mysql-perl depends on:
ii  libclass-dbi-perl             3.0.14-1   A convenient abstraction layer to 
ii  libdbd-mysql-perl             3.0004-1   A Perl5 database interface to the 
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 

Versions of packages libclass-dbi-mysql-perl recommends:
ii  libtime-piece-mysql-perl      0.05-1     Time::Piece::MySQL - Adds MySQL-sp

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: libtime-piece-mysql-perl
Source-Version: 0.05-2

We believe that the bug you reported is fixed in the latest version of
libtime-piece-mysql-perl, which is due to be installed in the Debian FTP 
archive:

libtime-piece-mysql-perl_0.05-2.diff.gz
  to 
pool/main/libt/libtime-piece-mysql-perl/libtime-piece-mysql-perl_0.05-2.diff.gz
libtime-piece-mysql-perl_0.05-2.dsc
  to pool/main/libt/libtime-piece-mysql-perl/libtime-piece-mysql-perl_0.05-2.dsc
libtime-piece-mysql-perl_0.05-2_all.deb
  to 
pool/main/libt/libtime-piece-mysql-perl/libtime-piece-mysql-perl_0.05-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <[EMAIL PROTECTED]> (supplier of updated libtime-piece-mysql-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  6 Oct 2006 23:38:27 +0100
Source: libtime-piece-mysql-perl
Binary: libtime-piece-mysql-perl
Architecture: source all
Version: 0.05-2
Distribution: unstable
Urgency: low
Maintainer: Ben Hutchings <[EMAIL PROTECTED]>
Changed-By: Ben Hutchings <[EMAIL PROTECTED]>
Description: 
 libtime-piece-mysql-perl - Time::Piece::MySQL - Adds MySQL-specific methods to 
Time::Piece
Closes: 379607
Changes: 
 libtime-piece-mysql-perl (0.05-2) unstable; urgency=low
 .
   * Handle MySQL 4.1+ timestamp format correctly - closes: #379607
Files: 
 d43947a07b43b290575b8ed3fffa66fc 683 perl extra 
libtime-piece-mysql-perl_0.05-2.dsc
 25c74896f79c03bb7b2abec6077216e6 1583 perl extra 
libtime-piece-mysql-perl_0.05-2.diff.gz
 c0690b817bff261d4cf4aaa59ef6100d 7270 perl extra 
libtime-piece-mysql-perl_0.05-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFJtwz79ZNCRIGYgcRAgr1AKDBFQCmJIzADXOr8zxGHGfq9+8QGACfQTOX
5w9ht22/foI9VdZP6xH4s/A=
=cIFy
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to