> There's a problem here when comparing empty strings, that is, when nKey1 == nKey2 == 0.
Good point. Must have been blind when I wrote this. > Why are you comparing elements at index 0 explicitly? memcmp() should do > the right thing. Yes, but it is faster this way. Regards, Jan Slodicka -- View this message in context: http://sqlite.1065341.n5.nabble.com/Collation-advice-tp70668p70694.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users