Changeset: 1a27905f84a6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1a27905f84a6
Modified Files:
        sql/backends/monet5/sql.c
        sql/storage/bat/bat_storage.c
Branch: github_7273
Log Message:

Merge with default.


diffs (truncated from 2224 to 300 lines):

diff --git a/.hgtags b/.hgtags
--- a/.hgtags
+++ b/.hgtags
@@ -759,3 +759,5 @@ db3cec8ea853884e857fcfb413428116cb95e786
 8c015afafb5903ea59b0e2cffac1138a0d82e007 Jul2021_19
 8c015afafb5903ea59b0e2cffac1138a0d82e007 Jul2021_SP4_release
 cab90a348501b045e19cee5cebcc44f3800bd0a8 Jul2021_21
+cab90a348501b045e19cee5cebcc44f3800bd0a8 Jul2021_SP5_release
+5872f047d97c98d3a848514438b8f97fa446855d Jan2022_11
diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -81,7 +81,7 @@ Group: Applications/Databases
 License: MPLv2.0
 URL: https://www.monetdb.org/
 BugURL: https://bugs.monetdb.org/
-Source: 
https://www.monetdb.org/downloads/sources/Jan2022-SP1/%{name}-%{version}.tar.bz2
+Source: 
https://www.monetdb.org/downloads/sources/Jan2022-SP2/%{name}-%{version}.tar.bz2
 
 # The Fedora packaging document says we need systemd-rpm-macros for
 # the _unitdir and _tmpfilesdir macros to exist; however on RHEL 7
@@ -848,6 +848,37 @@ fi
 %endif
 
 %changelog
+* Fri Mar 25 2022 Sjoerd Mullender <[email protected]> - 11.43.11-20220325
+- Rebuilt.
+- GH#7252: Segmentation fault on second run
+- GH#7253: Extremely slow INSERT INTO <table> SELECT
+- GH#7254: Commit with deletions is very slow
+- GH#7263: PRIMARY KEY constraint is not persistent through server restarts
+- GH#7267: Update after delete does not update some rows
+
+* Fri Mar 18 2022 Sjoerd Mullender <[email protected]> - 11.43.11-20220325
+- gdk: Fixed a race condition which could cause a too large size being written
+  for a .theap file to the BBP.dir file after the correct size file had
+  been saved to disk.
+- gdk: We now ignore the size and capacity columns in the BBP.dir file.
+  These values are essential during run time, but not useful in the
+  on-disk image of the database.
+
+* Wed Mar  9 2022 Sjoerd Mullender <[email protected]> - 11.43.11-20220325
+- gdk: Fixed a bug in the append code for msk (bit mask) bats.
+- gdk: Conversions from floating point types to integral types that involve
+  multiplication now use the "long double" as intermediate type, thereby
+  loosing as few significant bits as is feasible.
+- gdk: Found and fixed another source for the now infamous BBPcheckbats error
+  that sometimes occurs at startup of the server.
+
+* Wed Feb 16 2022 Sjoerd Mullender <[email protected]> - 11.43.11-20220325
+- clients: Improved the handling of the \r (internal pager) command in mclient.
+  It now properly counts the header of table, and when a (very) long
+  table is being printed and aborted part way in the built-in pager, not
+  all data is transferred to the client (and then discarded).  Instead
+  at most 1000 rows are transferred.
+
 * Mon Feb 07 2022 Sjoerd Mullender <[email protected]> - 11.43.9-20220207
 - Rebuilt.
 - GH#7237: SELECT with concurrent writes rarely returns corrupt data
diff --git a/clients/ChangeLog-Archive b/clients/ChangeLog-Archive
--- a/clients/ChangeLog-Archive
+++ b/clients/ChangeLog-Archive
@@ -1,6 +1,13 @@
 # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY
 # This file contains past ChangeLog entries
 
