src/storage/source/PartitionedFile.cc
PartitionedFile::~PartitionedFile() {
    if (this->cleared == false) {
        pthread_mutex_lock(&this->fileMutex);
        this->closeAll();
        pthread_mutex_unlock(&this->fileMutex);
    }
    pthread_mutex_destroy(&this->fileMutex);
}
/**
 * Destructor, it will NOT delete on-disk files.
 */
Destructor, it will NOT delete on-disk files.
Destructor it will NOT delete on - disk files .
PartitionedFile::~PartitionedFile() {
    if (this->cleared == false) {
        pthread_mutex_lock(&this->fileMutex);
        this->closeAll();
        pthread_mutex_unlock(&this->fileMutex);
    }
    pthread_mutex_destroy(&this->fileMutex);
}
PartitionedFile :: ~ PartitionedFile ( ) { if ( this -> cleared == false ) { pthread_mutex_lock ( & this -> fileMutex ) ; this -> closeAll ( ) ; pthread_mutex_unlock ( & this -> fileMutex ) ; } pthread_mutex_destroy ( & this -> fileMutex ) ; }
Destructor, it will NOT delete on-disk files.
Destructor it will NOT delete on - disk files .