mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-15 11:41:13 +03:00
Fix the shift operators so that they work with 64-bit quantities. (CVS 2752)
FossilOrigin-Name: 0d3357b5f65887f7db03db2ae021f28f480f90e4
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
** in this file for details. If in doubt, do not deviate from existing
|
||||
** commenting and indentation practices when changing or adding code.
|
||||
**
|
||||
** $Id: vdbe.c,v 1.493 2005/10/20 07:28:19 drh Exp $
|
||||
** $Id: vdbe.c,v 1.494 2005/10/29 15:48:31 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include "os.h"
|
||||
@@ -1214,7 +1214,7 @@ case OP_BitOr: /* same as TK_BITOR, no-push */
|
||||
case OP_ShiftLeft: /* same as TK_LSHIFT, no-push */
|
||||
case OP_ShiftRight: { /* same as TK_RSHIFT, no-push */
|
||||
Mem *pNos = &pTos[-1];
|
||||
int a, b;
|
||||
i64 a, b;
|
||||
|
||||
assert( pNos>=p->aStack );
|
||||
if( (pTos->flags | pNos->flags) & MEM_Null ){
|
||||
|
||||
Reference in New Issue
Block a user