}
bool close() {
- return m_jb ? ejdbclose(m_jb) : false;
+ if (m_jb) {
+ ejdbclose(m_jb);
+ ejdbdel(m_jb);
+ m_jb = NULL;
+ return true;
+ } else {
+ return false;
+ }
}
const char* _jb_error_msg() {
{
"name" : "ejdb",
- "version" : "1.1.5-0",
+ "version" : "1.1.6-0",
"config" : {
"windownloadurl_ia32" : "http://dl.dropboxusercontent.com/u/4709222/ejdb/tcejdb-1.1.3-mingw32-i686.zip",
"windownloadurl_x64" : "http://dl.dropboxusercontent.com/u/4709222/ejdb/tcejdb-1.1.3-mingw32-x86_64.zip"
test -n "$LDFLAGS" && MYLDFLAGS="$LDFLAGS $MYLDFLAGS"
# Package name
-AC_INIT(tcejdb, 1.1.5)
+AC_INIT(tcejdb, 1.1.6)
AC_CANONICAL_HOST
# Package information
+libtcejdb (1.1.6) testing; urgency=low
+
+ * Better error reporting in the case of lack pthread resources.
+
+ -- Anton Adamansky <adamansky@gmail.com> Sat, 25 May 2013 18:22:07 +0700
+
libtcejdb (1.1.5-0) testing; urgency=low
* TCHDB locking optimization
TCFREE(hdb->eckey);
hdb->eckey = NULL;
HDBUNLOCKMETHOD(hdb);
+ tchdbsetecode(hdb, TCETHREAD, __FILE__, __LINE__, __func__);
return false;
}
}