1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

:-) (CVS 65)

FossilOrigin-Name: 80ee166ed1bb3694530a73c57544cb4d16964884
This commit is contained in:
drh
2000-06-07 00:12:24 +00:00
parent f500577561
commit 596925440c
5 changed files with 111 additions and 13 deletions

View File

@@ -41,7 +41,7 @@
** But other routines are also provided to help in building up
** a program instruction by instruction.
**
** $Id: vdbe.c,v 1.24 2000/06/06 22:13:55 drh Exp $
** $Id: vdbe.c,v 1.25 2000/06/07 00:12:25 drh Exp $
*/
#include "sqliteInt.h"
#include <unistd.h>
@@ -2375,9 +2375,9 @@ int sqliteVdbeExec(
zNewKey = sqliteMalloc( nByte );
if( zNewKey==0 ) goto no_mem;
j = 0;
k = nField-1;
k = 0;
for(i=p->tos-nField+1; i<=p->tos; i++){
zNewKey[j++] = pOp->p3[k--];
zNewKey[j++] = pOp->p3[k++];
memcpy(&zNewKey[j], p->zStack[i], p->aStack[i].n-1);
j += p->aStack[i].n-1;
zNewKey[j++] = 0;