MCPcopy Create free account
hub / github.com/MariaDB/server / set_buffer_space

Method set_buffer_space

sql/sql_lifo_buffer.h:82–89  ·  view source on GitHub ↗

Let the buffer store data in the given space. */

Source from the content-addressed store, hash-verified

80
81 /** Let the buffer store data in the given space. */
82 void set_buffer_space(uchar *start_arg, uchar *end_arg)
83 {
84 start= start_arg;
85 end= end_arg;
86 if (end != start)
87 TRASH_ALLOC(start, size_t(end - start));
88 reset();
89 }
90
91 /**
92 Specify where write() should get the source data from, as well as source

Callers 3

dsmrr_initMethod · 0.80
setup_buffer_sharingMethod · 0.80
reset_buffer_sizesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected