Skip to content

Commit 8e8d177

Browse files
committed
Allow overriding REPLICATION_TYPE in admin/InitDb.pl
This is for testing purposes only.
1 parent 3fb864e commit 8e8d177

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

admin/InitDb.pl

+4-1
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ sub Usage
473473
(Should only be used, when an import without the option
474474
fails with an "ERROR: invalid UTF-8 byte sequence detected"!
475475
see also `MBImport.pl --help')
476+
--reptype=TYPE Override the REPLICATION_TYPE set in DBDefs. This only
477+
exists for testing purposes.
476478
477479
Less commonly used options:
478480
@@ -508,7 +510,8 @@ sub Usage
508510
"fix-broken-utf8" => \$fFixUTF8,
509511
"install-extension=s" => \$fInstallExtension,
510512
"extension-schema=s" => \$fExtensionSchema,
511-
"tmp-dir=s" => \$tmp_dir
513+
"tmp-dir=s" => \$tmp_dir,
514+
"reptype=s" => \$REPTYPE,
512515
) or exit 2;
513516

514517
my $DB = Databases->get($databaseName);

0 commit comments

Comments
 (0)