| 260 | |
| 261 | |
| 262 | SortNode* SortNode::copy(thread_db* tdbb, NodeCopier& copier) const |
| 263 | { |
| 264 | SortNode* newSort = FB_NEW_POOL(*tdbb->getDefaultPool()) SortNode(*tdbb->getDefaultPool()); |
| 265 | newSort->unique = unique; |
| 266 | |
| 267 | for (const NestConst<ValueExprNode>* i = expressions.begin(); i != expressions.end(); ++i) |
| 268 | newSort->expressions.add(copier.copy(tdbb, *i)); |
| 269 | |
| 270 | newSort->direction = direction; |
| 271 | newSort->nullOrder = nullOrder; |
| 272 | |
| 273 | return newSort; |
| 274 | } |
| 275 | |
| 276 | SortNode* SortNode::pass1(thread_db* tdbb, CompilerScratch* csb) |
| 277 | { |
no test coverage detected