changelog.html 29.7 KB
Newer Older
1 2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
3
Copyright 2004-2018 H2 Group. Multiple-Licensed under the MPL 2.0, Version 1.0,
4
and under the Eclipse Public License, Version 1.0
5 6 7
Initial Developer: H2 Group
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
Thomas Mueller's avatar
Thomas Mueller committed
8
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
Thomas Mueller's avatar
Thomas Mueller committed
9
<meta name="viewport" content="width=device-width, initial-scale=1" />
Thomas Mueller's avatar
Thomas Mueller committed
10
<title>
11
Change Log
Thomas Mueller's avatar
Thomas Mueller committed
12 13
</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
14
<!-- [search] { -->
15 16 17
<script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();">
<table class="content"><tr class="content"><td class="content"><div class="contentDiv">
18
<!-- } -->
19 20

<h1>Change Log</h1>
21

Thomas Mueller's avatar
Thomas Mueller committed
22
<h2>Next Version (unreleased)</h2>
23
<ul>
24
<li>PR #989: Fix more issues with range table and improve its documentation
thomasmueller's avatar
thomasmueller committed
25 26 27 28 29
</li>
</ul>

<h2>Version 1.4.197 (2018-03-18)</h2>
<ul>
30 31 32 33 34 35
<li>PR #988: Fix RangeTable.getRowCount() for non-default step
</li>
<li>PR #987: ValueBoolean constants are not cleared and may be used directly
</li>
<li>PR #986: Check parameters in JdbcPreparedStatement.addBatch()
</li>
36 37
<li>PR #984: Minor refactorings in Parser
</li>
38 39 40 41
<li>PR #983: Code cleanups via IntelliJ IDEA inspections
</li>
<li>Issue #960: Implement remaining time unit in "date_trunc" function
</li>
42 43
<li>Issue #933: MVStore background writer endless loop
</li>
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290
<li>PR #981: Reorganize date-time functions
</li>
<li>PR #980: Add Parser.toString() method for improved debugging experience
</li>
<li>PR #979: Remove support of TCP protocol versions 6 and 7
</li>
<li>PR #977: Add database versions to javadoc of TCP protocol versions and update dictionary.txt
</li>
<li>PR #976: Add and use incrementDateValue() and decrementDateValue()
</li>
<li>Issue #974: Inline PRIMARY KEY definition loses its name
</li>
<li>PR #972: Add META-INF/versions to all non-Android jars that use Bits
</li>
<li>PR #971: Update ASM from 6.1-beta to 6.1
</li>
<li>PR #970: Added support for ENUM in prepared statement where clause
</li>
<li>PR #968: Assorted changes
</li>
<li>PR #967: Adds ARRAY_AGG function
</li>
<li>PR #966: Do not include help and images in client jar
</li>
<li>PR #965: Do not include mvstore.DataUtils in client jar and other changes
</li>
<li>PR #964: Fix TestFunctions.testToCharFromDateTime()
</li>
<li>PR #963 / Issue #962: Improve documentation of compatibility modes and fix ssl URL description
</li>
<li>Issue #219: H2 mode MySQL- ON UPDATE CURRENT_TIMESTAMP not supported
</li>
<li>PR #958: More fixes for PgServer
</li>
<li>PR #957: Update database size information and links in README.md
</li>
<li>PR #956: Move tests added in 821117f1db120a265647a063dca13ab5bee98efc to a proper place
</li>
<li>PR #955: Support getObject(?, Class) in generated keys
</li>
<li>PR #954: Avoid incorrect reads in iterators of TransactionMap
</li>
<li>PR #952: Optimize arguments for MVMap.init()
</li>
<li>PR #949: Fix table borders in PDF and other changes
</li>
<li>PR #948: Fix some grammar descriptions and ALTER TABLE DROP COLUMN parsing
</li>
<li>PR #947: Fix building of documentation and use modern names of Java versions
</li>
<li>PR #943: Assorted changes in documentation and a fix for current-time.sql
</li>
<li>PR #942: Fix page numbers in TOC in PDF and move System Tables into own HTML / section in PDF
</li>
<li>PR #941: Use >> syntax in median.sql and move out more tests from testScript.sql
</li>
<li>PR #940: add Support for MySQL: DROP INDEX index_name ON tbl_name
</li>
<li>PR #939: Short syntax for SQL tests
</li>
<li>Issue #935: The "date_trunc" function is not recognized for 'day'
</li>
<li>PR #936: Fix font size, line length, TOC, and many broken links in PDF
</li>
<li>PR #931: Assorted changes in documentation
</li>
<li>PR #930: Use Math.log10() and remove Mode.getOracle()
</li>
<li>PR #929: Remove Mode.supportOffsetFetch
</li>
<li>PR #928: Show information about office configuration instead of fallback PDF generation mode
</li>
<li>PR #926: Describe datetime fields in documentation
</li>
<li>PR #925: Fix time overflow in DATEADD
</li>
<li>Issue #416: Add support for DROP SCHEMA x { RESTRICT | CASCADE }
</li>
<li>PR #922: Parse and treat fractional seconds precision as described in SQL standard
</li>
<li>Issue #919: Add support for mixing adding constraints and columns in multi-add ALTER TABLE statement
</li>
<li>PR #916: Implement TABLE_CONSTRAINTS and REFERENTIAL_CONSTRAINTS from the SQL standard
</li>
<li>PR #915: Implement INFORMATION_SCHEMA.KEY_COLUMN_USAGE from SQL standard
</li>
<li>PR #914: don't allow null values in ConcurrentArrayList
</li>
<li>PR #913: Assorted changes in tests and documentation
</li>
<li>Issue #755: Missing FLOAT(precision)?
</li>
<li>PR #911: Add support for MySQL-style ALTER TABLE ADD ... FIRST
</li>
<li>Issue #409: Support derived column list syntax on table alias
</li>
<li>PR #908: remove dead code
</li>
<li>PR #907: Nest joins only if required and fix some issues with complex joins
</li>
<li>PR #906: Fix obscure error on non-standard SELECT * FROM A LEFT JOIN B NATURAL JOIN C
</li>
<li>PR #805: Move some JOIN tests from testScript.sql to own file
</li>
<li>PR #804: Remove unused parameters from readJoin() and readTableFilter()
</li>
<li>Issue #322: CSVREAD WHERE clause containing ORs duplicates number of rows
</li>
<li>PR #902: Remove DbSettings.nestedJoins
</li>
<li>PR #900: Convert duplicate anonymous classes in TableFilter to nested for reuse
</li>
<li>PR #899: Fix ON DUPLICATE KEY UPDATE for inserts with multiple rows
</li>
<li>PR #898: Parse TIME WITHOUT TIME ZONE and fix TIMESTAMP as column name
</li>
<li>PR #897: Update JTS to version 1.15.0 from LocationTech
</li>
<li>PR #896: Assorted changes in help.csv
</li>
<li>PR #895: Parse more variants of timestamps with time zones
</li>
<li>PR #893: TIMESTAMP WITHOUT TIME ZONE, TIMEZONE_HOUR, and TIMEZONE_MINUTE
</li>
<li>PR #892: Assorted minor changes in Parser
</li>
<li>PR #891: Update documentation of date-time types and clean up related code a bit
</li>
<li>PR #890: Implement conversions for TIMESTAMP WITH TIME ZONE
</li>
<li>PR #888: Fix two-phase commit in MVStore
</li>
<li>Issue #884: Wrong test Resources path in pom.xml
</li>
<li>PR #886: Fix building of documentation
</li>
<li>PR #883: Add support for TIMESTAMP WITH TIME ZONE to FORMATDATETIME
</li>
<li>PR #881: Reimplement dateValueFromDate() and nanosFromDate() without a Calendar
</li>
<li>PR #880: Assorted date-time related changes
</li>
<li>PR #879: Reimplement TO_DATE without a Calendar and fix a lot of bugs an incompatibilities
</li>
<li>PR #878: Fix IYYY in TO_CHAR and reimplement TRUNCATE without a Calendar
</li>
<li>PR #877: Reimplement TO_CHAR without a Calendar and fix 12 AM / 12 PM in it
</li>
<li>PR #876: Test out of memory
</li>
<li>PR #875: Improve date-time related parts of documentation
</li>
<li>PR #872: Assorted date-time related changes
</li>
<li>PR #871: Fix OOME in Transfer.readValue() with large CLOB V2
</li>
<li>PR #867: TestOutOfMemory stability
</li>
<li>Issue #834: Add support for the SQL standard FILTER clause on aggregate functions
</li>
<li>PR #864: Minor changes in DateUtils and Function
</li>
<li>PR #863: Polish: use isEmpty() to check whether the collection is empty or not.
</li>
<li>PR #862: Convert constraint type into enum
</li>
<li>PR #861: Avoid resource leak
</li>
<li>PR #860: IndexCursor inList
</li>
<li>PR #858 / Issue #690 and others: Return all generated rows and columns from getGeneratedKeys()
</li>
<li>Make the JDBC client independent of the database engine
</li>
<li>PR #857: Do not write each SQL error multiple times in TestScript
</li>
<li>PR #856: Fix TestDateTimeUtils.testDayOfWeek() and example with ANY(?
</li>
<li>PR #855: Reimplement DATEADD without a Calendar and fix some incompatibilities
</li>
<li>PR #854: Improve test stability
</li>
<li>PR #851: Reimplement DATEDIFF without a Calendar
</li>
<li>Issue #502: SQL "= ANY (?)" supported?
</li>
<li>PR #849: Encode date and time in fast and proper way in PgServerThread
</li>
<li>PR #847: Reimplement remaining parts of EXTRACT, ISO_YEAR, etc without a Calendar
</li>
<li>PR #846: Read known fields directly in DateTimeUtils.getDatePart()
</li>
<li>Issue #832: Extract EPOCH from a timestamp
</li>
<li>PR #844: Add simple implementations of isWrapperFor() and unwrap() to JdbcDataSource
</li>
<li>PR #843: Add MEDIAN to help.csv and fix building of documentation
</li>
<li>PR #841: Support indexes with nulls last for MEDIAN aggregate
</li>
<li>PR #840: Add MEDIAN aggregate
</li>
<li>PR #839: TestTools should not leave testing thread in interrupted state
</li>
<li>PR #838: (tests) Excessive calls to Runtime.getRuntime().gc() cause OOM for no reason
</li>
<li>Don't use substring when doing StringBuffer#append
</li>
<li>PR #837: Use StringUtils.replaceAll() in Function.replace()
</li>
<li>PR #836: Allow to read invalid February 29 dates with LocalDate as March 1
</li>
<li>PR #835: Inline getTimeTry() into DateTimeUtils.getMillis()
</li>
<li>PR #827: Use dateValueFromDate() and nanosFromDate() in parseTimestamp()
</li>
<li>Issue #115: to_char fails with pattern FM0D099
</li>
<li>PR #825: Merge code for parsing and formatting timestamp values
</li>
<li>Enums for ConstraintActionType, UnionType, and OpType
</li>
<li>PR 824: Add partial support for INSERT IGNORE in MySQL mode
</li>
<li>PR #823: Use ValueByte.getInt() and ValueShort.getInt() in convertTo()
</li>
<li>PR #820: Fix some compiler warnings
</li>
<li>PR #818: Fixes for remaining issues with boolean parameters
</li>
<li>Use enum for file lock method
</li>
<li>PR #817: Parse also 1 as true and 0 as false in Utils.parseBoolean()
</li>
<li>PR #815: Fix count of completed statements
</li>
<li>PR #814: Method.isVarArgs() is available on all supported platforms
</li>
<li>Issue #812: TIME values should be in range 0:00:00.000000000 23:59:59.999999999?
</li>
<li>PR #811: Issues with Boolean.parseBoolean()
</li>
<li>PR #809: Use type constants from LocalDateTimeUtils directly
</li>
<li>PR #808: Use HmacSHA256 provided by JRE
</li>
<li>PR #807: Use SHA-256 provided by JRE / Android and use rotateLeft / Right in Fog
291
</li>
Noel Grandin's avatar
Noel Grandin committed
292 293 294 295 296 297 298 299 300 301 302 303 304 305
<li>PR #806: Implement setBytes() and setString() with offset and len
</li>
<li>PR #805: Improve support of TIMESTAMP WITH TIME ZONE
</li>
<li>PR #803: Use new ArrayList(Collection) and assertThrows()
</li>
<li>PR #802: Use Arrays.copyOf() and Arrays.copyOfRange()
</li>
<li>PR #801: Fix NULL support in PgServer for primitive types too
</li>
<li>PR #800: More fixes in date-time types for ODBC drivers
</li>
<li>PR #798: Add partial support of DATE, TIME, and TIMESTAMP data types to PgServer
</li>
thomasmueller's avatar
thomasmueller committed
306
<li>PR #799: Use result of ArrayList.remove()
Noel Grandin's avatar
Noel Grandin committed
307
</li>
thomasmueller's avatar
thomasmueller committed
308
<li>PR #797: Add ceilingKey() and floorKey() to TransactionMap (version 2)
Noel Grandin's avatar
Noel Grandin committed
309
</li>
thomasmueller's avatar
thomasmueller committed
310
<li>PR #796: Add MDY to DateStyle in PgServerThread
Noel Grandin's avatar
Noel Grandin committed
311
</li>
thomasmueller's avatar
thomasmueller committed
312
<li>PR #794: Sort files in generated jars
Noel Grandin's avatar
Noel Grandin committed
313
</li>
thomasmueller's avatar
thomasmueller committed
314
<li>PR #793: Change return type of Value.getBoolean() to boolean (unwrapped)
Noel Grandin's avatar
Noel Grandin committed
315
</li>
thomasmueller's avatar
thomasmueller committed
316
<li>PR #792: Inherit classpath from parent process
Noel Grandin's avatar
Noel Grandin committed
317
</li>
thomasmueller's avatar
thomasmueller committed
318
<li>PR #791: Switch to JaCoCo code coverage
Noel Grandin's avatar
Noel Grandin committed
319
</li>
thomasmueller's avatar
thomasmueller committed
320
<li>PR #788: Update lists of keywords
Noel Grandin's avatar
Noel Grandin committed
321
</li>
thomasmueller's avatar
thomasmueller committed
322
<li>PR #789: Map DATE in Oracle mode to ValueTimestamp
Noel Grandin's avatar
Noel Grandin committed
323
</li>
thomasmueller's avatar
thomasmueller committed
324
<li>PR #787: Assorted changes
Noel Grandin's avatar
Noel Grandin committed
325
</li>
thomasmueller's avatar
thomasmueller committed
326
<li>PR #785: Optimize NULL handling in MVSecondaryIndex.add()
Noel Grandin's avatar
Noel Grandin committed
327
</li>
thomasmueller's avatar
thomasmueller committed
328
<li>PR #783: Add Bits implementation for Java 9 and later versions
Noel Grandin's avatar
Noel Grandin committed
329
</li>
thomasmueller's avatar
thomasmueller committed
330
<li>PR #784: Hardcoded port numbers should not be used in unit tests
Noel Grandin's avatar
Noel Grandin committed
331
</li>
thomasmueller's avatar
thomasmueller committed
332
<li>PR #780: Close JavaFileManager after use.
Noel Grandin's avatar
Noel Grandin committed
333
</li>
thomasmueller's avatar
thomasmueller committed
334
<li>PR #782: Leftover shared lock after release
Noel Grandin's avatar
Noel Grandin committed
335
</li>
thomasmueller's avatar
thomasmueller committed
336
<li>PR #781: Locks left behind after commit
Noel Grandin's avatar
Noel Grandin committed
337
</li>
thomasmueller's avatar
thomasmueller committed
338
<li>PR #778: Reduce code duplication
Noel Grandin's avatar
Noel Grandin committed
339
</li>
thomasmueller's avatar
thomasmueller committed
340
<li>PR #775: Fix building of documentation and zip
Noel Grandin's avatar
Noel Grandin committed
341
</li>
thomasmueller's avatar
thomasmueller committed
342
<li>PR #774: Assorted changes
Noel Grandin's avatar
Noel Grandin committed
343
</li>
thomasmueller's avatar
thomasmueller committed
344
<li>PR #773: Better checks for arguments of partial LOB reading methods
Noel Grandin's avatar
Noel Grandin committed
345 346 347 348 349
</li>
<li>PR #772: getBinaryStream() and getCharacterStream() with pos and length
</li>
<li>Issue #754: Make NUMERIC type read as NUMERIC
</li>
thomasmueller's avatar
thomasmueller committed
350
<li>PR #768: Add DataUtils.parseChecksummedMap()
Noel Grandin's avatar
Noel Grandin committed
351
</li>
thomasmueller's avatar
thomasmueller committed
352
<li>PR #769: Do not copy result of DataUtils.parseMap() to a new maps
Noel Grandin's avatar
Noel Grandin committed
353
</li>
thomasmueller's avatar
thomasmueller committed
354
<li>PR #766: Minor clean up of DateTimeUtils
Noel Grandin's avatar
Noel Grandin committed
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379
</li>
<li>PR #764: Make use of try-with-resources statement
</li>
<li>Issue #406: Return from ResultSet.getObject not in line with JDBC specification
</li>
<li>Issue #710: Misleading exception message when INSERT has no value for self referential 'AS' column
</li>
<li>PR #763: Add DataUtils.getMapName()
</li>
<li>PR #762: Add row deletion confirmation to web console
</li>
<li>PR #760: Assorted minor optimizations
</li>
<li>PR #759: Improve the look of error messages in web console
</li>
<li>PR #758: Allocate less amount of garbage
</li>
<li>PR #757: Fix handling of UUID in Datatype.readValue()
</li>
<li>PR #753: Optimize StringUtils.trim() and remove StringUtils.equals()
</li>
<li>PR #752: Use predefined charsets instead of names where possible
</li>
<li>PR #750: Use AtomicIntegerArray and StandardCharsets
</li>
thomasmueller's avatar
thomasmueller committed
380
<li>PR #749: Fix some build checks in sources
Noel Grandin's avatar
Noel Grandin committed
381 382 383 384 385 386 387 388 389 390 391 392 393 394 395
</li>
<li>Issue #740: TestWeb hangups if webSSL=true specified in configuration
</li>
<li>Issue #736: Copyright years in sources
</li>
<li>Issue #744: TestFile failure on Java 9 and Java 10
</li>
<li>PR #741: More cleanups in LocalDateTimeUtils and other minor changes
</li>
<li>PR #743: Change REGEXP_REPLACE mode for MariaDB and PostgreSQL
</li>
<li>Issue#646 NPE in CREATE VIEW WITH RECURSIVE & NON_RECURSIVE CTE
</li>
<li>PR #738: Copy javadoc to *BackwardsCompat to fix building of documentation
</li>
thomasmueller's avatar
thomasmueller committed
396
<li>PR #735: Add support of java.time.Instant V2
Noel Grandin's avatar
Noel Grandin committed
397 398 399 400 401 402 403 404 405 406 407 408 409
</li>
<li>PR #733: Remove JPA/ORM configuration txt files as they're already integrated
</li>
<li>PR #732: Fix ==
</li>
<li>PR #730: Implement enquoteIdentifier() and isSimpleIdentifier() from JDBC 4.3
</li>
<li>PR #729: Grammar documentation change
</li>
<li>PR #727: Integer/Long.compare(x, y) can be used to compare primitive values
</li>
<li>PR #726: Fixes in tests
</li>
thomasmueller's avatar
thomasmueller committed
410
<li>Issue #725: FilePathMem.tryLock() fails since Java 9
Noel Grandin's avatar
Noel Grandin committed
411
</li>
thomasmueller's avatar
thomasmueller committed
412
<li>PR #723: Clean up LocalDateTimeUtils
Noel Grandin's avatar
Noel Grandin committed
413
</li>
thomasmueller's avatar
thomasmueller committed
414
<li>PR #724: Use StringBuilder instead of StringBuffer
Noel Grandin's avatar
Noel Grandin committed
415 416 417
</li>
<li>PR #720: DROP TABLE RESTRICT shouldn't drop foreign keys in other tables
</li>
thomasmueller's avatar
thomasmueller committed
418
<li>PR #722: Assorted minor changes
Noel Grandin's avatar
Noel Grandin committed
419 420 421
</li>
<li>Issue #638: Oracle mode: incompatible regexp back-reference syntax
</li>
Noel Grandin's avatar
Noel Grandin committed
422 423
<li>Make ALL a reserved keyword
</li>
424
<li>Issue #311: Avoid calling list.toArray(new X[list.size()]) for performance
Noel Grandin's avatar
Noel Grandin committed
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443
</li>
<li>PR #715: Better getObject error message
</li>
<li>PR #714: SecureRandom is already synchronized
</li>
<li>PR #712: Return properly encoded UUID from SimpleResultSet.getBytes()
</li>
<li>PR #711: TestFunctions less english dependent
</li>
<li>Issue #644: Year changing from negative -509 to a positive 510.
</li>
<li>PR #706: SIGNAL function
</li>
<li>PR #704: added Javascript support for Triggers' source
</li>
<li>Issue #694: Oracle syntax for adding NOT NULL constraint not supported.
</li>
<li>Issue #699: When using an index for sorting, the index is ignored when also using NULLS LAST/FIRST
</li>
444
<li>Issue #697: FilePathDisk.newInputStream fails for contextual class loading
Noel Grandin's avatar
Noel Grandin committed
445 446 447
</li>
<li>Issue #695: jdbc:postgresql protocol connection issue in H2 Console Application in case of redshift driver in classpath
</li>
448
<li>Fix 'file not closed' when using FILE_READ
Noel Grandin's avatar
Noel Grandin committed
449
</li>
450 451
<li>Fix bug in LinkSchema tool when object exists with same name in different schemas
</li>
452 453
<li>Issue #675: Fix date operations on Locales with non-Gregorian calendars
</li>
454 455
<li>Fix removal of LOB when rolling back transaction on a table containing more than one LOB column.
</li>
thomasmueller's avatar
thomasmueller committed
456
<li>Issue #654: List ENUM type values in INFORMATION_SCHEMA.COLUMNS
457
</li>
458
<li>Issue #650: Simple nested SELECT causes error for table with TIMESTAMP WITH TIMEZONE column
459
</li>
460
<li>Issue #654: List ENUM type values in INFORMATION_SCHEMA.COLUMNS
461
</li>
462 463
<li>Issue #668: Fail of an update command on large table with ENUM column
</li>
thomasmueller's avatar
thomasmueller committed
464
<li>Issue #662: column called CONSTRAINT is not properly escaped when storing to metadata
465
</li>
466 467
<li>Issue #660: Outdated java version mentioned on http://h2database.com/html/build.html#providing_patches
</li>
thomasmueller's avatar
thomasmueller committed
468
<li>Issue #643: H2 doesn't use index when I use IN and EQUAL in one query
469
</li>
470 471
<li>Reset transaction start timestamp on ROLLBACK
</li>
472 473
<li>Issue #632: CREATE OR REPLACE VIEW creates incorrect columns names
</li>
474 475
<li>Issue #630: Integer overflow in CacheLRU can cause unrestricted cache growth
</li>
476 477
<li>Issue #497: Fix TO_DATE in cases of 'inline' text. E.g. the "T" and "Z" in to_date('2017-04-21T00:00:00Z', 'YYYY-MM-DD"T"HH24:MI:SS"Z"')
</li>
478 479
<li>Fix bug in MySQL/ORACLE-syntax silently corrupting the modified column in cases of setting the 'NULL'- or 'NOT NULL'-constraint. E.g. alter table T modify C NULL;
</li>
480 481
<li>Issue #570: MySQL compatibility for ALTER TABLE .. DROP INDEX
</li>
482 483
<li>Issue #537: Include the COLUMN name in message "Numeric value out of range"
</li>
Noel Grandin's avatar
Noel Grandin committed
484 485 486 487 488 489 490 491 492 493 494 495
<li>Issue #600: ROW_NUMBER() behaviour change in H2 1.4.195
</li>
<li>Fix a bunch of race conditions found by vmlens.com, thank you to vmlens for giving us a license.
</li>
<li>PR #597: Support more types in getObject
</li>
<li>Issue #591: Generated SQL from WITH-CTEs does not include a table identifier
</li>
<li>PR #593: Make it possible to create a cluster without using temporary files.
</li>
<li>PR #592: "Connection is broken: "unexpected status 16777216" [90067-192]" message when using older h2 releases as client
</li>
496 497
<li>Issue #585: MySQL mode DELETE statements compatibility
</li>
498
<li>PR #586: remove extra tx preparation
Noel Grandin's avatar
Noel Grandin committed
499 500 501 502 503 504 505
</li>
<li>PR #568: Implement MetaData.getColumns() for synonyms.
</li>
<li>Issue #581: org.h2.tools.RunScript assumes -script parameter is part of protocol
</li>
<li>Fix a deadlock in the TransactionStore
</li>
506
<li>PR #579: Disallow BLOB type in PostgreSQL mode
Noel Grandin's avatar
Noel Grandin committed
507 508 509 510 511 512 513
</li>
<li>Issue #576: Common Table Expression (CTE): WITH supports INSERT, UPDATE, MERGE, DELETE, CREATE TABLE ...
</li>
<li>Issue #493: Query with distinct/limit/offset subquery returns unexpected rows
</li>
<li>Issue #575: Support for full text search in multithreaded mode
</li>
514 515
<li>Issue #569: ClassCastException when filtering on ENUM value in WHERE clause
</li>
516 517
<li>Issue #539: Allow override of builtin functions/aliases
</li>
518 519
<li>Issue #535: Allow explicit paths on Windows without drive letter
</li>
Noel Grandin's avatar
Noel Grandin committed
520 521
<li>Issue #549: Removed UNION ALL requirements for CTE
</li>
522
<li>Issue #548: Table synonym support
Noel Grandin's avatar
Noel Grandin committed
523 524 525 526 527 528 529 530 531 532 533 534 535
</li>
<li>Issue #531: Rollback and delayed meta save.
</li>
<li>Issue #515: "Unique index or primary key violation" in TestMvccMultiThreaded
</li>
<li>Issue #458: TIMESTAMPDIFF() test failing. Handling of timestamp literals.
</li>
<li>PR #546: Fixes the missing file tree.js in the web console
</li>
<li>Issue #543: Prepare statement with regexp will not refresh parameter after metadata change
</li>
<li>PR #536: Support TIMESTAMP_WITH_TIMEZONE 2014 JDBC type
</li>
536 537
<li>Fix bug in parsing ANALYZE TABLE xxx SAMPLE_SIZE yyy
</li>
538 539 540
<li>Add padding for CHAR(N) values in PostgreSQL mode
</li>
<li>Issue #89: Add DB2 timestamp format compatibility
541
</li>
thomasmueller's avatar
thomasmueller committed
542 543 544
</ul>

