aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-08-31 15:27:32 +0000
committerdrh <drh@noemail.net>2010-08-31 15:27:32 +0000
commit9f129f467e7961b3225a0ecc37d26cddc9155943 (patch)
tree9b79e74a77f70b2bb1762e9b2548d1531f4b4d04 /src/util.c
parent18ec96b3a3a138c8e54f4fcc56102f246004ade4 (diff)
downloadsqlite-9f129f467e7961b3225a0ecc37d26cddc9155943.tar.gz
sqlite-9f129f467e7961b3225a0ecc37d26cddc9155943.zip
Add evidence mark comments to source code. Add additional information to the
documentation of sqlite3_release_memory(). Fix a minor inefficiency in mem1.c that was discovered while writing requirements tests. FossilOrigin-Name: 53b0c03fd33d2d8141fd386de5493fec64456042
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c
index ab31424ed..6b30b311a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -215,6 +215,12 @@ int sqlite3Dequote(char *z){
/*
** Some systems have stricmp(). Others have strcasecmp(). Because
** there is no consistency, we will define our own.
+**
+** IMPLEMENTATION-OF: R-20522-24639 The sqlite3_strnicmp() API allows
+** applications and extensions to compare the contents of two buffers
+** containing UTF-8 strings in a case-independent fashion, using the same
+** definition of case independence that SQLite uses internally when
+** comparing identifiers.
*/
int sqlite3StrICmp(const char *zLeft, const char *zRight){
register unsigned char *a, *b;