projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d100eb3
)
cheaper lookup
Peter Rabbitson [Mon, 8 Feb 2010 15:16:44 +0000 (15:16 +0000)]
lib/DBIx/Class/UTF8Columns.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/UTF8Columns.pm
b/lib/DBIx/Class/UTF8Columns.pm
index
d55224b
..
a25ac39
100644
(file)
--- a/
lib/DBIx/Class/UTF8Columns.pm
+++ b/
lib/DBIx/Class/UTF8Columns.pm
@@
-113,7
+113,8
@@
sub store_column {
# override this if you want to force everything to be encoded/decoded
sub _is_utf8_column {
- return (shift->utf8_columns || {})->{shift @_};
+ # my ($self, $col) = @_;
+ return ($_[0]->utf8_columns || {})->{$_[1]};
}
=head1 AUTHORS