# DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY
# This file contains past ChangeLog entries

* Mon Oct 19 2015 Jennie Zhang <y.zhang@cwi.nl> - 11.23.1-20160601
- Disallow GRANT <some-user> TO <role-or-use>.  Only explicitly
  created roles can be granted.

* Sun Oct 18 2015 Jennie Zhang <y.zhang@cwi.nl> - 11.23.1-20160601
- Extended grantable schema privileges: when a user is granted the
  "sysadmin" role, the user now hcan not only create schemas, but
  also drop schemas.
- Introduced COPY INTO/ COPY FROM global privileges. These privileges
  allows other users than 'monetdb' to be granted the privileges
  to use the MonetDB bulk data loading/exporting features, i.e.,
  COPY FROM <file> and COPY INTO <file>.

* Tue Aug 18 2015 Sjoerd Mullender <sjoerd@acm.org> - 11.21.3-20150818
- Differences between time, timestamp, and date values now return properly
  typed interval types (second or month intervals) instead of integers.

* Tue Jul 28 2015 Sjoerd Mullender <sjoerd@acm.org> - 11.21.1-20150807
- Added support for 128-bit integers (called HUGEINT) on platforms that
  support this.

* Wed Feb 18 2015 Sjoerd Mullender <sjoerd@acm.org> - 11.21.1-20150807
- Removed support for the mseed library.

* Tue Feb 17 2015 Sjoerd Mullender <sjoerd@acm.org> - 11.21.1-20150807
- Removed support for RDF.
- Removed DataCell.  It was experimental code that was never enabled.

* Mon Jan 19 2015 Sjoerd Mullender <sjoerd@acm.org> - 11.19.9-20150123
- Fixed a typo in a column name of the sys.tablestoragemodel view
  (auxillary changed to auxiliary).

* Thu Nov 20 2014 Sjoerd Mullender <sjoerd@acm.org> - 11.19.5-20141120
- Fixed sys.queue() implementation to report on other queries being
  executed.

* Fri Nov 14 2014 Sjoerd Mullender <sjoerd@acm.org> - 11.19.5-20141120
- A number of bugs were fixed in the code to upgrade a database from
  previous releases.  This version should fix the upgrade of a database
  that had been upgraded to the Oct2014 release, but also properly
  upgrade directly from Jan2014 and Feb2013 releases.

* Wed Apr  9 2014 Jennie Zhang <y.zhang@cwi.nl> - 11.19.1-20141024
- Added PostgreSQL compatible string TRIM, LTRIM, RTRIM, LPAD and RPAD
  functions

* Fri Dec 13 2013 Sjoerd Mullender <sjoerd@acm.org> - 11.19.1-20141024
- Stop support for upgrading directly from a database created with a
  server from the Oct2012 release or older.  You can upgrade via the
  Feb2013 or Jan2014 release.

* Tue Nov 19 2013 Sjoerd Mullender <sjoerd@acm.org> - 11.15.19-20131120
- Fixed a bug where the server at some point stopped saving compiled
  queries in the SQL query cache.

* Sat Apr 13 2013 Niels Nes <niels@cwi.nl> - 11.15.7-20130426
- Added TEMPORARY to the non-reserved keywords, ie no need for double
  quotes when used as identifier.

* Wed Nov 21 2012 Fabian Groffen <fabian@monetdb.org> - 11.13.7-20121212
- Fixed crash when performing an INSERT on a table with string-like column
  defaulting to NULL and omitting that column from VALUES, bug #3168

* Fri Jun 29 2012 Fabian Groffen <fabian@cwi.nl> - 11.11.1-20120706
- COPY INTO now accepts optional parenthesis for file argument.
  Binary COPY INTO now requires 'COPY BINARY INTO'.

* Tue May 15 2012 Sjoerd Mullender <sjoerd@acm.org> - 11.9.5-20120516
- Databases that were upgraded from the Aug2011 release have an error
  in the catalog for SQL procedures.  This is now fixed.

* Fri Feb 17 2012 Sjoerd Mullender <sjoerd@acm.org> - 11.7.7-20120224
- Fixed a crash that happened at the end of a database upgrade to the
  Dec2011 database scheme.  The crash happened during cleanup after the
  database was upgraded, so it was merely inconvenient.

* Wed Feb 15 2012 Sjoerd Mullender <sjoerd@acm.org> - 11.7.7-20120224
- Stripped off implementation-specific parts from error messages before
  they get presented to the user.

* Thu Nov  3 2011 Sjoerd Mullender <sjoerd@acm.org> - 11.7.1-20120111
- mclient: The csv output format can now also be of the form csv=c and
  csv+c where c is the column separator.  The form with csv+ produces
  a single header line with column names.

* Wed Nov  2 2011 Sjoerd Mullender <sjoerd@acm.org> - 11.7.1-20120111
- Changed a bug where the sign() function returned the same type as its
  argument instead of always an INTEGER.

* Wed Oct 26 2011 Fabian Groffen <fabian@cwi.nl> - 11.5.9-20111115
- Added a fix for bug #2834, which caused weird (failing) behaviour
  with PreparedStatements.

