mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-02 05:54:29 +03:00
Fix a problem with the byte-code decompiler that was inserted by the
enhancements at [4248980a356f659b] FossilOrigin-Name: af63e95dcdd6e9741cdddc3698e857e3b8be40048d3036f939f3583e517c4eff
This commit is contained in:
@@ -1489,8 +1489,7 @@ static int displayComment(
|
||||
}
|
||||
}else if( strncmp(zSynopsis+ii+1, "@NP", 3)==0 ){
|
||||
sqlite3_context *pCtx = pOp->p4.pCtx;
|
||||
assert( pOp->p4type==P4_FUNCCTX );
|
||||
if( pCtx->argc==1 ){
|
||||
if( pOp->p4type!=P4_FUNCCTX || pCtx->argc==1 ){
|
||||
sqlite3_str_appendf(&x, "%d", v1);
|
||||
}else if( pCtx->argc>1 ){
|
||||
sqlite3_str_appendf(&x, "%d..%d", v1, v1+pCtx->argc-1);
|
||||
|
||||
Reference in New Issue
Block a user