Skip to content

Commit

Permalink
Fix for new mdb.c
Browse files Browse the repository at this point in the history
  • Loading branch information
hyc committed Sep 13, 2013
1 parent 192e6af commit 58b473f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,13 @@ 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.
#
#LIBTCL = -ltcl -lm -ldl
#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 =
Expand Down
2 changes: 1 addition & 1 deletion src/btree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 58b473f

Please sign in to comment.