<h2>Version 1.4.196 (2017-06-10)</h2>
545
<ul>
546 547
<li>Issue#479 Allow non-recursive CTEs (WITH statements), patch from stumc
</li>
548
<li>Fix startup issue when using "CHECK" as a column name.
thomasmueller's avatar
thomasmueller committed
549
</li>
550 551
<li>Issue #423: ANALYZE performed multiple times on one table during execution of the same statement.
</li>
552 553
<li>Issue #426: Support ANALYZE TABLE statement
</li>
554 555
<li>Issue #438: Fix slow logging via SLF4J (TRACE_LEVEL_FILE=4).
</li>
556
<li>Issue #472: Support CREATE SEQUENCE ... ORDER as a NOOP for Oracle compatibility
thomasmueller's avatar
thomasmueller committed
557
</li>
558 559
<li>Issue #479: Allow non-recursive Common Table Expressions (CTE)
</li>
560 561
<li>On Mac OS X, with IPv6 and no network connection, the Console tool was not working as expected.
</li>
thomasmueller's avatar
thomasmueller committed
562 563 564 565 566 567
</ul>

<h2>Version 1.4.195 (2017-04-23)</h2>
<ul>
<li>Lazy query execution support.
</li>
568 569
<li>Added API for handling custom data types (System property "h2.customDataTypesHandler", API org.h2.api.CustomDataTypesHandler).
</li>
570 571
<li>Added support for invisible columns.
</li>
572
<li>Added an ENUM data type, with syntax similar to that of MySQL.
573
</li>
thomasmueller's avatar
thomasmueller committed
574
<li>MVStore: for object data types, the cache size memory estimation
575 576
    was sometimes far off in a read-only scenario.
    This could result in inefficient cache usage.
