aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2004-05-22 11:09:30 +0000
committerdrh <drh@noemail.net>2004-05-22 11:09:30 +0000
commit60ca804396e6e94323f6293d2796f856dc6acba6 (patch)
tree7be147aaf9fe7571d6ca832f44f0f910859f9e78 /src
parentfe7fdb734428a042c57972030ead4fe4bf51c837 (diff)
downloadsqlite-60ca804396e6e94323f6293d2796f856dc6acba6.tar.gz
sqlite-60ca804396e6e94323f6293d2796f856dc6acba6.zip
Bug fix in vdbe.c - variable declarations must come before code in ANSI C. (CVS 1440)
FossilOrigin-Name: c36203de22f673691783529e06ce5a58bcebeedc
Diffstat (limited to 'src')
-rw-r--r--src/vdbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdbe.c b/src/vdbe.c
index 1b675f928..fb655f039 100644
--- a/src/vdbe.c
+++ b/src/vdbe.c
@@ -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;
}