• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/import/import.php
  • Класс: BitrixSaleLocationImportis
  • Вызов: is::acceptRebalancedNode
private function acceptRebalancedNode($node)
{
	$this->createTempTable();

	if(!$this->rebalanceInserter)
	{
		if($this->dbConnType == self::DB_TYPE_ORACLE)
			$mtu = self::TREE_REBALANCE_TEMP_BLOCK_LEN_O;
		else
			$mtu = self::TREE_REBALANCE_TEMP_BLOCK_LEN;

		$this->rebalanceInserter = new LocationDBBlockInserter(array(
			'tableName' => self::TREE_REBALANCE_TEMP_TABLE_NAME,
			'exactFields' => array(
				'I' => array('data_type' => 'integer'),
				'L' => array('data_type' => 'integer'),
				'R' => array('data_type' => 'integer'),
				'D' => array('data_type' => 'integer'),
			),
			'parameters' => array(
				'mtu' => $mtu
			)
		));
	}

	$this->data['processed']++;

	$this->rebalanceInserter->insert($node);
}