35 if (m_normalized)
return;
37 unsigned nNew = m_setNew.size();
40 for (
unsigned iNew = 0; iNew < nNew; iNew++) {
43 switch (m_setNew[iNew]->getSrcType()) {
45 m_oldForced.push_back(m_setNew[iNew]->getDestColName());
48 m_oldDefaults.push_back(m_setNew[iNew]->getDestColName());
51 m_ask.push_back(m_setNew[iNew]->getDestColName());
54 m_fixed.push_back(
FieldVal(m_setNew[iNew]->getDestColName(),
55 m_setNew[iNew]->getSrcValue()));
56 m_fixedInterp.push_back(m_setNew[iNew]->getInterp());
59 throw RdbException(
"Supersede::normalize Unrecognized <set>");
63 m_fromOld.reserve(m_oldDefaults.size() + m_oldForced.size());
65 for (
unsigned i = 0; i < m_oldDefaults.size(); i++) {
66 m_fromOld.push_back(m_oldDefaults[i]);
68 for (
unsigned i = 0; i < m_oldForced.size(); i++) {
69 m_fromOld.push_back(m_oldForced[i]);