File tree Expand file tree Collapse file tree 2 files changed +23
-29
lines changed Expand file tree Collapse file tree 2 files changed +23
-29
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ numa_interleave=0
23
23
wsrep_on=0
24
24
dry_run=0
25
25
defaults_group_suffix=
26
- ignore_unknown=1
27
26
28
27
# Initial logging status: error log is not open, and not using syslog
29
28
logging=init
@@ -371,22 +370,11 @@ parse_arguments() {
371
370
372
371
--help) usage ;;
373
372
374
- --ignore-unknown) ignore_unknown=1 ;;
375
- --no-ignore-unknown|--not-ignore-unknown) ignore_unknown=0 ;;
376
-
377
373
* )
378
- if test $ignore_unknown -eq 0
379
- then
380
- case " $unrecognized_handling " in
381
- collect) append_arg_to_args " $arg " ;;
382
- complain) log_error " unknown option '$arg '"
383
- esac
384
- else
385
- case " $arg " in
386
- " --loose-" * ) append_arg_to_args " $arg " ;;
387
- * ) append_arg_to_args " --loose-$arg "
388
- esac
389
- fi
374
+ case " $unrecognized_handling " in
375
+ collect) append_arg_to_args " $arg " ;;
376
+ complain) log_error " unknown option '$arg '" ;;
377
+ esac
390
378
esac
391
379
done
392
380
}
Original file line number Diff line number Diff line change @@ -1496,21 +1496,27 @@ void fil_system_t::create(ulint hash_size)
1496
1496
1497
1497
void fil_system_t::close ()
1498
1498
{
1499
- ut_ad (this == &fil_system);
1500
- ut_a (!UT_LIST_GET_LEN (LRU));
1501
- ut_a (unflushed_spaces.empty ());
1502
- ut_a (!UT_LIST_GET_LEN (space_list));
1503
- ut_ad (!sys_space);
1504
- ut_ad (!temp_space);
1499
+ ut_ad (this == &fil_system);
1500
+ ut_a (!UT_LIST_GET_LEN (LRU));
1501
+ ut_a (unflushed_spaces.empty ());
1502
+ ut_a (!UT_LIST_GET_LEN (space_list));
1503
+ ut_ad (!sys_space);
1504
+ ut_ad (!temp_space);
1505
+
1506
+ if (is_initialised ())
1507
+ {
1508
+ m_initialised= false ;
1509
+ spaces.free ();
1510
+ mutex_free (&mutex);
1511
+ fil_space_crypt_cleanup ();
1512
+ }
1505
1513
1506
- if (is_initialised ()) {
1507
- m_initialised = false ;
1508
- spaces.free ();
1509
- mutex_free (&mutex);
1510
- fil_space_crypt_cleanup ();
1511
- }
1514
+ ut_ad (!spaces.array );
1512
1515
1513
- ut_ad (!spaces.array );
1516
+ #ifdef UNIV_LINUX
1517
+ ssd.clear ();
1518
+ ssd.shrink_to_fit ();
1519
+ #endif /* UNIV_LINUX */
1514
1520
}
1515
1521
1516
1522
/* * Opens all system tablespace data files. They stay open until the
You can’t perform that action at this time.
0 commit comments