my $max_id_length = 128;
my %global_names;
-my %unreserve;
=pod
my $schema = $translator->schema;
%global_names = (); #reset
- %unreserve = ();
my $output;
$output .= header_comment."\n" unless ($no_comments);
# also trap fields that don't begin with a letter
return $name if !$reserved{ uc $name } && $name =~ /^[a-z]/i;
- if ( $schema_obj_name ) {
- ++$unreserve{"$schema_obj_name.$name"};
- }
- else {
- ++$unreserve{"$name (table name)"};
- }
-
my $unreserve = sprintf '%s_', $name;
return $unreserve.$suffix;
}