- Fix skip count for Oracle multi-schema tests
- Actually test data types that require separate tables
- Fix national character type sizes on DBD::Oracle >= 1.52
+ - Fix detection of qualified sequence names for Oracle (RT#90341)
0.07037 2013-10-30
- Allow overriding individual moniker parts
$sth->execute($table->name, $table->schema);
while (my ($trigger_body) = $sth->fetchrow_array) {
- if (my ($seq_schema, $seq_name) = $trigger_body =~ /(?:\."?(\w+)"?)?"?(\w+)"?\.nextval/i) {
+ if (my ($seq_schema, $seq_name) = $trigger_body =~ /(?:"?(\w+)"?\.)?"?(\w+)"?\.nextval/i) {
if (my ($col_name) = $trigger_body =~ /:new\.(\w+)/i) {
$col_name = $self->_lc($col_name);
},
],
drop => [qw/oracle_loader_test1 oracle_loader_test9 oracle_loader_test10/],
- count => 7 + 30 * 2,
+ count => 7 + 31 * 2,
run => sub {
my ($monikers, $classes);
($schema, $monikers, $classes) = @_;
)
EOF
- $dbh1->do($_) for $auto_inc_cb->('oracle_loader_test4', 'id');
+ $dbh1->do($_) for $auto_inc_cb->(lc "${schema1}.oracle_loader_test4", 'id');
$dbh1->do("GRANT ALL ON oracle_loader_test4 TO $schema2");
$dbh1->do("GRANT ALL ON oracle_loader_test4_id_seq TO $schema2");
is try { $rsrc->column_info('id')->{is_auto_increment} }, 1,
'column in schema1';
+ is try { $rsrc->column_info('id')->{sequence} }, lc "${schema1}.oracle_loader_test4_id_seq",
+ 'sequence in schema1';
+
is try { $rsrc->column_info('value')->{data_type} }, 'varchar2',
'column in schema1';