+* Wed Feb 16 2022 Sjoerd Mullender <[email protected]> - 11.43.11-20220325
+- Improved the handling of the \r (internal pager) command in mclient.
+  It now properly counts the header of table, and when a (very) long
+  table is being printed and aborted part way in the built-in pager, not
+  all data is transferred to the client (and then discarded).  Instead
+  at most 1000 rows are transferred.
+
 * Wed Aug 11 2021 Sjoerd Mullender <[email protected]> - 11.43.1-20220103
 - A new output formatting mode was added to mclient.  Use -fcsv-noquote
   to produce a CSV (comma-separated values) output where the quote
diff --git a/clients/ChangeLog.Jan2022 b/clients/ChangeLog.Jan2022
--- a/clients/ChangeLog.Jan2022
+++ b/clients/ChangeLog.Jan2022
@@ -1,10 +1,3 @@
 # ChangeLog file for clients
 # This file is updated with Maddlog
 
-* Wed Feb 16 2022 Sjoerd Mullender <[email protected]>
-- Improved the handling of the \r (internal pager) command in mclient.
-  It now properly counts the header of table, and when a (very) long
-  table is being printed and aborted part way in the built-in pager, not
-  all data is transferred to the client (and then discarded).  Instead
-  at most 1000 rows are transferred.
-
diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out
--- a/clients/Tests/exports.stable.out
+++ b/clients/Tests/exports.stable.out
@@ -115,6 +115,7 @@ BAT *BATconvert(BAT *b, BAT *s, int tp, 
 BUN BATcount_no_nil(BAT *b, BAT *s);
 gdk_return BATdel(BAT *b, BAT *d) __attribute__((__warn_unused_result__));
 BAT *BATdense(oid hseq, oid tseq, BUN cnt) 
__attribute__((__warn_unused_result__));
+BAT *BATdescriptor(bat i);
 BAT *BATdiff(BAT *l, BAT *r, BAT *sl, BAT *sr, bool nil_matches, bool not_in, 
BUN estimate);
 BAT *BATdiffcand(BAT *a, BAT *b);
 BAT *BATdiffcand(BAT *a, BAT *b);
@@ -208,7 +209,6 @@ gdk_return BATupdatepos(BAT *b, const oi
 BBPrec *BBP[N_BBPINIT];
 gdk_return BBPaddfarm(const char *dirname, uint32_t rolemask, bool logerror);
 void BBPcold(bat i);
-BAT *BBPdescriptor(bat b);
 int BBPfix(bat b);
 bat BBPindex(const char *nme);
 void BBPkeepref(BAT *b) __attribute__((__nonnull__(1)));
@@ -217,7 +217,7 @@ void BBPlock(void);
 BAT *BBPquickdesc(bat b);
 int BBPreclaim(BAT *b);
 int BBPrelease(bat b);
-int BBPrename(bat bid, const char *nme);
+int BBPrename(BAT *b, const char *nme);
 int BBPretain(bat b);
 gdk_return BBPsave(BAT *b);
 void BBPshare(bat b);
@@ -404,7 +404,6 @@ void *THRgetdata(int);
 int THRgettid(void);
 int THRhighwater(void);
 void THRsetdata(int, void *);
-void TMabort(void);
 gdk_return TMcommit(void);
 gdk_return TMsubcommit(BAT *bl);
 gdk_return TMsubcommit_list(bat *restrict subcommit, BUN *restrict sizes, int 
cnt, lng logno, lng transid);
@@ -795,13 +794,6 @@ str TABLETcreate_bats(Tablet *as, BUN es
 void TABLETdestroy_format(Tablet *as);
 int TABLEToutput_file(Tablet *as, BAT *order, stream *s);
 int TRACEtable(Client cntxt, BAT **r);
-str TRNglobal_abort(bit *ret);
-str TRNglobal_commit(bit *ret);
-str TRNglobal_sync(bit *ret);
-str TRNsubcommit(bit *ret, bat *bid);
-str TRNtrans_abort(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
-str TRNtrans_clean(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
-str TRNtrans_commit(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
 int TYPE_xml;
 UserStats USRstats;
 str WLCcommit(int clientid);
diff --git a/cmake/monetdb-versions.cmake b/cmake/monetdb-versions.cmake
--- a/cmake/monetdb-versions.cmake
+++ b/cmake/monetdb-versions.cmake
@@ -40,19 +40,19 @@ set(MONETDB_VERSION "${MONETDB_VERSION_M
 # common/options and common/utils)
 set(GDK_VERSION_MAJOR "25")
 set(GDK_VERSION_MINOR "0")
-set(GDK_VERSION_PATCH "2")
+set(GDK_VERSION_PATCH "3")
 set(GDK_VERSION 
"${GDK_VERSION_MAJOR}.${GDK_VERSION_MINOR}.${GDK_VERSION_PATCH}")
 
 # version of the MAPI library (subdirectory clients/mapilib)
 set(MAPI_VERSION_MAJOR "14")
 set(MAPI_VERSION_MINOR "0")
-set(MAPI_VERSION_PATCH "0")
+set(MAPI_VERSION_PATCH "1")
 set(MAPI_VERSION 
"${MAPI_VERSION_MAJOR}.${MAPI_VERSION_MINOR}.${MAPI_VERSION_PATCH}")
 
 # version of the MONETDB5 library (subdirectory monetdb5, not including extras 
or sql)
 set(MONETDB5_VERSION_MAJOR "32")
 set(MONETDB5_VERSION_MINOR "0")
-set(MONETDB5_VERSION_PATCH "3")
+set(MONETDB5_VERSION_PATCH "4")
 set(MONETDB5_VERSION 
"${MONETDB5_VERSION_MAJOR}.${MONETDB5_VERSION_MINOR}.${MONETDB5_VERSION_PATCH}")
 
 # version of the MONETDBE library (subdirectory tools/monetdbe)
@@ -64,11 +64,11 @@ set(MONETDBE_VERSION "${MONETDBE_VERSION
 # version of the STREAM library (subdirectory common/stream)
 set(STREAM_VERSION_MAJOR "16")
 set(STREAM_VERSION_MINOR "0")
-set(STREAM_VERSION_PATCH "0")
+set(STREAM_VERSION_PATCH "1")
 set(STREAM_VERSION 
"${STREAM_VERSION_MAJOR}.${STREAM_VERSION_MINOR}.${STREAM_VERSION_PATCH}")
 
 # version of the SQL library (subdirectory sql)
 set(SQL_VERSION_MAJOR "12")
 set(SQL_VERSION_MINOR "0")
-set(SQL_VERSION_PATCH "2")
+set(SQL_VERSION_PATCH "3")
 set(SQL_VERSION 
"${SQL_VERSION_MAJOR}.${SQL_VERSION_MINOR}.${SQL_VERSION_PATCH}")
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,46 @@
+monetdb (11.43.11) unstable; urgency=low
+
+  * Rebuilt.
+  * GH#7252: Segmentation fault on second run
+  * GH#7253: Extremely slow INSERT INTO <table> SELECT
+  * GH#7254: Commit with deletions is very slow
+  * GH#7263: PRIMARY KEY constraint is not persistent through server restarts
+  * GH#7267: Update after delete does not update some rows
+
+ -- Sjoerd Mullender <[email protected]>  Fri, 25 Mar 2022 09:53:47 +0100
+
+monetdb (11.43.11) unstable; urgency=low
+
+  * gdk: Fixed a race condition which could cause a too large size being 
written
+    for a .theap file to the BBP.dir file after the correct size file had
+    been saved to disk.
+  * gdk: We now ignore the size and capacity columns in the BBP.dir file.
+    These values are essential during run time, but not useful in the
+    on-disk image of the database.
+
+ -- Sjoerd Mullender <[email protected]>  Fri, 18 Mar 2022 09:53:47 +0100
+
+monetdb (11.43.11) unstable; urgency=low
+
+  * gdk: Fixed a bug in the append code for msk (bit mask) bats.
+  * gdk: Conversions from floating point types to integral types that involve
+    multiplication now use the "long double" as intermediate type, thereby
+    loosing as few significant bits as is feasible.
+  * gdk: Found and fixed another source for the now infamous BBPcheckbats error
+    that sometimes occurs at startup of the server.
+
+ -- Sjoerd Mullender <[email protected]>  Wed, 9 Mar 2022 09:53:47 +0100
+
+monetdb (11.43.11) unstable; urgency=low
+
+  * clients: Improved the handling of the \r (internal pager) command in 
mclient.
+    It now properly counts the header of table, and when a (very) long
+    table is being printed and aborted part way in the built-in pager, not
+    all data is transferred to the client (and then discarded).  Instead
+    at most 1000 rows are transferred.
+
+ -- Sjoerd Mullender <[email protected]>  Wed, 16 Feb 2022 09:53:47 +0100
+
 monetdb (11.43.9) 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,22 @@
 # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY
 # This file contains past ChangeLog entries
 
+* Fri Mar 18 2022 Sjoerd Mullender <[email protected]> - 11.43.11-20220325
+- Fixed a race condition which could cause a too large size being written
+  for a .theap file to the BBP.dir file after the correct size file had
+  been saved to disk.
+- We now ignore the size and capacity columns in the BBP.dir file.
+  These values are essential during run time, but not useful in the
+  on-disk image of the database.
+
+* Wed Mar  9 2022 Sjoerd Mullender <[email protected]> - 11.43.11-20220325
+- Fixed a bug in the append code for msk (bit mask) bats.
+- Conversions from floating point types to integral types that involve
+  multiplication now use the "long double" as intermediate type, thereby
+  loosing as few significant bits as is feasible.
+- Found and fixed another source for the now infamous BBPcheckbats error
+  that sometimes occurs at startup of the server.
+
 * Wed Jan 12 2022 Panagiotis Koutsourakis <[email protected]> - 
11.43.5-20220118
 - Implement string imprints (strimps for short) a pre-filter structure
   for strings in order to accelerate LIKE queries. If a strimp exists
diff --git a/gdk/ChangeLog.Jan2022 b/gdk/ChangeLog.Jan2022
--- a/gdk/ChangeLog.Jan2022
+++ b/gdk/ChangeLog.Jan2022
@@ -1,19 +1,3 @@
 # ChangeLog file for GDK
 # This file is updated with Maddlog
 
-* Fri Mar 18 2022 Sjoerd Mullender <[email protected]>
-- Fixed a race condition which could cause a too large size being written
-  for a .theap file to the BBP.dir file after the correct size file had
-  been saved to disk.
-- We now ignore the size and capacity columns in the BBP.dir file.
-  These values are essential during run time, but not useful in the
-  on-disk image of the database.
-
-* Wed Mar  9 2022 Sjoerd Mullender <[email protected]>
-- Fixed a bug in the append code for msk (bit mask) bats.
-- Conversions from floating point types to integral types that involve
-  multiplication now use the "long double" as intermediate type, thereby
-  loosing as few significant bits as is feasible.
-- Found and fixed another source for the now infamous BBPcheckbats error
-  that sometimes occurs at startup of the server.
-
diff --git a/gdk/gdk.h b/gdk/gdk.h
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -1895,20 +1895,7 @@ BBPcheck(bat x)
        return 0;
 }
 
-static inline BAT *
-BATdescriptor(bat i)
-{
-       BAT *b = NULL;
-
-       if (BBPcheck(i)) {
-               if (BBPfix(i) <= 0)
-                       return NULL;
-               b = BBP_cache(i);
-               if (b == NULL)
-                       b = BBPdescriptor(i);
-       }
-       return b;
-}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to