mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Add the sqlite3_value_frombind() interface. Use that interface to
improve fts3_tokenizer(). FossilOrigin-Name: b3f2c3205a28dc21ea7080e5e1ba246ce9c9b90c1309262ca11d8e40943ed677
This commit is contained in:
@@ -1256,7 +1256,10 @@ case OP_Variable: { /* out2 */
|
||||
goto too_big;
|
||||
}
|
||||
pOut = &aMem[pOp->p2];
|
||||
sqlite3VdbeMemShallowCopy(pOut, pVar, MEM_Static);
|
||||
if( VdbeMemDynamic(pOut) ) sqlite3VdbeMemSetNull(pOut);
|
||||
memcpy(pOut, pVar, MEMCELLSIZE);
|
||||
pOut->flags &= ~(MEM_Dyn|MEM_Ephem);
|
||||
pOut->flags |= MEM_Static|MEM_FromBind;
|
||||
UPDATE_MAX_BLOBSIZE(pOut);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user