The DBI needs to sort the keys in %$attr for connect_cached and
prepare_cached to ensure a canonical cache key is generated.
Currently this is done in perl and is relatively expensive:
my @attr_keys = ($attr) ? sort keys %$attr : ();
my $key = do { local $^W; # silence undef warnings
On Tue, 22 Apr 2008 11:24:17 +0100, Tim Bunce <[EMAIL PROTECTED]> wrote:
> The DBI needs to sort the keys in %$attr for connect_cached and
> prepare_cached to ensure a canonical cache key is generated.
>
> Currently this is done in perl and is relatively expensive:
>
> my @attr_keys = ($attr