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

Function is_binary_frm_header

sql/unireg.h:219–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217#define FRM_MAX_SIZE (1024*1024)
218
219static inline bool is_binary_frm_header(const uchar *head)
220{
221 return head[0] == 254
222 && head[1] == 1
223 && head[2] >= FRM_VER
224 && head[2] <= FRM_VER_CURRENT;
225}
226
227#endif

Callers 4

open_table_defFunction · 0.70
dd_frm_typeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected