aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-10-31 20:52:00 +0000
committerdrh <drh@noemail.net>2018-10-31 20:52:00 +0000
commit7301e774025bc765e12a0f1a450d4aaddc3ea53f (patch)
treeb5385c3b3a124d66ecbe3f92258f0b1d9ca9beb7 /src/expr.c
parenta60c63013ef1d02e7d63ee9b3951fec4555882da (diff)
downloadsqlite-7301e774025bc765e12a0f1a450d4aaddc3ea53f.tar.gz
sqlite-7301e774025bc765e12a0f1a450d4aaddc3ea53f.zip
Deploy the sqlite3Strlen30NN() function (argument guaranteed to be non-NULL) for
a small performance improvement. FossilOrigin-Name: 4a6ad5190b62020d97a7de02c801544f20b7b98145ceff14af1f2834d3057f9c
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c
index 9c0ce1f87..d4eb9de62 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -1167,7 +1167,7 @@ static int dupedExprStructSize(Expr *p, int flags){
static int dupedExprNodeSize(Expr *p, int flags){
int nByte = dupedExprStructSize(p, flags) & 0xfff;
if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
- nByte += sqlite3Strlen30(p->u.zToken)+1;
+ nByte += sqlite3Strlen30NN(p->u.zToken)+1;
}
return ROUND8(nByte);
}