* Wed Sep 21 2011 Sjoerd Mullender <sjoerd@acm.org> - 11.5.3-20110925
- Fixed a bug when using default values for interval columns.  Bug 2877.

* Fri Sep 16 2011 Sjoerd Mullender <sjoerd@acm.org> - 11.5.3-20110925
- A bug was fixed where deleted rows weren't properly accounted for in
  all operations.  This was bug 2882.
- A bug was fixed which caused an update to an internal table to
  happen too soon.  The bug could be observed on a multicore system
  with a query INSERT INTO t (SELECT * FROM t) when the table t is
  "large enough".  This was bug 2883.

* Tue Jul 19 2011 Fabian Groffen <fabian@cwi.nl> - 11.3.5-20110720
- Fixed regression where the superuser password could no longer be
  changed, bug #2844

* Wed Jun 29 2011 Sjoerd Mullender <sjoerd@acm.org> - 11.3.5-20110720
- Fixed incorrect insert counts.
- Fixed bug 2823: MAL exeption on SQL query with subquery in the where
  part.
- Redirect error from create scripts back to the first client.  This
  fixes bug 2813.
- Added joinidx based semijoin; push join through union (using
  joinidx).
- Fixed pushing select down.

* Thu Apr 14 2011 Sjoerd Mullender <sjoerd@acm.org> - 11.3.1-20110414
- Some names in the SQL catalog were changed.  This means that the
  database in the Apr2011 release is not compatible with pre-Apr2011
  databases.  The database is converted automatically when opened the
  first time.  This database can then no longer be read by an older
  release.

* Mon Jan 24 2011 Fabian Groffen <fabian@cwi.nl> - 11.1.1-20110317
- Fix bug #2648, do not allow restarting a sequence with NULL via the
  result of a sub-query.

* Wed Dec 15 2010 Niels Nes <niels@cwi.nl> - 11.1.1-20110317
- Allow clients to release prepared handles using Xrelease commands

* Mon Dec 13 2010 Fabian Groffen <fabian@cwi.nl> - 2.40.3-20101215
- Security related fixes to the COPY INTO commands: 1) binary COPY INTO
  is disallowed for non-administrator users, 2) COPY INTO using a path
  both for reading and writing is disallowed for non-administrator users,
  3) paths used with COPY INTO may not be relative, and 4) COPY INTO a
  file may only be writing to a non-existing file

* Mon Oct 18 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.40.1-20101029
- Fixed bug 2695: crash when starting mserver in readonly mode on a
  new database.

* Wed Sep 22 2010 Fabian Groffen <fabian@cwi.nl> - 2.40.1-20101029
- Improved uuid detection, to solve problems like bug #2675

* Wed Jun 23 2010 Niels Nes <niels@cwi.nl> - 2.40.1-20101029
- make it possible to use '?' in offset and limit

* Fri Sep 17 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.40.1-20101029
- Fixed a bug where the server silently ignored the last record in a
  COPY INTO if it was incomplete (e.g. missing a quote).

* Mon Aug 30 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.40.1-20101029
- Fixed a crash of the server when an extremely complex query is
  attempted.  This is the latest incarnation of bug 104.

* Fri Aug 20 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.38.5-20100823
- Fixed a case where the optimizer incorrectly removed an expression.
  This fixes bug 2602.
- Fix a crash in prepared statements when a parameter is on the left-hand
  side of a binary operator.  This fixes bug 2599.
- Fixed reporting of a violated foreign key constraint.  This fixes
  bug 2598.
- Certain schema altering queries didn't report success, even though
  they did succeed.  This fixes bug 2589.
- Fixed a crash when a non-existing table was used in an IN clause.
  Fixes bug 2604.
- Fixed bug 2633.  Adding a LIMIT clause could, in certain conditions,
  cause a crash.

* Thu Aug 19 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.38.5-20100823
- A bug was fixed where updates were missing in large transaction.
  This fixes bug 2543.
- A memory leak was fixed which caused the server to grow when loading
  and emptying a table.  This was bug 2539.

* Fri Aug 13 2010 Niels Nes <niels@cwi.nl> - 2.38.5-20100823
- Fixed bug 2643 added more defensive code, when an aggregation function
  doesn't exist
- Fixed bug 2651 properly handle dead code elimination with
  op_semi/op_anti and references

* Thu Aug 12 2010 Niels Nes <niels@cwi.nl> - 2.38.5-20100823
- Fixed bug 2652. Correctly list all columns of a 'IN' query with 'EXCEPT'
- Fixed bug 2353. The relational optimizer didn't handle range join
  expressions properly.
- fixed bug 2354. Improved function resolution.

* Mon Aug  9 2010 Jennie Zhang <y.zhang@cwi.nl> - 2.38.5-20100823
- Fixed bug 2645: mat.pack+algebra.slice should be replaced by mat.slice
  for 'limit 1' (when the default_pipe is used)

* Fri Aug  6 2010 Fabian Groffen <fabian@cwi.nl> - 2.38.5-20100823
- Fixed bug #2641,  The SQL server now handles Unicode BOM sequences
  occurring in any place.  Previously an "unexpected character (U+FEFF)"
  error would be returned.

