MCPcopy Create free account
hub / github.com/Tencent/phxsql / acl_compare

Function acl_compare

phx_percona/percona/sql/sql_acl.cc:1792–1799  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1790
1791
1792static int acl_compare(ACL_ACCESS *a,ACL_ACCESS *b)
1793{
1794 if (a->sort > b->sort)
1795 return -1;
1796 if (a->sort < b->sort)
1797 return 1;
1798 return 0;
1799}
1800
1801
1802/*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected