WL#2901: Add a bit to String class to flag a constant
Affects: Server-7.1 — Status: Assigned — Priority: Medium
The task is to add a bit to String class to flag that this is a constant that will not change during the evaluation of the statement. This allows us to avoid memory allocation by replacing some String->copy() with a ->set() based on the argument. Same for LEX_STRING, as we do now a extra allocations in 'item_name'. Rationale --------- Code cleanup task requested by Monty.
Copyright (c) 2000, 2017, Oracle Corporation and/or its affiliates. All rights reserved.