thomasmueller's avatar
thomasmueller committed
577
</li>
thomasmueller's avatar
thomasmueller committed
578 579 580 581
</ul>

<h2>Version 1.4.194 (2017-03-10)</h2>
<ul>
582
<li>Issue #453: MVStore setCacheSize() should also limit the cacheChunkRef.
583
</li>
584
<li>Issue #448: Newly added TO_DATE and TO_TIMESTAMP functions have wrong datatype.
585
</li>
586 587 588 589
<li>The "nioMemLZF" filesystem now supports an extra option "nioMemLZF:12:" to tweak the size of the compress later cache.
</li>
<li>Various multi-threading fixes and optimisations to the "nioMemLZF" filesystem.
</li>
590 591 592
<li><strong>[API CHANGE]</strong> #439: the JDBC type of TIMESTAMP WITH TIME ZONE
changed from Types.OTHER (1111) to Types.TIMESTAMP_WITH_TIMEZONE (2014)
</li>
593
<li>#430: Subquery not cached if number of rows exceeds MAX_MEMORY_ROWS.
594
</li>
595
<li>#411: "TIMEZONE" should be "TIME ZONE" in type "TIMESTAMP WITH TIMEZONE".
596
</li>
597
<li>PR #418, Implement Connection#createArrayOf and PreparedStatement#setArray.
598
</li>
599
<li>PR #427, Add MySQL compatibility functions UNIX_TIMESTAMP, FROM_UNIXTIME and DATE.
600
</li>
601
<li>#429: Tables not found : Fix some Turkish locale bugs around uppercasing.
602
</li>
603
<li>Fixed bug in metadata locking, obscure combination of DDL and SELECT SEQUENCE.NEXTVAL required.
604
</li>
605
<li>Added index hints: SELECT * FROM TEST USE INDEX (idx1, idx2).
606
</li>
607
<li>Add a test case to ensure that spatial index is used with and order by command by Fortin N.
608
</li>
609
<li>Fix multi-threaded mode update exception "NullPointerException", test case by Anatolii K.
610
</li>
611
<li>Fix multi-threaded mode insert exception "Unique index or primary key violation", test case by Anatolii K.
612
</li>
613
<li>Implement ILIKE operator for case-insensitive matching.
614
</li>
615
<li>Optimise LIKE queries for the common cases of '%Foo' and '%Foo%'.
616
</li>
617
<li>Issue #387: H2 MSSQL Compatibility Mode - Support uniqueidentifier.
618
</li>
619
<li>Issue #401: NPE in "SELECT DISTINCT * ORDER BY".
620
</li>
621
<li>Added BITGET function.
622
</li>
623
<li>Fixed bug in FilePathRetryOnInterrupt that caused infinite loop.
624
</li>
625
<li>PR #389, Handle LocalTime with nanosecond resolution, patch by katzyn.
Noel Grandin's avatar
Noel Grandin committed
626
</li>
627
<li>PR #382, Recover for "page store" H2 breaks LOBs consistency, patch by vitalus.
Noel Grandin's avatar
Noel Grandin committed
628
</li>
629
<li>PR #393, Run tests on Travis, patch by marschall.
Noel Grandin's avatar
Noel Grandin committed
630
</li>
631
<li>Fix bug in REGEX_REPLACE, not parsing the mode parameter.
632 633 634
</li>
<li>ResultSet.getObject(..., Class) threw a ClassNotFoundException if the JTS suite was not in the classpath.
</li>
635 636 637
<li>File systems: the "cache:" file system, and the
    compressed in-memory file systems memLZF and nioMemLZF did not
    correctly support concurrent reading and writing.
