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

Function ptr_compare_1

mysys/ptr_cmp.c:131–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130
131static int ptr_compare_1(size_t *compare_length,uchar **a, uchar **b)
132{
133 reg3 int length= *compare_length-1;
134 reg1 uchar *first,*last;
135
136 first= *a+1; last= *b+1;
137 cmp(-1);
138 loop:
139 cmp(0);
140 cmp(1);
141 cmp(2);
142 cmp(3);
143 if ((length-=4))
144 {
145 first+=4;
146 last+=4;
147 goto loop;
148 }
149 return (0);
150}
151
152static int ptr_compare_2(size_t *compare_length,uchar **a, uchar **b)
153{

Callers

nothing calls this directly

Calls 1

cmpFunction · 0.85

Tested by

no test coverage detected