Skip Menu |
 

This queue is for tickets about the DBIx-MyServer CPAN distribution.

Report information
The Basics
Id: 30784
Status: open
Priority: 0/
Queue: DBIx-MyServer

People
Owner: Nobody in particular
Requestors: ian.redfern [...] logicacmg.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.42



Subject: Compatibility issues
Download (untitled) / with headers
text/plain 870b
I've been testing DBIx::MyServer 0.41 using Perl 5.8.8 on Ubuntu, and have found a few issues. The first is a simple typo - in line 774 my $charset = defined $myserver->[MYSERVER_SERVER_CHARSET] ? chr($myserver->[MYSERVER_SERVER_CHARSET]) : 0x21; # latin1 the 0x21 should be chr(0x21) - otherwise you get the string "33" appearing in the message, rather than 0x21. The second is a compatibility issue with the JDBC client - it needs the salt to be composed of printable characters. In line 493 $myserver->[MYSERVER_SALT] = join('',map { chr(int(rand(255))) } (1..20)); I need to use chr(33+rand(94)). Finally, again with the JDBC client, I need to use defined $_ ? $myserver->_lengthCodedBinary(length($_)).$_ : chr(0) instead of $myserver->_lengthCodedString($_) in line 635, or it scrambles the field names. Otherwise, it's working a treat - many thanks.
From: PHILIPS [...] cpan.org
Thank you very much, I will add those fixes to the next release. Philip
Download (untitled) / with headers
text/plain 214b
Hello, I am sorry for the excessive delay, but I have applied your patches and released a new version containing them. Are you still using the DBIx::MyServer module and if yes, what for? Thank you. Philip Stoev


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.