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

Bug fix in vdbe.c - variable declarations must come before code in ANSI C. (CVS 1440)

FossilOrigin-Name: c36203de22f673691783529e06ce5a58bcebeedc
This commit is contained in:
drh
2004-05-22 11:09:30 +00:00
parent fe7fdb7344
commit 60ca804396
3 changed files with 10 additions and 10 deletions

View File

@@ -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.318 2004/05/22 10:33:04 danielk1977 Exp $
** $Id: vdbe.c,v 1.319 2004/05/22 11:09:30 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -4712,9 +4712,9 @@ case OP_SortPut: {
case OP_Sort: {
int i;
KeyInfo *pKeyInfo = (KeyInfo*)pOp->p3;
pKeyInfo->enc = p->db->enc;
Sorter *pElem;
Sorter *apSorter[NSORT];
pKeyInfo->enc = p->db->enc;
for(i=0; i<NSORT; i++){
apSorter[i] = 0;
}