* Fri Jul 30 2010 Niels Nes <niels@cwi.nl> - 2.38.5-20100823
- Fix Bug 2611. Fixed check for multiple functions without parameters.
- Fixed bug 2569 (except/union/intersect right after
  insert/delete/update. We now correctly fallback to the more general
  subquery case (not only simple selects (SQL_SELECT)).

* Thu Jul 29 2010 Niels Nes <niels@cwi.nl> - 2.38.5-20100823
- Fixed ORDER BY over UNION etc. (bug 2606) by
  automatically adding select * around select x union select y order by z.

* Thu Jul 29 2010 Niels Nes <niels@cwi.nl> - 2.38.5-20100823
- Fixed bug in handling 'WITH' and row_number()  (Bug 2631).
  The cardinality of the row_number expression was incorrect.

* Tue Jul 20 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.38.5-20100823
- Fixed bug 2624: function returning decimal returned result that was
  scaled incorrectly.

* Sun Jul 18 2010 Stefan Manegold <Stefan.Manegold@cwi.nl> - 2.38.5-20100823
- fixed bug 2622 "LIMIT & OFFSET ignored on 64-bit big-endian when
  combined with GROUP BY"

* Mon Jul 12 2010 Stefan Manegold <Stefan.Manegold@cwi.nl> - 2.38.3-20100712
- Make queries like (SELECT ...) UNION ALL (SELECT ...) ORDER BY ...;
  work, again, that were broken since Jun 22 2010 triggering errors
  like "ORDER BY: missing select operator"

* Fri Jul  9 2010 Fabian Groffen <fabian@cwi.nl> - 2.38.3-20100712
- Removed false connection warning about missing SQL script ("could
  not read createdb.sql") received by the client upon first connect on
  a newly created database.  Bug #2591

* Thu Jul  8 2010 Fabian Groffen <fabian@cwi.nl> - 2.38.3-20100709
- Improved error message for certain type-related problems by
  including the affected column name.

* Wed Jul  7 2010 Fabian Groffen <fabian@cwi.nl> - 2.38.3-20100709
- Make TEXT a separate keyword, separating it from CLOB, such that we
  can sloppily allow TEXT to appear as a column name, since it seems
  not to be in the standard as reserved keyword.

* Wed Jul  7 2010 Niels Nes <niels@cwi.nl> - 2.38.3-20100709
- Fixed bug 2581. Completed the implementation of handling Boolean
  types in prepare statements.
- Fix bug 2582. Statements with 'constant in ( )' are now handled
  properly.
- Fixed bug 2583 + added test. The assert was incorrect.

* Mon Jul  5 2010 Niels Nes <niels@cwi.nl> - 2.38.3-20100706
- Fixed bug in zero_or_one
- Fixed bug in dead code elimination for projections with distinct
- Fixed bug handling join with constant values on both sides (like
  group results and constants)
- fixed bug in UPDATE TABLE when updating multiple rows

* Wed Jun 30 2010 Stefan Manegold <Stefan.Manegold@cwi.nl> - 2.38.3-20100706
- fixed bug 2564: in case group by column is not found as alias in
  projection list, fall back to check plain input columns in order to
  find the underlying BAT and check its sortedness

* Thu Jun 24 2010 Niels Nes <niels@cwi.nl> - 2.38.1-20100625
- make it possible to use '?' in offset and limit

* Fri Jun 18 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.38.1-20100622
- Added include and .lib files to Windows installers that are needed
  to compile client programs.

* Mon May 31 2010 Sjoerd Mullender <sjoerd@acm.org> - 2.38.1-20100618
- Updated Vendor information.

* Tue May 11 2010 Fabian Groffen <fabian@cwi.nl>
- Prepared statement and function calls now report which argument is
  of the wrong type, bug #2533.

* Sun Apr 25 2010 Niels Nes <niels@cwi.nl>
- Fixed a bug when loading data from CSV files when separators occur
  in quoted fields.  (SourceForge bug #2991400).

* Tue Apr 20 2010 Stefan Manegold <manegold@cwi.nl> - 2.38.1-20100618
- Made compilation of "testing" (and "java") independent of MonetDB.
  This is mainly for Windows, but also on other systems, "testing" can
  now be built independently of (and hence before) "MonetDB".  Files
  that mimic configure functionality on Windows were moved from
  "MonetDB" to "buildtools"; hence, this affects all packages on
  Windows, requiring a complete rebuild from scratch on Windows.
  getopt() support in testing has changed; hence, (most probably)
  requiring a rebuild from scratch of testing on other systems.

* Tue Apr 20 2010 Stefan Manegold <manegold@cwi.nl> - 2.38.1-20100618
- Implemented build directory support for Windows, i.e., like on
  Unix/Linux also on Windows we can now build in a separate build
  directory as alternative to ...\<package>\NT, and thus keep the latter
  clean from files generated during the build.  On Windows, the build
  directory must be a sibling of ...\<package>\NT .

* Thu Apr  8 2010 Stefan Manegold <manegold@cwi.nl> - 2.36.5-20100420
- fixed bug #2983773 "SQL: minimal optimizer pipe unstable"

