[Bast-commits] r8240 -
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Oracle
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Wed Jan 6 01:21:41 GMT 2010
Author: caelum
Date: 2010-01-06 01:21:41 +0000 (Wed, 06 Jan 2010)
New Revision: 8240
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
Log:
remove alignment mark on base64 md5
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm 2010-01-06 01:20:17 UTC (rev 8239)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm 2010-01-06 01:21:41 UTC (rev 8240)
@@ -303,6 +303,9 @@
$ctx->add($alias);
my $md5 = $ctx->b64digest;
+ # remove alignment mark just in case
+ $md5 =~ s/=*\z//;
+
# truncate and prepend to truncated relname without vowels
(my $devoweled = $relname) =~ s/[aeiou]//g;
my $shortened = substr($devoweled, 0, 18);
More information about the Bast-commits
mailing list