mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
When changing a large integer into a floating point value, cancel the
string representation. Fix for [forum:/forumpost/5c74a3bc4a|forum post 5c74a3bc4a]. FossilOrigin-Name: 3e2da8a7e35c839128d26aac575605e1e34889e8ab3484440bdd65c4d752c6bb
This commit is contained in:
@@ -3240,7 +3240,7 @@ case OP_Affinity: {
|
||||
}else{
|
||||
pIn1->u.r = (double)pIn1->u.i;
|
||||
pIn1->flags |= MEM_Real;
|
||||
pIn1->flags &= ~MEM_Int;
|
||||
pIn1->flags &= ~(MEM_Int|MEM_Str);
|
||||
}
|
||||
}
|
||||
REGISTER_TRACE((int)(pIn1-aMem), pIn1);
|
||||
|
Reference in New Issue
Block a user