638 639 640
</li>
<li>TIMESTAMP WITH TIMEZONE: serialization for the PageStore was broken.
</li>
641
</ul>
642

thomasmueller's avatar
thomasmueller committed
643
<h2>Version 1.4.193 (2016-10-31)</h2>
644
<ul>
645 646
<li>PR #386: Add JSR-310 Support (introduces JTS dependency fixed in 1.4.194)
</li>
647 648 649 650
<li>WARNING: THE MERGE BELOW WILL AFFECT ANY 'TIMESTAMP WITH TIMEZONE' INDEXES. You will need to drop and recreate any such indexes.
</li>
<li>PR #364: fix compare TIMESTAMP WITH TIMEZONE
</li>
651 652
<li>Fix bug in picking the right index for INSERT..ON DUPLICATE KEY UPDATE when there are both UNIQUE and PRIMARY KEY constraints.
</li>
653 654
<li>Issue #380: Error Analyzer doesn't show source code
</li>
655 656
<li>Remove the "TIMESTAMP UTC" datatype, an experiment that was never finished.
</li>
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676
<li>PR #363: Added support to define last IDENTIFIER on a Trigger.
</li>
<li>PR #366: Tests for timestamps
</li>
<li>PR #361: Improve TimestampWithTimeZone javadoc
</li>
<li>PR #360: Change getters in TimestampWithTimeZone to int
</li>
<li>PR #359: Added missing source encoding. Assuming UTF-8.
</li>
<li>PR #353: Add support for converting JAVA_OBJECT to UUID
</li>
<li>PR #358: Add support for getObject(int|String, Class)
</li>
<li>PR #357: Server: use xdg-open to open the WebConsole in the user's preferred browser on Linux
</li>
<li>PR #356: Support for BEFORE and AFTER clauses when using multiple columns in ALTER TABLE ADD
</li>
<li>PR #351: Respect format codes from Bind message when sending results
</li>
Noel Grandin's avatar
Noel Grandin committed
677 678 679 680
<li>ignore summary line when compiling stored procedure
</li>
<li>PR #348: pg: send RowDescription in response to Describe (statement variant), patch by kostya-sh
</li>
681
<li>PR #337: Update russian translation, patch by avp1983
Noel Grandin's avatar
Noel Grandin committed
682 683 684 685 686 687 688
</li>
<li>PR #329: Update to servlet API version 3.1.0 from 3.0.1, patch by Mat Booth
</li>
<li>PR #331: ChangeFileEncryption progress logging ignores -quiet flag, patch by Stefan Bodewig
</li>
<li>PR #325: Make Row an interface
</li>
689
<li>PR #323: Regular expression functions (REGEXP_REPLACE, REGEXP_LIKE) enhancement, patch by Akkuzin
Noel Grandin's avatar
Noel Grandin committed
690
</li>
691 692
<li>Use System.nanoTime for measuring query statistics
</li>
693 694
<li>Issue #324: Deadlock when sending BLOBs over TCP
</li>
695 696
<li>Fix for creating and accessing views in MULTITHREADED mode, test-case courtesy of Daniel Rosenbaum
</li>
Noel Grandin's avatar
Noel Grandin committed
697 698
<li>Issue #266: Spatial index not updating, fixed by merging PR #267
</li>
Noel Grandin's avatar
Noel Grandin committed
699 700 701
<li>PR #302: add support for "with"-subqueries into "join" & "sub-query" statements
</li>
<li>Issue #299: Nested derived tables did not always work as expected.
702
</li>
703 704
<li>Use interfaces to replace the java version templating, idea from Lukas Eder.
</li>
705
<li>Issue #295: JdbcResultSet.getObject(int, Class) returns null instead of throwing.
706
</li>
707 708
<li>Mac OS X: Console tool process did not stop on exit.
</li>
709 710
<li>MVStoreTool: add "repair" feature.
</li>
711 712
<li>Garbage collection of unused chunks should be faster still.
</li>
713 714
<li>MVStore / transaction store: opening a store in read-only mode does no longer loop.
</li>
715 716 717 718
<li>MVStore: disabled the file system cache by default, because it limits concurrency
    when using larger databases and many threads.
    To re-enable, use the file name prefix "cache:".
