From 433d1172c62dd2afbc8d5c2da6a79f87d5686f38 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 12 Jan 2013 17:38:21 +0700 Subject: [PATCH] Fixed #35 --- node/ejdb_native.cc | 4 ++++ node/nodejs | 2 +- package.json | 2 +- tcejdb/configure | 18 +++++++++--------- tcejdb/configure.ac | 2 +- 5 files changed, 16 insertions(+), 12 deletions(-) diff --git a/node/ejdb_native.cc b/node/ejdb_native.cc index bea95cc..c03b613 100644 --- a/node/ejdb_native.cc +++ b/node/ejdb_native.cc @@ -470,6 +470,10 @@ namespace ejdb { } } ctx->nlevel--; + it = ctx->tset.find(obj); + if (it != ctx->tset.end()) { + ctx->tset.erase(it); + } } /** Convert V8 object into binary json instance. After usage, it must be freed by bson_del() */ diff --git a/node/nodejs b/node/nodejs index 1c9c627..27ed8b0 160000 --- a/node/nodejs +++ b/node/nodejs @@ -1 +1 @@ -Subproject commit 1c9c6277d5cfcaaac8569c0c8f7daa64292048a9 +Subproject commit 27ed8b05d1b0aed074d3363d901a206d007b28bc diff --git a/package.json b/package.json index 48710ee..0700760 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "ejdb", - "version" : "1.0.48", + "version" : "1.0.49", "main" : "node/ejdb.js", "homepage" : "http://ejdb.org", "description" : "EJDB - Embedded JSON Database engine", diff --git a/tcejdb/configure b/tcejdb/configure index e49d2cf..941ce9f 100755 --- a/tcejdb/configure +++ b/tcejdb/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for tcejdb 1.0.47. +# Generated by GNU Autoconf 2.69 for tcejdb 1.0.49. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -577,8 +577,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='tcejdb' PACKAGE_TARNAME='tcejdb' -PACKAGE_VERSION='1.0.47' -PACKAGE_STRING='tcejdb 1.0.47' +PACKAGE_VERSION='1.0.49' +PACKAGE_STRING='tcejdb 1.0.49' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1258,7 +1258,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures tcejdb 1.0.47 to adapt to many kinds of systems. +\`configure' configures tcejdb 1.0.49 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1319,7 +1319,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of tcejdb 1.0.47:";; + short | recursive ) echo "Configuration of tcejdb 1.0.49:";; esac cat <<\_ACEOF @@ -1426,7 +1426,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -tcejdb configure 1.0.47 +tcejdb configure 1.0.49 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1724,7 +1724,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by tcejdb $as_me 1.0.47, which was +It was created by tcejdb $as_me 1.0.49, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -4894,7 +4894,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by tcejdb $as_me 1.0.47, which was +This file was extended by tcejdb $as_me 1.0.49, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4947,7 +4947,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -tcejdb config.status 1.0.47 +tcejdb config.status 1.0.49 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/tcejdb/configure.ac b/tcejdb/configure.ac index e6d3143..03c7feb 100644 --- a/tcejdb/configure.ac +++ b/tcejdb/configure.ac @@ -11,7 +11,7 @@ test -n "$CPPFLAGS" && MYCPPFLAGS="$CPPFLAGS $MYCPPFLAGS" test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS" # Package name -AC_INIT(tcejdb, 1.0.48) +AC_INIT(tcejdb, 1.0.49) # Package information MYLIBVER=9 -- 2.7.4