Fix single instance leafs defined in %FUNCS to behave like table leafs; return a reference to a hash and don't add zero instance identifier

This commit is contained in:
Eric A. Miller
2014-12-18 22:05:33 -05:00
parent 045ff8b789
commit c85b61bbd0
2 changed files with 12 additions and 5 deletions

View File

@@ -4545,7 +4545,8 @@ sub _validate_autoload_method {
my $table_leaf = 0;
if ( !$globals->{$attr}
&& ( defined $indexes && scalar( @{$indexes} ) > 0 ) )
&& ( ( defined $indexes && scalar( @{$indexes} ) > 0 )
|| $funcs->{$attr} ))
{
$table_leaf = 1;
}