</li>
719 720
<li>MVStore: add feature to set the cache concurrency.
</li>
721 722
<li>File system nioMemFS: support concurrent reads.
</li>
723 724
<li>File systems: the compressed in-memory file systems now compress better.
</li>
725
<li>LIRS cache: improved hit rate because now added entries get hot if they
726 727
    were in the non-resident part of the cache before.
</li>
728 729 730 731
</ul>

<h2>Version 1.4.192 Beta (2016-05-26)</h2>
<ul>
thomasmueller's avatar
thomasmueller committed
732 733
<li>Java 6 is no longer supported (the jar files are compiled for Java 7).
</li>
734 735
<li>Garbage collection of unused chunks should now be faster.
</li>
736 737
<li>Prevent people using unsupported combination of auto-increment columns and clustering mode.
</li>
738 739
<li>Support for DB2 time format, patch by Niklas Mehner
</li>
740 741
<li>Added support for Connection.setClientInfo() in compatibility modes for DB2, Postgresql, Oracle and MySQL.
</li>
742 743
<li>Issue #249: Clarify license declaration in Maven POM xml
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
744
<li>Fix NullPointerException in querying spatial data through a sub-select.
745
</li>
746 747 748
<li>Fix bug where a lock on the SYS table was not released when closing a session that contained a temp
table with an LOB column.
</li>
749 750
<li>Issue #255: ConcurrentModificationException with multiple threads in embedded mode and temporary LOBs
</li>
751 752
<li>Issue #235: Anonymous SSL connections fail in many situations
</li>
753
<li>Fix race condition in FILE_LOCK=SOCKET, which could result in the watchdog thread not running
754
</li>
755 756
<li>Experimental support for datatype TIMESTAMP WITH TIMEZONE
</li>
757 758
<li>Add support for ALTER TABLE ... RENAME CONSTRAINT .. TO ...
</li>
759 760
<li>Add support for PostgreSQL ALTER TABLE ... RENAME COLUMN .. TO ...
</li>
761 762 763 764 765 766
<li>Add support for ALTER SCHEMA [ IF EXISTS ]
</li>
<li>Add support for ALTER TABLE [ IF EXISTS ]
</li>
<li>Add support for ALTER VIEW [ IF EXISTS ]
</li>
767
<li>Add support for ALTER INDEX [ IF EXISTS ]
768 769 770
</li>
<li>Add support for ALTER SEQUENCE [ IF EXISTS ]
</li>
771 772
<li>Improve performance of cleaning up temp tables - patch from Eric Faulhaber.
</li>
773 774
<li>Fix bug where table locks were not dropped when the connection closed
</li>
775 776
<li>Fix extra CPU usage caused by query planner enhancement in 1.4.191
</li>
777 778
<li>improve performance of queries that use LIKE 'foo%' - 10x in the case of one of my queries
</li>
779 780
<li>The function IFNULL did not always return the result in the right data type.
</li>
781 782
<li>Issue #231: Possible infinite loop when initializing the ObjectDataType class
    when concurrently writing into MVStore.
