Changeset: 3764d1624ce4 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3764d1624ce4
Modified Files:
        .hgtags
        MonetDB.spec
        NT/monetdb_config.h.in
        NT/rules.msc
        buildtools/ChangeLog-Archive
        buildtools/ChangeLog.Apr2019
        clients/mapilib/mapi.rc
        clients/odbc/driver/driver.rc
        clients/odbc/winsetup/setup.rc
        configure.ag
        debian/changelog
        gdk/ChangeLog-Archive
        gdk/ChangeLog.Apr2019
        gdk/gdk_system.c
        gdk/libbat.rc
        libversions
        monetdb5/tools/libmonetdb5.rc
        sql/ChangeLog-Archive
        sql/ChangeLog.Apr2019
        sql/backends/monet5/sql_scenario.c
        sql/backends/monet5/sql_upgrades.c
        sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.int128
        
sql/test/emptydb-upgrade-chain-hge/Tests/upgrade.stable.out.powerpc64.int128
        sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out
        sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.32bit
        sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.int128
        sql/test/emptydb-upgrade-chain/Tests/upgrade.stable.out.powerpc64.int128
        sql/test/emptydb-upgrade-hge/Tests/upgrade.stable.out.int128
        sql/test/emptydb-upgrade/Tests/upgrade.stable.out
        sql/test/emptydb-upgrade/Tests/upgrade.stable.out.32bit
        sql/test/emptydb-upgrade/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade-chain-hge/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out
        sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.32bit
        sql/test/testdb-upgrade-chain/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade-hge/Tests/upgrade.stable.out.int128
        sql/test/testdb-upgrade/Tests/upgrade.stable.out
        sql/test/testdb-upgrade/Tests/upgrade.stable.out.32bit
        sql/test/testdb-upgrade/Tests/upgrade.stable.out.int128
        vertoo.data
Branch: candidate-exceptions
Log Message:

Merge with default branch.


diffs (truncated from 743 to 300 lines):

diff --git a/.hgtags b/.hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -725,3 +725,5 @@ 643dfa328c71d7891c8358b4969aa9ebf81e0f4c
 2c9089e1dde297caaf347bf27f88b10e5622a735 Apr2019_3
 643dfa328c71d7891c8358b4969aa9ebf81e0f4c Apr2019_release
 2c9089e1dde297caaf347bf27f88b10e5622a735 Apr2019_release
+2366418b3d88b268117a6f981638c4da686497aa Apr2019_5
+2366418b3d88b268117a6f981638c4da686497aa Apr2019_SP1_release
diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -113,7 +113,7 @@ Group: Applications/Databases
 License: MPLv2.0
 URL: https://www.monetdb.org/
 BugURL: https://bugs.monetdb.org/
-Source: 
https://www.monetdb.org/downloads/sources/Apr2019/%{name}-%{version}.tar.bz2
+Source: 
https://www.monetdb.org/downloads/sources/Apr2019-SP1/%{name}-%{version}.tar.bz2
 
 # we need systemd for the _unitdir macro to exist
 # we need checkpolicy and selinux-policy-devel for the SELinux policy
@@ -1061,6 +1061,56 @@ done
 %postun -p /sbin/ldconfig
 
 %changelog
