| 680 | } |
| 681 | |
| 682 | DeclareSubFuncNode* DsqlCompilerScratch::getSubFunction(const MetaName& name) |
| 683 | { |
| 684 | DeclareSubFuncNode* subFunc = NULL; |
| 685 | subFunctions.get(name, subFunc); |
| 686 | |
| 687 | if (!subFunc && mainScratch) |
| 688 | subFunc = mainScratch->getSubFunction(name); |
| 689 | |
| 690 | return subFunc; |
| 691 | } |
| 692 | |
| 693 | void DsqlCompilerScratch::putSubFunction(DeclareSubFuncNode* subFunc, bool replace) |
| 694 | { |