783
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
784
</ul>
785 786 787

<h2>Version 1.4.191 Beta (2016-01-21)</h2>
<ul>
788 789
<li>TO_DATE and TO_TIMESTAMP functions. Thanks a lot to Sam Blume for the patch!
</li>
790 791 792
<li>Issue #229: DATEDIFF does not work for 'WEEK'.
</li>
<li>Issue #156: Add support for getGeneratedKeys() when executing commands via PreparedStatement#executeBatch.
793
</li>
794
<li>Issue #195: The new Maven uses a .cmd file instead of a .bat file.
795
</li>
796
<li>Issue #212: EXPLAIN PLAN for UPDATE statement did not display LIMIT expression.
797
</li>
798
<li>Support OFFSET without LIMIT in SELECT.
799
</li>
800
<li>Improve error message for METHOD_NOT_FOUND_1/90087.
801
</li>
802 803
<li>CLOB and BLOB objects of removed rows were sometimes kept in the database file.
</li>
804 805
<li>Server mode: executing "shutdown" left a thread on the server.
</li>
806 807
<li>The condition "in(select...)" did not work correctly in some cases if the subquery had an "order by".
</li>
808 809
<li>Issue #184: The Platform-independent zip had Windows line endings in Linux scripts.
</li>
810
<li>Issue #186: The "script" command did not include sequences of temporary tables.
811
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
812
<li>Issue #115: to_char fails with pattern FM0D099.
813
</li>
814 815 816 817 818 819
</ul>

<h2>Version 1.4.190 Beta (2015-10-11)</h2>
<ul>
<li>Pull request #183: optimizer hints (so far without special SQL syntax).
</li>
820
<li>Issue #180: In MVCC mode, executing UPDATE and SELECT ... FOR UPDATE
821 822
    simultaneously silently can drop rows.
</li>
823 824 825
<li>PageStore storage: the cooperative file locking mechanism
    did not always work as expected (with very slow computers).
</li>
826 827 828
<li>Temporary CLOB and BLOB objects are now removed while the database is open
    (and not just when closing the database).
</li>
829 830
<li>MVStore CLOB and BLOB larger than about 25 MB: An exception could be thrown
    when using the MVStore storage.
831
</li>
832 833
<li>Add FILE_WRITE function. Patch provided by Nicolas Fortin
    (Lab-STICC - CNRS UMR 6285 and Ecole Centrale de Nantes)
nicolas-f's avatar
nicolas-f committed
834
</li>
835 836
</ul>

837
<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>