+* Thu Aug 01 2019 Panagiotis Koutsourakis <kutsu...@monetdbsolutions.com> - 
11.33.5-20190801
+- Rebuilt.
+- BZ#6697: Duplicate expressions not eliminated with long CASE statement
+- BZ#6701: When changing the schema name of a table, referencing rows
+  from sys.columns, sys.keys and more tables are not removed
+- BZ#6703: SQL optimizer enters loop and goes into stack overflow
+- BZ#6706: prepare doesn't recognize merge statement
+- BZ#6712: Where clause with cast ignores sub-select
+- BZ#6713: COPY INTO FROM 'file.xz' does not work
+- BZ#6714: Assertion failure in rel_select.c for correlated subquery in
+  aggregation query (with group by and having and order by and limit)
+- BZ#6715: Assertion failure in rel_bin.c for MERGE INTO command
+- BZ#6716: COPY INTO does not load UTF8 encoded text
+- BZ#6718: Can't copy table into another table with constraints
+  (mkey.bulk_rotate_xor_hash)
+- BZ#6720: Compilation issues on gcc 9.1.1 [-Werror=stringop-truncation]
+- BZ#6721: Possibly incorrect call to pcre_exec
+- BZ#6725: Prepare statement on non-existing function crashes
+- BZ#6728: SELECT DISTINCT not removing duplicates
+- BZ#6729: Creating a table with duplicate column name should not
+  be possible
+- BZ#6730: sys.stop or sys.pause a INSERT query triggers "BATproject:
+  does not match always"
+- BZ#6736: Unexpected query result with merge tables and view after
+  upgrade
+- BZ#6738: issue with window functions and hugeint type coercion
+
+* Mon Jul 15 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.5-20190801
+- gdk: We now look at the limits imposed by cgroups and the setrlimit system
+  call to initialize some internal values related to how much (virtual)
+  memory we think is available.
+
+* Fri Jul 12 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.5-20190801
+- buildtools: Removed restriction on using combinations of --enable-assert,
+  --enable-debug,  and --enable-optimize.  --enable-debug adds a -g (or
+  -even -g3) option, --enable-debug=gdb adds a -ggdb3 flag (for GCC);
+  --enable-optimize adds a bunch of optimization flags; --disable-debug
+  (or --enable-debug=no) removes any -g flags; --disable-optimize
+  removes any -O flags; --enable-optimize=auto leaves the optimization
+  flags untouched.
+
+* Fri Jun  7 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.5-20190801
+- sql: Changed the internal representation of RANGE MINVALUE and RANGE MAXVALUE
+  in MERGE TABLE partitions.  Before, the limits were represented by
+  the smallest and largest value of the domain of the column, now these
+  are represented by a NULL value.  This has the added benefit that if
+  you use TO RANGE MAXVALUE, the largest value of the domain is included
+  in the partition (before it wasn't).  Also, these new limits now work
+  for any ordered type, so including VARCHAR.
+
 * Fri Apr 26 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.3-20190426
 - Rebuilt.
 - BZ#6647: Add suport to Python 3 on Windows
diff --git a/buildtools/ChangeLog-Archive b/buildtools/ChangeLog-Archive
--- a/buildtools/ChangeLog-Archive
+++ b/buildtools/ChangeLog-Archive
@@ -1,6 +1,15 @@
 # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY
 # This file contains past ChangeLog entries
 
+* Fri Jul 12 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.5-20190801
+- Removed restriction on using combinations of --enable-assert,
+  --enable-debug,  and --enable-optimize.  --enable-debug adds a -g (or
+  -even -g3) option, --enable-debug=gdb adds a -ggdb3 flag (for GCC);
+  --enable-optimize adds a bunch of optimization flags; --disable-debug
+  (or --enable-debug=no) removes any -g flags; --disable-optimize
+  removes any -O flags; --enable-optimize=auto leaves the optimization
+  flags untouched.
+
 * Tue Mar 19 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.1-20190405
 - We now use the C11 atomic operations if available, although
   libatomic_ops is still used if present and not disabled on the configure
diff --git a/buildtools/ChangeLog.Apr2019 b/buildtools/ChangeLog.Apr2019
--- a/buildtools/ChangeLog.Apr2019
+++ b/buildtools/ChangeLog.Apr2019
@@ -1,12 +1,3 @@
 # ChangeLog file for buildtools
 # This file is updated with Maddlog
 
-* Fri Jul 12 2019 Sjoerd Mullender <sjo...@acm.org>
-- Removed restriction on using combinations of --enable-assert,
-  --enable-debug,  and --enable-optimize.  --enable-debug adds a -g (or
-  -even -g3) option, --enable-debug=gdb adds a -ggdb3 flag (for GCC);
-  --enable-optimize adds a bunch of optimization flags; --disable-debug
-  (or --enable-debug=no) removes any -g flags; --disable-optimize
-  removes any -O flags; --enable-optimize=auto leaves the optimization
-  flags untouched.
-
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,65 @@
+monetdb (11.33.5) unstable; urgency=low
+
+  * Rebuilt.
+  * BZ#6697: Duplicate expressions not eliminated with long CASE statement
+  * BZ#6701: When changing the schema name of a table, referencing rows
+    from sys.columns, sys.keys and more tables are not removed
+  * BZ#6703: SQL optimizer enters loop and goes into stack overflow
+  * BZ#6706: prepare doesn't recognize merge statement
+  * BZ#6712: Where clause with cast ignores sub-select
+  * BZ#6713: COPY INTO FROM 'file.xz' does not work
+  * BZ#6714: Assertion failure in rel_select.c for correlated subquery in
+    aggregation query (with group by and having and order by and limit)
+  * BZ#6715: Assertion failure in rel_bin.c for MERGE INTO command
+  * BZ#6716: COPY INTO does not load UTF8 encoded text
+  * BZ#6718: Can't copy table into another table with constraints
+    (mkey.bulk_rotate_xor_hash)
+  * BZ#6720: Compilation issues on gcc 9.1.1 [-Werror=stringop-truncation]
+  * BZ#6721: Possibly incorrect call to pcre_exec
+  * BZ#6725: Prepare statement on non-existing function crashes
+  * BZ#6728: SELECT DISTINCT not removing duplicates
+  * BZ#6729: Creating a table with duplicate column name should not
+    be possible
+  * BZ#6730: sys.stop or sys.pause a INSERT query triggers "BATproject:
+    does not match always"
+  * BZ#6736: Unexpected query result with merge tables and view after
+    upgrade
+  * BZ#6738: issue with window functions and hugeint type coercion
+
+ -- Panagiotis Koutsourakis <kutsu...@monetdbsolutions.com>  Thu, 01 Aug 2019 
11:56:38 +0200
+
+monetdb (11.33.5) unstable; urgency=low
+
+  * gdk: We now look at the limits imposed by cgroups and the setrlimit system
+    call to initialize some internal values related to how much (virtual)
+    memory we think is available.
+
+ -- Sjoerd Mullender <sjo...@acm.org>  Mon, 15 Jul 2019 11:56:38 +0200
+
+monetdb (11.33.5) unstable; urgency=low
+
+  * buildtools: Removed restriction on using combinations of --enable-assert,
+    --enable-debug,  and --enable-optimize.  --enable-debug adds a -g (or
+    -even -g3) option, --enable-debug=gdb adds a -ggdb3 flag (for GCC);
+    --enable-optimize adds a bunch of optimization flags; --disable-debug
+    (or --enable-debug=no) removes any -g flags; --disable-optimize
+    removes any -O flags; --enable-optimize=auto leaves the optimization
+    flags untouched.
+
+ -- Sjoerd Mullender <sjo...@acm.org>  Fri, 12 Jul 2019 11:56:38 +0200
+
+monetdb (11.33.5) unstable; urgency=low
+
+  * sql: Changed the internal representation of RANGE MINVALUE and RANGE 
MAXVALUE
+    in MERGE TABLE partitions.  Before, the limits were represented by
+    the smallest and largest value of the domain of the column, now these
+    are represented by a NULL value.  This has the added benefit that if
+    you use TO RANGE MAXVALUE, the largest value of the domain is included
+    in the partition (before it wasn't).  Also, these new limits now work
+    for any ordered type, so including VARCHAR.
+
+ -- Sjoerd Mullender <sjo...@acm.org>  Fri, 7 Jun 2019 11:56:38 +0200
+
 monetdb (11.33.3) unstable; urgency=low
 
   * Rebuilt.
diff --git a/gdk/ChangeLog-Archive b/gdk/ChangeLog-Archive
--- a/gdk/ChangeLog-Archive
+++ b/gdk/ChangeLog-Archive
@@ -1,6 +1,11 @@
 # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY
 # This file contains past ChangeLog entries
 
+* Mon Jul 15 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.5-20190801
+- We now look at the limits imposed by cgroups and the setrlimit system
+  call to initialize some internal values related to how much (virtual)
+  memory we think is available.
+
 * Tue Mar 19 2019 Sjoerd Mullender <sjo...@acm.org> - 11.33.1-20190405
 - During processing, we now try to maintain the smallest and largest
   values that occur in a BAT.  This information is not saved across
diff --git a/gdk/ChangeLog.Apr2019 b/gdk/ChangeLog.Apr2019
--- a/gdk/ChangeLog.Apr2019
+++ b/gdk/ChangeLog.Apr2019
@@ -1,8 +1,3 @@
 # ChangeLog file for MonetDB
 # This file is updated with Maddlog
 
-* Mon Jul 15 2019 Sjoerd Mullender <sjo...@acm.org>
-- We now look at the limits imposed by cgroups and the setrlimit system
-  call to initialize some internal values related to how much (virtual)
-  memory we think is available.
-
diff --git a/gdk/gdk_system.c b/gdk/gdk_system.c
--- a/gdk/gdk_system.c
+++ b/gdk/gdk_system.c
@@ -388,17 +388,17 @@ MT_create_thread(MT_Id *t, void (*f) (vo
        ATOMIC_INIT(&w->exited, 0);
        strncpy(w->threadname, threadname, sizeof(w->threadname));
        w->threadname[sizeof(w->threadname) - 1] = 0;
+       THRDDEBUG fprintf(stderr, "#create \"%s\" \"%s\"\n", 
MT_thread_getname(), threadname);
        EnterCriticalSection(&winthread_cs);
+       w->hdl = CreateThread(NULL, THREAD_STACK_SIZE, thread_starter, w,
+                             0, &w->tid);
+       if (w->hdl == NULL) {
+               LeaveCriticalSection(&winthread_cs);
+               return -1;
+       }
        w->next = winthreads;
        winthreads = w;
        LeaveCriticalSection(&winthread_cs);
-       THRDDEBUG fprintf(stderr, "#create \"%s\" \"%s\"\n", 
MT_thread_getname(), threadname);
-       w->hdl = CreateThread(NULL, THREAD_STACK_SIZE, thread_starter, w,
-                             0, &w->tid);
-       if (w->hdl == NULL) {
-               rm_winthread(w);
-               return -1;
-       }
        /* must not fail after this: the thread has been started */
        *t = (MT_Id) w->tid;
        return 0;
@@ -746,27 +746,28 @@ MT_create_thread(MT_Id *t, void (*f) (vo
        ATOMIC_INIT(&p->exited, 0);
 
        memcpy(p->threadname, threadname, tlen + 1);
-       pthread_mutex_lock(&posthread_lock);
-       p->next = posthreads;
-       posthreads = p;
-       *t = p->mtid = ++MT_thread_id;
-       pthread_mutex_unlock(&posthread_lock);
 #ifdef HAVE_PTHREAD_SIGMASK
        sigset_t new_mask, orig_mask;
        (void) sigfillset(&new_mask);
        MT_thread_sigmask(&new_mask, &orig_mask);
 #endif
        THRDDEBUG fprintf(stderr, "#create \"%s\" \"%s\"\n", 
MT_thread_getname(), threadname);
+       /* protect posthreads during thread creation and only add to
+        * it after the thread was created successfully */
+       pthread_mutex_lock(&posthread_lock);
+       *t = p->mtid = ++MT_thread_id;
        ret = pthread_create(&p->tid, &attr, thread_starter, p);
        if (ret != 0) {
                fprintf(stderr,
                        "#MT_create_thread: cannot start thread: %s\n",
                        strerror(ret));
-               rm_posthread(p);
                ret = -1;
        } else {
                /* must not fail after this: the thread has been started */
+               p->next = posthreads;
+               posthreads = p;
        }
+       pthread_mutex_unlock(&posthread_lock);
 #ifdef HAVE_PTHREAD_SIGMASK
        MT_thread_sigmask(&orig_mask, NULL);
 #endif
diff --git a/libversions b/libversions
--- a/libversions
+++ b/libversions
@@ -36,13 +36,13 @@
 
 # version of the GDK library (subdirectory gdk; also includes
 # common/options and common/utils)
-GDK_VERSION=18:1:0
+GDK_VERSION=18:2:0
 
 # version of the MAPI library (subdirectory clients/mapilib)
-MAPI_VERSION=12:0:0
+MAPI_VERSION=12:1:0
 
-# version of the MONETDB5 library (subdirectory monetdb5, not including extras)
-MONETDB5_VERSION=27:1:0
+# version of the MONETDB5 library (subdirectory monetdb5, not including extras 
or sql)
+MONETDB5_VERSION=27:2:0
 
 # version of the STREAM library (subdirectory common/stream)
-STREAM_VERSION=13:1:0
+STREAM_VERSION=13:2:0
diff --git a/sql/ChangeLog-Archive b/sql/ChangeLog-Archive
--- a/sql/ChangeLog-Archive
+++ b/sql/ChangeLog-Archive
@@ -1,6 +1,15 @@
 # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY
 # This file contains past ChangeLog entries
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to