Exemple #1
0
QualifiedName * CmpSqlSession::updateVolatileQualifiedName(QualifiedName &inName)
{
  QualifiedName *result = &inName;

  if (volatileSchemaInUse_)
    {
      result = new (heap_) 
	QualifiedName(inName.getObjectName(), 
		      volatileSchemaName(), volatileCatalogName(), heap_);

      CMPASSERT(result);

      result->setNamePosition(inName.getNamePosition());

      result->setIsVolatile(TRUE);
    }

  return result;
}