collate_cmp
Description:
Compare collation keys generated by collate_key with similar
semantics as strcmp
.
See also collate_cmp_func if you need a version of this function that works as a CompareDataFunc.
The default implementation in Analyzer just uses strcmp
.
Parameters:
this |
The analyzer to use when comparing collation keys |
key1 |
The first collation key to compare |
key2 |
The second collation key to compare |
Returns:
-1, 0 or 1, if |