mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Deploy the sqlite3Strlen30NN() function (argument guaranteed to be non-NULL) for
a small performance improvement. FossilOrigin-Name: 4a6ad5190b62020d97a7de02c801544f20b7b98145ceff14af1f2834d3057f9c
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user