Changeset: 346077203679 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=346077203679
Modified Files:
        gdk/gdk_utils.c
Branch: Oct2014
Log Message:

Remove THRerrorcount.  It serves no useful purpose that I can see.
And this may well fix bug 3688.


diffs (19 lines):

diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c
--- a/gdk/gdk_utils.c
+++ b/gdk/gdk_utils.c
@@ -1364,7 +1364,6 @@ GDKunlockHome(void)
  * GDKerrorCount(); Furthermore, threads may have set their private
  * error buffer.
  */
-static int THRerrorcount[THREADDATA];
 
 /* do the real work for GDKaddbuf below. */
 static void
@@ -1372,7 +1371,6 @@ doGDKaddbuf(const char *prefix, const ch
 {
        char *buf;
 
-       THRerrorcount[THRgettid()]++;
        buf = GDKerrbuf;
        if (buf) {
                char *dst = buf + strlen(buf);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to