MySQL 9.1.0
Source Code Documentation
|
We have to hold result buffers in functions that return a GEOMETRY string, because such a function's result geometry's buffer is directly used and set to String result object. More...
#include <item_geofunc.h>
Public Member Functions | |
BG_result_buf_mgr () | |
~BG_result_buf_mgr () | |
void | add_buffer (void *buf) |
void | forget_buffer (void *buf) |
void | free_intermediate_result_buffers () |
void | free_result_buffer () |
void | set_result_buffer (void *buf) |
Private Types | |
typedef Prealloced_array< void *, 64 > | Prealloced_buffers |
Private Attributes | |
void * | bg_result_buf |
Prealloced_buffers | bg_results |
We have to hold result buffers in functions that return a GEOMETRY string, because such a function's result geometry's buffer is directly used and set to String result object.
We have to release them properly manually since they won't be released when the String result is destroyed.
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |