MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / set_zone

Function set_zone

sql/table.cc:425–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423 /* Check that the integer is in the internal */
424
425int set_zone(register int nr, int min_zone, int max_zone)
426{
427 if (nr<=min_zone)
428 return (min_zone);
429 if (nr>=max_zone)
430 return (max_zone);
431 return (nr);
432} /* set_zone */
433
434 /* Adjust number to next larger disk buffer */
435

Callers 2

val_str_asciiMethod · 0.85
my_yyoverflowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected