@@ -584,13 +584,6 @@ options_t parse_command_line(int argc, char *argv[])
584
584
// Tablespace options
585
585
// ----------------------------------------------------------------------
586
586
587
- std::string tablespace_index;
588
- app.add_option (" -i,--tablespace-index" , tablespace_index)
589
- ->description (" Tablespace for indexes (sets default for "
590
- " --tablespace-(main|slim)-index)." )
591
- ->option_text (" TBLSPC" )
592
- ->group (" Tablespace options" );
593
-
594
587
app.add_option (" --tablespace-main-data" , options.tblsmain_data )
595
588
->description (" Tablespace for main tables." )
596
589
->option_text (" TBLSPC" )
@@ -661,18 +654,6 @@ options_t parse_command_line(int argc, char *argv[])
661
654
options.input_format .clear ();
662
655
}
663
656
664
- if (!tablespace_index.empty ()) {
665
- log_warn (
666
- " The option -i, --tablespace-index is deprecated. Use "
667
- " --tablespace-slim-index and/or --tablespace-main-index instead." );
668
- if (options.tblsmain_index .empty ()) {
669
- options.tblsmain_index = tablespace_index;
670
- }
671
- if (options.tblsslim_index .empty ()) {
672
- options.tblsslim_index = tablespace_index;
673
- }
674
- }
675
-
676
657
if (options.dbschema .empty ()) {
677
658
throw std::runtime_error{" Schema can not be empty." };
678
659
}
0 commit comments