mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
Protocol_text constructor allocated memory on an optional prealloc argument. This was along with its subclass Protocol_local. Remove this functionality to an independent member function "allocate". Replace two use with existing error handling on insufficient resources at the err label. Protocol_local, that inherits from Protocol_text had one use that requested an allocation of 0. So it wasn't needed.
12 KiB
12 KiB