# HG changeset patch
# User Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
# Date 1503581113 -7200
# Node ID 836c49b890ec9dc5b2e71c4f63c29dc5bd18c2c9
# Parent  352b54ff0436e17ad54529e4fb2c9d9a0e10c619
For public releases compile MonetDB JDBC driver code and jdbcclient program
 without debug info and with optimise flag enabled.

diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,13 +1,18 @@
 # ChangeLog file for monetdb-java
 # This file is updated with Maddlog
 
+* Thu Aug 24 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
+- The MonetDB JDBC driver code and jdbcclient program are now compiled
+  without debug info and with optimise flag enabled.  The new jar files are
+  now smaller in size.
+
 * Thu Aug 17 2017 Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
 - Implemented ResultSet method getNCharacterStream()
 - In class MonetClob implemented methods getCharacterStream()
   and getCharacterStream(long pos, long length).  Method
   getCharacterStream() is called by DBeaver to fetch the Clob value.
   It used to throw a SQLFeatureNotSupportedException with message:
-  "Method getCharacterStream() currently not supported" This caused
+   "Method getCharacterStream() currently not supported". This caused
   DBeaver to log the exception and show NULL as the value on screen,
   which is incorrect.  This has been fixed.
 
diff --git a/build.properties b/build.properties
--- a/build.properties
+++ b/build.properties
@@ -30,7 +30,8 @@ JDBC_DEF_PORT=50000
 ## General
 ##
 
-# should we compile with debugging symbols
-enable_debug=true
-# should we optimize the build, preferably not for debugging
-enable_optimize=false
+# should we compile with debugging symbols? Not for public releases
+enable_debug=false
+
+# should we optimize the build, preferably not for debugging. Yes for public releases
+enable_optimize=true