Revision 90bb521a
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
scripts/dbupgrade2_tool.pl | ||
---|---|---|
360 | 360 |
print "Applying upgrade $control->{file}\n"; |
361 | 361 |
|
362 | 362 |
if ($file_type eq "sql") { |
363 |
$dbupgrader->process_query($dbh, "sql/$form->{dbdriver}-upgrade2/$control->{file}", $control, $db_charset);
|
|
363 |
$dbupgrader->process_query($dbh, "sql/Pg-upgrade2/$control->{file}", $control, $db_charset);
|
|
364 | 364 |
} else { |
365 |
$dbupgrader->process_perl_script($dbh, "sql/$form->{dbdriver}-upgrade2/$control->{file}", $control, $db_charset);
|
|
365 |
$dbupgrader->process_perl_script($dbh, "sql/Pg-upgrade2/$control->{file}", $control, $db_charset);
|
|
366 | 366 |
} |
367 | 367 |
} |
368 | 368 |
|
... | ... | |
499 | 499 |
|
500 | 500 |
show_help() if ($opt_help); |
501 | 501 |
|
502 |
$dbupgrader = SL::DBUpgrade2->new(form => $form, dbdriver => 'Pg', auth => $opt_auth_db);
|
|
502 |
$dbupgrader = SL::DBUpgrade2->new(form => $form, auth => $opt_auth_db); |
|
503 | 503 |
$controls = $dbupgrader->parse_dbupdate_controls->{all_controls}; |
504 | 504 |
|
505 | 505 |
dump_list() if ($opt_list); |
Auch abrufbar als: Unified diff
Alle Vorkommen von dbdriver, sid, Oracle entfernt
...und gegen das hardcodierte Werte für PostgreSQL ersetzt.