| 691 | } |
| 692 | |
| 693 | void DsqlCompilerScratch::putSubFunction(DeclareSubFuncNode* subFunc, bool replace) |
| 694 | { |
| 695 | if (!replace && subFunctions.exist(subFunc->name)) |
| 696 | { |
| 697 | status_exception::raise( |
| 698 | Arg::Gds(isc_dsql_duplicate_spec) << subFunc->name); |
| 699 | } |
| 700 | |
| 701 | subFunctions.put(subFunc->name, subFunc); |
| 702 | } |
| 703 | |
| 704 | DeclareSubProcNode* DsqlCompilerScratch::getSubProcedure(const MetaName& name) |
| 705 | { |