From 58b473f3d5570fca94b88398e0e4314208a077cd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 12 Sep 2013 19:44:29 -0700 Subject: [PATCH] Fix for new mdb.c --- Makefile | 2 -- src/btree.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3781b4f..910dc4a 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,6 @@ SHPREFIX = lib #TCL_FLAGS = -I/home/drh/tcltk/8.5linux #TCL_FLAGS = -I/home/drh/tcltk/8.5win -DSTATIC_BUILD=1 #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux -TCL_FLAGS = -I/usr/include/tcl8.4 #### Linker options needed to link against the TCL library. # @@ -106,7 +105,6 @@ TCL_FLAGS = -I/usr/include/tcl8.4 #LIBTCL = /home/drh/tcltk/8.5linux/libtcl8.5g.a -lm -ldl #LIBTCL = /home/drh/tcltk/8.5win/libtcl85s.a -lmsvcrt #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc -LIBTCL = -ltcl8.4 #### Additional objects for SQLite library when TCL support is enabled. #TCLOBJ = diff --git a/src/btree.c b/src/btree.c index e3a5e70..3bf2f44 100644 --- a/src/btree.c +++ b/src/btree.c @@ -631,7 +631,7 @@ void sqlite3BtreeCursorZero(BtCursor *p){ p->index.mv_data = NULL; p->index.mv_size = 0; mc->mc_next = 0; - mc->mc_orig = 0; + mc->mc_backup = 0; mc->mc_xcursor = 0; mc->mc_txn = 0; mc->mc_dbi = 0;