public function finish_table_import($tablename) {
        $table  = $this->schema->getTable($tablename);
        $fields = $table->getFields();
        foreach ($fields as $field) {
            if ($field->getSequence()) {
                $this->manager->reset_sequence($tablename);
                return;
            }
        }
        if ($this->transactionmode == 'pertable') {
            $this->transaction->allow_commit();
        }
    }
public function finish_table_import($tablename) {
        $table  = $this->schema->getTable($tablename);
        $fields = $table->getFields();
        foreach ($fields as $field) {
            if ($field->getSequence()) {
                $this->manager->reset_sequence($tablename);
                return;
            }
        }
        if ($this->transactionmode == 'pertable') {
            $this->transaction->allow_commit();
        }
    }
public function finish_table_import ( $ tablename ) { $ table = $ this -> schema -> getTable ( $ tablename ) ; $ fields = $ table -> getFields ( ) ; foreach ( $ fields as $ field ) { if ( $ field -> getSequence ( ) ) { $ this -> manager -> reset_sequence ( $ tablename ) ; return ; } } if ( $ this -> transactionmode == 'pertable' ) { $ this -> transaction -> allow_commit ( ) ; } }
Callback function. Should be called only once per table import operation,
after all table changes are made. It will reset table sequences if any.
@param string $tablename
@return void
Callback function . Should be called only once per table import operation after all table changes are made . It will reset table sequences if any .