Concatenate 2 input strings together for a new alias string Note: Both input params can be empty.
| 1744 | // Concatenate 2 input strings together for a new alias string |
| 1745 | // Note: Both input params can be empty. |
| 1746 | static string pass1_alias_concat(const string& input1, const string& input2) |
| 1747 | { |
| 1748 | string output; |
| 1749 | |
| 1750 | if (input1.hasData()) |
| 1751 | output.append(input1); |
| 1752 | |
| 1753 | if (input2.hasData()) |
| 1754 | { |
| 1755 | if (output.hasData()) |
| 1756 | output.append(" "); |
| 1757 | output.append(input2); |
| 1758 | } |
| 1759 | |
| 1760 | return output; |
| 1761 | } |
| 1762 | |
| 1763 | |
| 1764 | // Wrapper for pass1_rse_impl. Substitute recursive CTE alias (if needed) and call pass1_rse_impl. |
no test coverage detected