- Fix incorrect storage behavior when first call on a fresh schema
is with_deferred_fk_checks
- Fix incorrect dependency on Test::Simple/Builder (RT#72282)
+ - Fix uninitialized warning in ::Storage::Sybase::ASE
* Misc
- No longer depend on Variable::Magic now that a pure-perl
keys %$columns_info
;
- if (($op eq 'insert' && $bound_identity_col) ||
- ($op eq 'update' && exists $args->[0]{$identity_col})) {
+ if (
+ ($bound_identity_col and $op eq 'insert')
+ or
+ (
+ $op eq 'update'
+ and
+ defined $identity_col
+ and
+ exists $args->[0]{$identity_col}
+ )
+ ) {
$sql = join ("\n",
$self->_set_table_identity_sql($op => $table, 'on'),
$sql,
);
}
- if ($op eq 'insert' && (not $bound_identity_col) && $identity_col &&
- (not $self->{insert_bulk})) {
+ if (
+ (not $bound_identity_col)
+ and
+ $identity_col
+ and
+ (not $self->{insert_bulk})
+ and
+ $op eq 'insert'
+ ) {
$sql =
"$sql\n" .
$self->_fetch_identity_sql($ident, $identity_col);