- Moritz Onken <onken@netcubed.de>
- Paul Harrington <phrrngtn@users.sourceforge.net>
- Peter Rabbitson <ribasushi@cpan.org>
+- Robert Bohne <rbo@openserv.org>
- Ross Smith II <rossta@users.sf.net>
- Ryan D Johnson <ryan@innerfence.com>
- Sam Angiuoli <angiuoli@users.sourceforge.net>
}
if ( $c->on_delete ) {
- $def .= ' ON DELETE '.join( ' ', $c->on_delete );
+ $def .= ' ON DELETE '. $c->on_delete;
}
if ( $c->on_update ) {
- $def .= ' ON UPDATE '.join( ' ', $c->on_update );
+ $def .= ' ON UPDATE '. $c->on_update;
}
return $def;
}
}
if ( $c->on_delete ) {
- $def .= ' ON DELETE '.join( ' ', $c->on_delete );
+ $def .= ' ON DELETE '.$c->on_delete;
}
# disabled by plu 2007-12-29 - doesn't exist for oracle
#if ( $c->on_update ) {
- # $def .= ' ON UPDATE '.join( ' ', $c->on_update );
+ # $def .= ' ON UPDATE '. $c->on_update;
#}
push @fk_defs, sprintf("ALTER TABLE %s ADD %s", $table_name_q, $def);
}
if ( $c->on_delete ) {
- $def .= ' ON DELETE '.join( ' ', $c->on_delete );
+ $def .= ' ON DELETE '. $c->on_delete;
}
if ( $c->on_update ) {
- $def .= ' ON UPDATE '.join( ' ', $c->on_update );
+ $def .= ' ON UPDATE '. $c->on_update;
}
if ( $c->deferrable ) {