changelog.html 49.0 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 25 26 27
<li>Issue #1485: Default window frame in presence of ORDER BY is RANGE .., not ROWS
</li>
<li>PR #1484: New tests, reimplemented EXCLUDE clause, and assorted changes
</li>
28 29
<li>Issue #1338: MSSQLServer compatibility enhancements
</li>
30 31 32 33 34 35
<li>PR #1480: Update Maven build instruction and fix some problems
</li>
<li>PR #1478: Upgrade maven-surefire-plugin
</li>
<li>PR #1476: Add TransactionStore to MVStore jar
</li>
36 37
<li>Issue #1475: Dropping column used by a view produces misleading error message
</li>
38 39 40 41 42 43 44 45
<li>Issue #1473: TestScript needs better detection of sorted result
</li>
<li>PR #1471: issue 1350: TestCrashAPI: PageStore.freeListPagesPerList
</li>
<li>PR #1470: Fix window functions in queries with HAVING
</li>
<li>PR #1469: Forbid incorrect nesting of aggregates and window functions
</li>
46 47
<li>Issue #1437: Generated as Identity has a different behaviour.
</li>
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
<li>PR #1467: Fix subtraction of timestamps
</li>
<li>PR #1464: Assorted minor changes in window processing code
</li>
<li>PR #1463: Fix some window aggregates and reduce amount of collecting implementations
</li>
<li>PR #1462: Separate aggregate and window code in some places
</li>
<li>PR #1461: Add WINDOW clause support
</li>
<li>Issue #1427: Scalability problem in MVSpatialIndex
</li>
<li>PR #1459: Improve window clause correctness checks
</li>
<li>PR #1457: Add NTILE(), LEAD() and LAG() window functions
</li>
<li>PR #1456: Add experimental implementation of remaining types of window frames
</li>
66 67 68 69 70 71 72 73 74 75
<li>PR #1454: Add FIRST_VALUE(), LAST_VALUE(), and NTH_VALUE()
</li>
<li>PR #1453, Issue #1161: Add ROW_NUMBER(), RANK(), DENSE_RANK(), PERCENT_RANK(), and CUME_DIST() window functions
</li>
<li>PR #1452: Reset aggregates before reuse
</li>
<li>PR #1451: Add experimental support for aggregates with OVER (ORDER BY *)
</li>
<li>PR #1450: Evaluate window aggregates only once for each partition
</li>
76 77
<li>PR #1449: Move more code from Aggregate and JavaAggregate to AbstractAggregate
</li>
78 79 80 81 82 83 84 85 86 87
<li>PR #1448: Add experimental implementation of grouped window queries
</li>
<li>PR #1447: Refactor OVER() processing code and fix some issues
</li>
<li>PR #1446: fix : The French messages are bad generated (not contain DB message)
</li>
<li>PR #1445: Use PostGIS-compatible format for SRID-only constraint in GEOMETRY
</li>
<li>PR #1444: Add experimental unoptimized support for OVER ([PARTITION BY ...]) in aggregates
</li>
88 89
<li>PR #1442: Bugfix - Release MVStore lock and file resources rightly even if errors when compacting database
</li>
90 91 92 93 94 95 96 97 98 99 100 101
<li>PR #1441: Add GEOMETRY type subtypes with type and SRID constraints
</li>
<li>PR #1434: Add support for ENUM in CAST and other changes
</li>
<li>PR #1431: Fix some inconsistencies in documentation and improve mvn build
</li>
<li>PR #1428: Add support for M and ZM dimensions to GEOMETRY data type
</li>
<li>Issue #1405: Introduce LocalResult factory
</li>
<li>PR #1422: Add ENVELOPE aggregate function
</li>
102 103 104 105 106 107 108 109 110 111
<li>Issue #1421: Remove old-style outer join
</li>
<li>PR #1419: Assorted minor changes
</li>
<li>PR #1414: DEFRAG and COMPACT mixup
</li>
<li>PR #1413: improvements to MVStore garbage collection
</li>
<li>PR #1412: Added org.h2.store.fs package to exported osgi bundles
</li>
112 113
<li>PR #1409: Map all remaining error codes to custom exception classes
</li>
114 115 116 117 118 119 120 121
<li>Issue #1407: Add a MODE() aggregate function
</li>
<li>PR #1402: Duplicate conditions in column check constraint
</li>
<li>PR #1399: Add more subclasses of SQLException and use it for some error codes
</li>
<li>PR #1397: Add DATEADD return type detection
</li>
122 123 124 125 126 127
<li>Issue #1393: Add INFORMATION_SCHEMA.COLUMNS.IS_VISIBLE
</li>
<li>PR #1392: Some refactoring and assorted minor optimizations
</li>
<li>PR #1388: Extract UnaryOperation from Operation and other changes
</li>
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
<li>PR #1386: DISK_SPACE_USED() for MVStore and other minor changes
</li>
<li>PR #1385: split up the rather large convertTo method
</li>
<li>PR #1384: Throw exception if unknown mode is specified in database URL
</li>
<li>Issue #1365, PR #1382: Parse more date-time literals for compatibility with other databases
</li>
<li>PR #1381: Minor fixes for INTERVAL data type
</li>
<li>PR #1380: Improve documentation of intervals
</li>
<li>Issue #1189: "Merge into using" parameters aren't found
</li>
<li>Issue #1377: org.h2.api.Interval and TIME leftovers
</li>
<li>PR #1376: TestMultiThreadedKernel is back
</li>
<li>PR #1373: INTERVAL data type
</li>
<li>Issue #1369: In MSSQL Server Mode generated UUID fields need NEWID() function
</li>
<li>Issue #756: FunctionsMySql is not in the main jar
</li>
<li>PR #1368: Parse BINARY VARYING, BINARY LARGE OBJECT, and CHARACTER LARGE OBJECT
</li>
<li>PR #1367: Assorted changes with SELECT output limitation clauses
</li>
<li>Issue #1363: Why H2 requires random own packages in OSGi bundle description?
</li>
<li>Issue #1192: Add an Automatic-Module-Name
</li>
<li>Issue #1361, PR #1362: Add limited support for MONEY and SMALLMONEY in compatibility modes
</li>
<li>Issue #1327: mvn build misses some resources
</li>
<li>PR #1359: Add system property to return OffsetDateTime from ResultSet.getObject()
</li>
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
<li>PR #1357: Simplify execution flow in some places
</li>
<li>PR #1356: Fix NPE in Query.initExpression()
</li>
<li>PR #1355: Assorted changes in MetaTable
</li>
<li>Issue #1352: TestCrashAPI: Prepared.getObjectId() was called before
</li>
<li>PR #1349: Changes is conversion and comparison methods of Value
</li>
<li>Issue #1346: Exception when using IN condition for enums
</li>
<li>PR #1345: Replace some init methods with constructors
</li>
<li>PR #1344: Streamline last chunk verification on startup
</li>
<li>PR #1341: Optimize MVSecondaryIndex.convertToKey()
</li>
<li>PR #1340: NoSuchElementException instead of returning null
</li>
<li>PR #1339: Add support of TIMESTAMP WITH TIME ZONE to addition and subtraction operators
</li>
<li>PR #1337: Streamline Value comparison
</li>
<li>PR #1336: Minor refactorings
</li>
<li>Issue #1332: Constraint name not set correctly
</li>
<li>Rename fields to reflect actual type
</li>
<li>Issue #1331: Regression in Database.updateMeta()
</li>
<li>Issue #1323: Slow update after altering table in 1.4.197
</li>
<li>PR #1326: Add support of PERCENT in FETCH and TOP clauses
</li>
<li>PR #1325: Optimize WITH TIES in some queries and specify data types for KEY_COLUMN_USAGE
</li>
<li>PR #1321: Do not add rows before OFFSET to result if possible
</li>
<li>PR #1319: Treat NEXTVAL as an auto-generated key
</li>
<li>PR #1318: Mode append fo MVPlainTempResult
</li>
<li>PR #1314: Add ALTER VIEW RENAME command
</li>
<li>PR #1313, issue #1315: Bugfix - using default locale encoding issue in conversion between varchar and varbinary value, and checking javac output text issue in SourceCompiler
</li>
<li>PR #1312: Add Java 9+ support to NIO_CLEANER_HACK
</li>
<li>PR #1311: Fix minor issues with ResultSet.getObject(..., Class) and WITH TIES
</li>
<li>Issue #1298: TestKillRestartMulti: A map named undoLog.2 already exists
</li>
<li>Issue #1307: Invalid value "null" for parameter "calendar" [90008-193]
</li>
<li>PR #1306: Add initial implementation of WITH TIES clause
</li>
<li>PR #1304: Update changelog and fix building of documentation
</li>
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 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359
<li>PR #1302: Use OpenJDK instead of OracleJDK 10 in Travis builds due to Travis problem
</li>
<li>Issue #1032: Error when executing "SELECT DISTINCT ON"
</li>
<li>Issue #1295: ConditionInSelect violates requirements of LocalResult
</li>
<li>PR #1296: Assorted minor changes
</li>
<li>PR #1293: Move HELP and SHOW tests into own files
</li>
<li>PR #1291: Fix update count for REPLACE and move some SQL tests into separate files
</li>
<li>PR #1290: Do not load the whole LOBs into memory for comparison operation
</li>
<li>Issue #408: DISTINCT does not properly work with ORDER BY on function like LOWER
</li>
<li>PR #1286: Fix MVTempResult implementations for results with invisible columns
</li>
<li>Issue #1284: Nanoseconds of timestamps from old H2 versions are not read properly
</li>
<li>PR #1283: Clean up interaction between LocalResult and ResultExternal
</li>
<li>Issue #1265: OOME is not handled properly in TraceObject.logAndConvert()
</li>
<li>Issue #1061: Regression: Braces after WITH clause not allowed anymore
</li>
<li>PR #1277: Assorted changes in Parser
</li>
<li>PR #1276: Improve support of ARRAY and SQLXML in JDBC layer
</li>
<li>PR #1275: Do not quote other lower case characters
</li>
<li>PR #1274: Use token type in Parser instead of string comparisons
</li>
<li>PR #1272: Reduce code duplication in Parser
</li>
<li>PR #1271: Minor memory leak
</li>
<li>PR #1270: drop TableView isPersistent field
</li>
<li>PR #1269: Eliminate commit of empty batch in some tests
</li>
<li>Issue #1266: Add INFORMATION_SCHEMA.COLUMNS.DATETIME_PRECISION
</li>
<li>Issue #1261: How to discover stored enum types through INFORMATION_SCHEMA
</li>
<li>Issue #1258: Failing to remove index when using schema.table
</li>
<li>PR #1256: misc tiny refactorings
</li>
<li>PR #1255: Minor changes in MERGE USING, DATE_TRUNC, and EXTRACT
</li>
<li>Issue #1214: Internal compiler believes that "3 warnings" is an error
</li>
<li>PR #1252: Assorted minor changes
</li>
<li>PR #1251: Fix SQL representation of CAST for types with fractional seconds precision
</li>
<li>PR #1250: Batch append mode for MVMap
</li>
<li>PR #1248: StringIndexOutOfBoundsException due to undoLog map
</li>
<li>PR #1246: Detect disabled tests
</li>
<li>PR #1242: Add implementation of SQLXML interface
</li>
<li>PR #1241: Various tweaks in attempting to fix TestDiskFull test
</li>
<li>PR #1240: Optimise ValueLobDB comparison methods
</li>
<li>PR #1239: Don't try to find tools.jar on Java 9+
</li>
<li>PR #1238: remove unfinished android API
</li>
<li>PR #1237: remove JaQu
</li>
<li>PR #1236: remove STORE_LOCAL_TIME code
</li>
<li>PR #1235: Do not use deprecated Class.newInstance()
</li>
<li>PR #1234: Fix NPE in Parser.parseMergeUsing()
</li>
<li>PR #1233: Simplify old lob ValueLob class
</li>
<li>Issue 1227: lob growth in pagestore mode
</li>
<li>PR #1230: clean up some javadoc and some throws clauses
</li>
<li>PR #1229: Create UndoLog only when necessary and remove outdated code
</li>
<li>PR #1228: Remove some PageStore+MVCC leftovers
</li>
<li>PR #1226: Fix inconsistencies in checks for transaction isolation level
</li>
<li>PR #1224: Enable Java 10 testing on Travis
</li>
<li>PR #1223: Fix issues with testing on latest Java versions
</li>
<li>PR #1222: Leftovers handling
</li>
<li>Issue #1220: JDK-9 build fails due to usage of java.xml.bind in external authentication
</li>
<li>PR #1218: Test utilities only once during TestAll
</li>
<li>PR #1217: Postpone session.endStatement() until after commit
</li>
<li>PR #1213: KillRestart fix
</li>
<li>PR #1211: Assorted minor changes
</li>
<li>Issue #1204: Always use MVCC with MVStore and never use it with PageStore
</li>
<li>PR #1206: Forbid reconnects in non-regular modes in TestScript
</li>
<li>PR #1205: Misc test fixes
</li>
<li>Issue 1198: Enable MULTI_THREADED by default for MVStore mode
</li>
<li>Issue #1195: Calling setBytes to set VARCHAR field fails
</li>
<li>PR #1197: Fix or suppress errors in tests
</li>
<li>PR #1194: TestKillRestartMulti: A map named undoLog-1 already exists
</li>
<li>PR #1193: enable TestRandomSQL on non-memory databases
</li>
<li>PR #1191: External authentication with datasource issue
</li>
<li>PR #1188: Undo log split to reduce contention
</li>
<li>PR #1186: TransactionMap::sizeAsLong() optimized - temp map eliminated
</li>
<li>PR #1185: Improve naming of the object id field in Prepared
</li>
migaman's avatar
migaman committed
360 361
<li>Issue #1196: Feature request for MS SQL Server Compatibility Mode
</li>
362
<li>Issue #1177: Resource leak in Recover tool
Noel Grandin's avatar
Noel Grandin committed
363
</li>
364
<li>PR #1183: Improve concurrency of connection pool with wait-free implement
Noel Grandin's avatar
Noel Grandin committed
365 366 367
</li>
<li>Issue #1073: H2 v1.4.197 fails to open an existing database with the error [Unique index or primary key violation: "PRIMARY KEY ON """".PAGE_INDEX"]
</li>
368
<li>PR #1179: Drop TransactionMap.readLogId
Noel Grandin's avatar
Noel Grandin committed
369 370 371 372 373
</li>
<li>PR #1181: Improve CURRENT_TIMESTAMP and add LOCALTIME and LOCALTIMESTAMP
</li>
<li>PR #1176: Magic value replacement with constant
</li>
374
<li>PR #1171: Introduce last committed value into a VersionedValue
Noel Grandin's avatar
Noel Grandin committed
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419
</li>
<li>PR #1175: tighten test conditions - do not ignore any exceptions
</li>
<li>PR #1174: Remove mapid
</li>
<li>PR #1173: protect first background exception encountered and relate it to clients
</li>
<li>PR #1172: Yet another attempt to tighten that testing loop
</li>
<li>PR #1170: Add support of CONTINUE | RESTART IDENTITY to TRUNCATE TABLE
</li>
<li>Issue #1168: ARRAY_CONTAINS() returning incorrect results when inside subquery with Long elements.
</li>
<li>PR #1167: MVStore: Undo log synchronization removal
</li>
<li>PR #1166: Add SRID support to EWKT format
</li>
<li>PR #1165: Optimize isTargetRowFound() and buildColumnListFromOnCondition() in MergeUsing
</li>
<li>PR #1164: More fixes for parsing of MERGE USING and other changes in Parser
</li>
<li>PR #1154: Support for external authentication
</li>
<li>PR #1162: Reduce allocation of temporary strings
</li>
<li>PR #1158: make fields final
</li>
<li>Issue #1129: TestCrashAPI / TestFuzzOptimizations throw OOME on Travis in PageStore mode
</li>
<li>PR #1156: Add support for SQL:2003 WITH [NO] DATA to CREATE TABLE AS
</li>
<li>PR #1149: fix deadlock between OnExitDatabaseCloser.DATABASES and Engine.DATABASES
</li>
<li>PR #1152: skip intermediate DbException object when creating SQLException
</li>
<li>PR #1144: Add missing schema name with recursive view
</li>
<li>Issue #1091: get rid of the "New" class
</li>
<li>PR #1147: Assorted minor optimizations
</li>
<li>PR #1145: Reduce code duplication
</li>
<li>PR #1142: Misc small fixes
</li>
420
<li>PR #1141: Assorted optimizations and fixes
Noel Grandin's avatar
Noel Grandin committed
421
</li>
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439
<li>PR #1138, #1139: Fix a memory leak caused by DatabaseCloser objects
</li>
<li>PR #1137: Step toward making transaction commit atomic
</li>
<li>PR #1136: Assorted minor optimizations
</li>
<li>PR #1134: Detect possible overflow in integer division and optimize some code
</li>
<li>PR #1133: Implement Comparable&lt;Value&gt; in CompareMode and optimize ValueHashMap.keys()
</li>
<li>PR #1132: Reduce allocation of ExpressionVisitor instances
</li>
<li>PR #1130: Improve TestScript and TestCrashAPI
</li>
<li>PR #1128: Fix ON DUPLICATE KEY UPDATE with ENUM
</li>
<li>PR #1127: Update JdbcDatabaseMetaData.getSQLKeywords() and perform some minor optimizations
</li>
440 441
<li>PR #1126: Fix an issue with code coverage and building of documentation
</li>
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
<li>PR #1123: Fix TCP version check
</li>
<li>PR #1122: Assorted changes
</li>
<li>PR #1121: Add some protection to ValueHashMap against hashes with the same less significant bits
</li>
<li>Issue #1097: H2 10x slower than HSQLDB and 6x than Apache Derby for specific query with GROUP BY and DISTINCT subquery
</li>
<li>Issue #1093: Use temporary files for ResultSet buffer tables in MVStore
</li>
<li>PR #1117: Fix sorting with distinct in ResultTempTable
</li>
<li>Issue #1095: Add support for INSERT IGNORE INTO &lt;table&gt; (&lt;columns&gt;) SELECT in MySQL Mode
</li>
<li>PR #1114: Minor cleanup and formatting fixes
</li>
<li>PR #1112: Improve test scripts
</li>
<li>PR #1111: Use a better fix for issue with SRID
</li>
<li>Issue #1107: Restore support of DATETIME2 with specified fractional seconds precision
</li>
464 465 466 467
<li>Issue #1106: Get rid of SwitchSource
</li>
<li>PR #1105: Assorted minor changes
</li>
468 469
<li>Issue #1102: CREATE SYNONYM rejects valid definition
</li>
470 471
<li>PR #1103: Remove redundant synchronization
</li>
472 473 474 475 476 477 478 479
<li>Issue #1048: 1.4.197 regression. org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "SYS"
</li>
<li>PR #1101: Move some tests in better place and add an additional test for 2PC
</li>
<li>PR #1100: Fix Insert.prepareUpdateCondition() for PageStore
</li>
<li>PR #1098: Fix some issues with NULLS FIRST / LAST
</li>
480 481
<li>Issue #1089: Parser does not quote words INTERSECTS, DUAL, TOP
</li>
482
<li>Issue #230: Renaming a column does not update foreign key constraint
483
</li>
484 485
<li>Issue #1091 Get rid if the New class
</li>
486 487
<li>PR #1087: improve performance of planning large queries
</li>
488 489 490 491 492 493
<li>PR #1085: Add tests for simple one-column index sorting
</li>
<li>PR #1084: re-enable some pagestore testing
</li>
<li>PR #1083: Assorted changes
</li>
494 495
<li>Issue #394: Recover tool places COLLATION and BINARY_COLLATION after temporary tables
</li>
496 497
<li>PR #1081: Session.getTransactionId should return a more distinguishing value
</li>
498
<li>Improve the script-based unit testing to check the error code of the exception thrown.
499
</li>
500 501
<li>Issue #1041: Support OR syntax while creating trigger
</li>
502
<li>Issue #1023: MVCC and existing page store file
503
</li>
504
<li>Issue #1003: Decrypting database with incorrect password renders the database corrupt
505
</li>
506
<li>Issue #873: No error when `=` in equal condition when column is not of array type
507
</li>
508 509
<li>Issue #1069: Failed to add DATETIME(3) column since 1.4.197
</li>
510 511
<li>Issue #456: H2 table privileges referring to old schema after schema rename
</li>
512 513
<li>Issue #1062: Concurrent update in table "SYS" caused by Analyze.analyzeTable()
</li>
514 515 516 517 518 519 520 521 522 523
<li>Yet another fix to Page memory accounting
</li>
<li>Replace MVStore.ASSERT variable with assertions
</li>
<li>Issue #1063: Leftover comments about enhanced for loops
</li>
<li>PR #1059: Assorted minor changes
</li>
<li>PR #1058: Txcommit atomic
</li>
524 525
<li>Issue #1038: ora_hash function implementation off by one
</li>
526 527
<li>PR #1054: Introduce overflow bit in tx state
</li>
528 529
<li>Issue #1047: Support DISTINCT in custom aggregate functions
</li>
530 531
<li>PR #1051: Atomic change of transaction state
</li>
532 533 534 535 536 537 538 539 540 541
<li>PR #1046: Split off Transaction TransactionMap VersionedValue
</li>
<li>PR #1045: TransactionStore move into separate org.h2.mvstore.tx package
</li>
<li>PR #1044: Encapsulate TransactionStore.store field in preparation to a move
</li>
<li>PR #1040: generate less garbage for String substring+trim
</li>
<li>PR #1035: Minor free space accounting changes
</li>
542 543 544 545 546 547 548 549
<li>Issue #1034: MERGE USING should not require the same column count in tables
</li>
<li>PR #1033: Fix issues with BUILTIN_ALIAS_OVERRIDE=1
</li>
<li>PR #1031: Drop schema rights together with schema
</li>
<li>PR #1029: No need to remove orphaned LOBs when the db is read-only
</li>
550 551 552 553 554 555
<li>Issue #1027: Add support for fully qualified names in MySQL compatibility mode
</li>
<li>Issue #178: INSERT ON DUPLICATE KEY UPDATE returns wrong generated key
</li>
<li>PR #1025: Remove BitField and replace its usages with BitSet
</li>
556 557 558 559
<li>Issue #1019: Console incorrectly sorts BigDecimal columns alphanumerically
</li>
<li>PR #1021: Update JdbcDatabaseMetaData to JDBC 4.1 (Java 7)
</li>
560
<li>Issue #992: 1.4.197 client cannot use DatabaseMetaData with 1.4.196 and older server
561
</li>
562 563
<li>Issue #1016: ResultSet.getObject() should return enum value, not ordinal
</li>
564 565
<li>Issue #1012: NPE when querying INFORMATION_SCHEMA.COLUMNS on a view that references an ENUM column
</li>
566 567 568 569
<li>Issue #1010: MERGE USING table not found with qualified table
</li>
<li>PR #1009: Fix ARRAY_AGG with ORDER BY and refactor aggregates
</li>
570 571 572 573
<li>Issue #1006: "Empty enums are not allowed" in 1.4.197 (mode=MYSQL)
</li>
<li>PR #1007: Copy also SRID in ValueGeometry.getGeometry()
</li>
574 575 576 577 578 579 580 581 582 583 584 585
<li>PR #1004: Preserve type names in more places especially for UUID
</li>
<li>Issue #1000: Regression in INFORMATION_SCHEMA.CONSTRAINTS.CONSTRAINT_TYPE content
</li>
<li>Issue #997: Can not delete from tables with enums
</li>
<li>Issue #994: Too much column in result set for GENERATED_KEYS on table with DEFAULT
</li>
<li>PR #993: Fix some compiler warnings and improve assert*() methods
</li>
<li>PR #991: Generate shorter queries in JdbcDatabaseMetaData.getTables() and remove some dead code
</li>
586
<li>PR #989: Fix more issues with range table and improve its documentation
thomasmueller's avatar
thomasmueller committed
587 588 589 590 591
</li>
</ul>

<h2>Version 1.4.197 (2018-03-18)</h2>
<ul>
592 593 594 595 596 597
<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>
598 599
<li>PR #984: Minor refactorings in Parser
</li>
600 601 602 603
<li>PR #983: Code cleanups via IntelliJ IDEA inspections
</li>
<li>Issue #960: Implement remaining time unit in "date_trunc" function
</li>
604 605
<li>Issue #933: MVStore background writer endless loop
</li>
606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852
<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
853
</li>
Noel Grandin's avatar
Noel Grandin committed
854 855 856 857 858 859 860 861 862 863 864 865 866 867
<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
868
<li>PR #799: Use result of ArrayList.remove()
Noel Grandin's avatar
Noel Grandin committed
869
</li>
thomasmueller's avatar
thomasmueller committed
870
<li>PR #797: Add ceilingKey() and floorKey() to TransactionMap (version 2)
Noel Grandin's avatar
Noel Grandin committed
871
</li>
thomasmueller's avatar
thomasmueller committed
872
<li>PR #796: Add MDY to DateStyle in PgServerThread
Noel Grandin's avatar
Noel Grandin committed
873
</li>
thomasmueller's avatar
thomasmueller committed
874
<li>PR #794: Sort files in generated jars
Noel Grandin's avatar
Noel Grandin committed
875
</li>
thomasmueller's avatar
thomasmueller committed
876
<li>PR #793: Change return type of Value.getBoolean() to boolean (unwrapped)
Noel Grandin's avatar
Noel Grandin committed
877
</li>
thomasmueller's avatar
thomasmueller committed
878
<li>PR #792: Inherit classpath from parent process
Noel Grandin's avatar
Noel Grandin committed
879
</li>
thomasmueller's avatar
thomasmueller committed
880
<li>PR #791: Switch to JaCoCo code coverage
Noel Grandin's avatar
Noel Grandin committed
881
</li>
thomasmueller's avatar
thomasmueller committed
882
<li>PR #788: Update lists of keywords
Noel Grandin's avatar
Noel Grandin committed
883
</li>
thomasmueller's avatar
thomasmueller committed
884
<li>PR #789: Map DATE in Oracle mode to ValueTimestamp
Noel Grandin's avatar
Noel Grandin committed
885
</li>
thomasmueller's avatar
thomasmueller committed
886
<li>PR #787: Assorted changes
Noel Grandin's avatar
Noel Grandin committed
887
</li>
thomasmueller's avatar
thomasmueller committed
888
<li>PR #785: Optimize NULL handling in MVSecondaryIndex.add()
Noel Grandin's avatar
Noel Grandin committed
889
</li>
thomasmueller's avatar
thomasmueller committed
890
<li>PR #783: Add Bits implementation for Java 9 and later versions
Noel Grandin's avatar
Noel Grandin committed
891
</li>
thomasmueller's avatar
thomasmueller committed
892
<li>PR #784: Hardcoded port numbers should not be used in unit tests
Noel Grandin's avatar
Noel Grandin committed
893
</li>
thomasmueller's avatar
thomasmueller committed
894
<li>PR #780: Close JavaFileManager after use.
Noel Grandin's avatar
Noel Grandin committed
895
</li>
thomasmueller's avatar
thomasmueller committed
896
<li>PR #782: Leftover shared lock after release
Noel Grandin's avatar
Noel Grandin committed
897
</li>
thomasmueller's avatar
thomasmueller committed
898
<li>PR #781: Locks left behind after commit
Noel Grandin's avatar
Noel Grandin committed
899
</li>
thomasmueller's avatar
thomasmueller committed
900
<li>PR #778: Reduce code duplication
Noel Grandin's avatar
Noel Grandin committed
901
</li>
thomasmueller's avatar
thomasmueller committed
902
<li>PR #775: Fix building of documentation and zip
Noel Grandin's avatar
Noel Grandin committed
903
</li>
thomasmueller's avatar
thomasmueller committed
904
<li>PR #774: Assorted changes
Noel Grandin's avatar
Noel Grandin committed
905
</li>
thomasmueller's avatar
thomasmueller committed
906
<li>PR #773: Better checks for arguments of partial LOB reading methods
Noel Grandin's avatar
Noel Grandin committed
907 908 909 910 911
</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
912
<li>PR #768: Add DataUtils.parseChecksummedMap()
Noel Grandin's avatar
Noel Grandin committed
913
</li>
thomasmueller's avatar
thomasmueller committed
914
<li>PR #769: Do not copy result of DataUtils.parseMap() to a new maps
Noel Grandin's avatar
Noel Grandin committed
915
</li>
thomasmueller's avatar
thomasmueller committed
916
<li>PR #766: Minor clean up of DateTimeUtils
Noel Grandin's avatar
Noel Grandin committed
917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941
</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
942
<li>PR #749: Fix some build checks in sources
Noel Grandin's avatar
Noel Grandin committed
943 944 945 946 947 948 949 950 951 952 953
</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>
954
<li>Issue#646 NPE in CREATE VIEW WITH RECURSIVE &amp; NON_RECURSIVE CTE
Noel Grandin's avatar
Noel Grandin committed
955 956 957
</li>
<li>PR #738: Copy javadoc to *BackwardsCompat to fix building of documentation
</li>
thomasmueller's avatar
thomasmueller committed
958
<li>PR #735: Add support of java.time.Instant V2
Noel Grandin's avatar
Noel Grandin committed
959 960 961 962 963 964 965 966 967 968 969 970 971
</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
972
<li>Issue #725: FilePathMem.tryLock() fails since Java 9
Noel Grandin's avatar
Noel Grandin committed
973
</li>
thomasmueller's avatar
thomasmueller committed
974
<li>PR #723: Clean up LocalDateTimeUtils
Noel Grandin's avatar
Noel Grandin committed
975
</li>
thomasmueller's avatar
thomasmueller committed
976
<li>PR #724: Use StringBuilder instead of StringBuffer
Noel Grandin's avatar
Noel Grandin committed
977 978 979
</li>
<li>PR #720: DROP TABLE RESTRICT shouldn't drop foreign keys in other tables
</li>
thomasmueller's avatar
thomasmueller committed
980
<li>PR #722: Assorted minor changes
Noel Grandin's avatar
Noel Grandin committed
981 982 983
</li>
<li>Issue #638: Oracle mode: incompatible regexp back-reference syntax
</li>
Noel Grandin's avatar
Noel Grandin committed
984 985
<li>Make ALL a reserved keyword
</li>
986
<li>Issue #311: Avoid calling list.toArray(new X[list.size()]) for performance
Noel Grandin's avatar
Noel Grandin committed
987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005
</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>
1006
<li>Issue #697: FilePathDisk.newInputStream fails for contextual class loading
Noel Grandin's avatar
Noel Grandin committed
1007 1008 1009
</li>
<li>Issue #695: jdbc:postgresql protocol connection issue in H2 Console Application in case of redshift driver in classpath
</li>
1010
<li>Fix 'file not closed' when using FILE_READ
Noel Grandin's avatar
Noel Grandin committed
1011
</li>
1012 1013
<li>Fix bug in LinkSchema tool when object exists with same name in different schemas
</li>
1014 1015
<li>Issue #675: Fix date operations on Locales with non-Gregorian calendars
</li>
1016 1017
<li>Fix removal of LOB when rolling back transaction on a table containing more than one LOB column.
</li>
thomasmueller's avatar
thomasmueller committed
1018
<li>Issue #654: List ENUM type values in INFORMATION_SCHEMA.COLUMNS
1019
</li>
1020
<li>Issue #650: Simple nested SELECT causes error for table with TIMESTAMP WITH TIMEZONE column
1021
</li>
1022
<li>Issue #654: List ENUM type values in INFORMATION_SCHEMA.COLUMNS
1023
</li>
1024 1025
<li>Issue #668: Fail of an update command on large table with ENUM column
</li>
thomasmueller's avatar
thomasmueller committed
1026
<li>Issue #662: column called CONSTRAINT is not properly escaped when storing to metadata
1027
</li>
1028 1029
<li>Issue #660: Outdated java version mentioned on http://h2database.com/html/build.html#providing_patches
</li>
thomasmueller's avatar
thomasmueller committed
1030
<li>Issue #643: H2 doesn't use index when I use IN and EQUAL in one query
1031
</li>
1032 1033
<li>Reset transaction start timestamp on ROLLBACK
</li>
1034 1035
<li>Issue #632: CREATE OR REPLACE VIEW creates incorrect columns names
</li>
1036 1037
<li>Issue #630: Integer overflow in CacheLRU can cause unrestricted cache growth
</li>
1038 1039
<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>
1040 1041
<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>
1042 1043
<li>Issue #570: MySQL compatibility for ALTER TABLE .. DROP INDEX
</li>
1044 1045
<li>Issue #537: Include the COLUMN name in message "Numeric value out of range"
</li>
Noel Grandin's avatar
Noel Grandin committed
1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
<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>
1058 1059
<li>Issue #585: MySQL mode DELETE statements compatibility
</li>
1060
<li>PR #586: remove extra tx preparation
Noel Grandin's avatar
Noel Grandin committed
1061 1062 1063 1064 1065 1066 1067
</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>
1068
<li>PR #579: Disallow BLOB type in PostgreSQL mode
Noel Grandin's avatar
Noel Grandin committed
1069 1070 1071 1072 1073 1074 1075
</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>
1076 1077
<li>Issue #569: ClassCastException when filtering on ENUM value in WHERE clause
</li>
1078 1079
<li>Issue #539: Allow override of builtin functions/aliases
</li>
1080 1081
<li>Issue #535: Allow explicit paths on Windows without drive letter
</li>
Noel Grandin's avatar
Noel Grandin committed
1082 1083
<li>Issue #549: Removed UNION ALL requirements for CTE
</li>
1084
<li>Issue #548: Table synonym support
Noel Grandin's avatar
Noel Grandin committed
1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
</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>
1098 1099
<li>Fix bug in parsing ANALYZE TABLE xxx SAMPLE_SIZE yyy
</li>
1100 1101 1102
<li>Add padding for CHAR(N) values in PostgreSQL mode
</li>
<li>Issue #89: Add DB2 timestamp format compatibility
1103
</li>
thomasmueller's avatar
thomasmueller committed
1104 1105 1106
</ul>

<h2>Version 1.4.196 (2017-06-10)</h2>
1107
<ul>
1108 1109
<li>Issue#479 Allow non-recursive CTEs (WITH statements), patch from stumc
</li>
1110
<li>Fix startup issue when using "CHECK" as a column name.
thomasmueller's avatar
thomasmueller committed
1111
</li>
1112 1113
<li>Issue #423: ANALYZE performed multiple times on one table during execution of the same statement.
</li>
1114 1115
<li>Issue #426: Support ANALYZE TABLE statement
</li>
1116 1117
<li>Issue #438: Fix slow logging via SLF4J (TRACE_LEVEL_FILE=4).
</li>
1118
<li>Issue #472: Support CREATE SEQUENCE ... ORDER as a NOOP for Oracle compatibility
thomasmueller's avatar
thomasmueller committed
1119
</li>
1120 1121
<li>Issue #479: Allow non-recursive Common Table Expressions (CTE)
</li>
1122 1123
<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
1124 1125 1126 1127 1128 1129
</ul>

<h2>Version 1.4.195 (2017-04-23)</h2>
<ul>
<li>Lazy query execution support.
</li>
1130 1131
<li>Added API for handling custom data types (System property "h2.customDataTypesHandler", API org.h2.api.CustomDataTypesHandler).
</li>
1132 1133
<li>Added support for invisible columns.
</li>
1134
<li>Added an ENUM data type, with syntax similar to that of MySQL.
1135
</li>
thomasmueller's avatar
thomasmueller committed
1136
<li>MVStore: for object data types, the cache size memory estimation
1137 1138
    was sometimes far off in a read-only scenario.
    This could result in inefficient cache usage.
thomasmueller's avatar
thomasmueller committed
1139
</li>
thomasmueller's avatar
thomasmueller committed
1140 1141 1142 1143
</ul>

<h2>Version 1.4.194 (2017-03-10)</h2>
<ul>
1144
<li>Issue #453: MVStore setCacheSize() should also limit the cacheChunkRef.
1145
</li>
1146
<li>Issue #448: Newly added TO_DATE and TO_TIMESTAMP functions have wrong datatype.
1147
</li>
1148 1149 1150 1151
<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>
1152 1153 1154
<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>
1155
<li>#430: Subquery not cached if number of rows exceeds MAX_MEMORY_ROWS.
1156
</li>
1157
<li>#411: "TIMEZONE" should be "TIME ZONE" in type "TIMESTAMP WITH TIMEZONE".
1158
</li>
1159
<li>PR #418, Implement Connection#createArrayOf and PreparedStatement#setArray.
1160
</li>
1161
<li>PR #427, Add MySQL compatibility functions UNIX_TIMESTAMP, FROM_UNIXTIME and DATE.
1162
</li>
1163
<li>#429: Tables not found : Fix some Turkish locale bugs around uppercasing.
1164
</li>
1165
<li>Fixed bug in metadata locking, obscure combination of DDL and SELECT SEQUENCE.NEXTVAL required.
1166
</li>
1167
<li>Added index hints: SELECT * FROM TEST USE INDEX (idx1, idx2).
1168
</li>
1169
<li>Add a test case to ensure that spatial index is used with and order by command by Fortin N.
1170
</li>
1171
<li>Fix multi-threaded mode update exception "NullPointerException", test case by Anatolii K.
1172
</li>
1173
<li>Fix multi-threaded mode insert exception "Unique index or primary key violation", test case by Anatolii K.
1174
</li>
1175
<li>Implement ILIKE operator for case-insensitive matching.
1176
</li>
1177
<li>Optimise LIKE queries for the common cases of '%Foo' and '%Foo%'.
1178
</li>
1179
<li>Issue #387: H2 MSSQL Compatibility Mode - Support uniqueidentifier.
1180
</li>
1181
<li>Issue #401: NPE in "SELECT DISTINCT * ORDER BY".
1182
</li>
1183
<li>Added BITGET function.
1184
</li>
1185
<li>Fixed bug in FilePathRetryOnInterrupt that caused infinite loop.
1186
</li>
1187
<li>PR #389, Handle LocalTime with nanosecond resolution, patch by katzyn.
Noel Grandin's avatar
Noel Grandin committed
1188
</li>
1189
<li>PR #382, Recover for "page store" H2 breaks LOBs consistency, patch by vitalus.
Noel Grandin's avatar
Noel Grandin committed
1190
</li>
1191
<li>PR #393, Run tests on Travis, patch by marschall.
Noel Grandin's avatar
Noel Grandin committed
1192
</li>
1193
<li>Fix bug in REGEX_REPLACE, not parsing the mode parameter.
1194 1195 1196
</li>
<li>ResultSet.getObject(..., Class) threw a ClassNotFoundException if the JTS suite was not in the classpath.
</li>
1197 1198 1199
<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.
1200 1201 1202
</li>
<li>TIMESTAMP WITH TIMEZONE: serialization for the PageStore was broken.
</li>
1203
</ul>
1204

thomasmueller's avatar
thomasmueller committed
1205
<h2>Version 1.4.193 (2016-10-31)</h2>
1206
<ul>
1207 1208
<li>PR #386: Add JSR-310 Support (introduces JTS dependency fixed in 1.4.194)
</li>
1209 1210 1211 1212
<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>
1213 1214
<li>Fix bug in picking the right index for INSERT..ON DUPLICATE KEY UPDATE when there are both UNIQUE and PRIMARY KEY constraints.
</li>
1215 1216
<li>Issue #380: Error Analyzer doesn't show source code
</li>
1217 1218
<li>Remove the "TIMESTAMP UTC" datatype, an experiment that was never finished.
</li>
1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238
<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
1239 1240 1241 1242
<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>
1243
<li>PR #337: Update russian translation, patch by avp1983
Noel Grandin's avatar
Noel Grandin committed
1244 1245 1246 1247 1248 1249 1250
</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>
1251
<li>PR #323: Regular expression functions (REGEXP_REPLACE, REGEXP_LIKE) enhancement, patch by Akkuzin
Noel Grandin's avatar
Noel Grandin committed
1252
</li>
1253 1254
<li>Use System.nanoTime for measuring query statistics
</li>
1255 1256
<li>Issue #324: Deadlock when sending BLOBs over TCP
</li>
1257 1258
<li>Fix for creating and accessing views in MULTITHREADED mode, test-case courtesy of Daniel Rosenbaum
</li>
Noel Grandin's avatar
Noel Grandin committed
1259 1260
<li>Issue #266: Spatial index not updating, fixed by merging PR #267
</li>
1261
<li>PR #302: add support for "with"-subqueries into "join" &amp; "sub-query" statements
Noel Grandin's avatar
Noel Grandin committed
1262 1263
</li>
<li>Issue #299: Nested derived tables did not always work as expected.
1264
</li>
1265 1266
<li>Use interfaces to replace the java version templating, idea from Lukas Eder.
</li>
1267
<li>Issue #295: JdbcResultSet.getObject(int, Class) returns null instead of throwing.
1268
</li>
1269 1270
<li>Mac OS X: Console tool process did not stop on exit.
</li>
1271 1272
<li>MVStoreTool: add "repair" feature.
</li>
1273 1274
<li>Garbage collection of unused chunks should be faster still.
</li>
1275 1276
<li>MVStore / transaction store: opening a store in read-only mode does no longer loop.
</li>
1277 1278 1279 1280
<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>
1281 1282
<li>MVStore: add feature to set the cache concurrency.
</li>
1283 1284
<li>File system nioMemFS: support concurrent reads.
</li>
1285 1286
<li>File systems: the compressed in-memory file systems now compress better.
</li>
1287
<li>LIRS cache: improved hit rate because now added entries get hot if they
1288 1289
    were in the non-resident part of the cache before.
</li>
1290 1291 1292 1293
</ul>

<h2>Version 1.4.192 Beta (2016-05-26)</h2>
<ul>
thomasmueller's avatar
thomasmueller committed
1294 1295
<li>Java 6 is no longer supported (the jar files are compiled for Java 7).
</li>
1296 1297
<li>Garbage collection of unused chunks should now be faster.
</li>
1298 1299
<li>Prevent people using unsupported combination of auto-increment columns and clustering mode.
</li>
1300 1301
<li>Support for DB2 time format, patch by Niklas Mehner
</li>
1302 1303
<li>Added support for Connection.setClientInfo() in compatibility modes for DB2, Postgresql, Oracle and MySQL.
</li>
1304 1305
<li>Issue #249: Clarify license declaration in Maven POM xml
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
1306
<li>Fix NullPointerException in querying spatial data through a sub-select.
1307
</li>
1308 1309 1310
<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>
1311 1312
<li>Issue #255: ConcurrentModificationException with multiple threads in embedded mode and temporary LOBs
</li>
1313 1314
<li>Issue #235: Anonymous SSL connections fail in many situations
</li>
1315
<li>Fix race condition in FILE_LOCK=SOCKET, which could result in the watchdog thread not running
1316
</li>
1317 1318
<li>Experimental support for datatype TIMESTAMP WITH TIMEZONE
</li>
1319 1320
<li>Add support for ALTER TABLE ... RENAME CONSTRAINT .. TO ...
</li>
1321 1322
<li>Add support for PostgreSQL ALTER TABLE ... RENAME COLUMN .. TO ...
</li>
1323 1324 1325 1326 1327 1328
<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>
1329
<li>Add support for ALTER INDEX [ IF EXISTS ]
1330 1331 1332
</li>
<li>Add support for ALTER SEQUENCE [ IF EXISTS ]
</li>
1333 1334
<li>Improve performance of cleaning up temp tables - patch from Eric Faulhaber.
</li>
1335 1336
<li>Fix bug where table locks were not dropped when the connection closed
</li>
1337 1338
<li>Fix extra CPU usage caused by query planner enhancement in 1.4.191
</li>
1339 1340
<li>improve performance of queries that use LIKE 'foo%' - 10x in the case of one of my queries
</li>
1341 1342
<li>The function IFNULL did not always return the result in the right data type.
</li>
1343 1344
<li>Issue #231: Possible infinite loop when initializing the ObjectDataType class
    when concurrently writing into MVStore.
1345
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
1346
</ul>
1347 1348 1349

<h2>Version 1.4.191 Beta (2016-01-21)</h2>
<ul>
1350 1351
<li>TO_DATE and TO_TIMESTAMP functions. Thanks a lot to Sam Blume for the patch!
</li>
1352 1353 1354
<li>Issue #229: DATEDIFF does not work for 'WEEK'.
</li>
<li>Issue #156: Add support for getGeneratedKeys() when executing commands via PreparedStatement#executeBatch.
1355
</li>
1356
<li>Issue #195: The new Maven uses a .cmd file instead of a .bat file.
1357
</li>
1358
<li>Issue #212: EXPLAIN PLAN for UPDATE statement did not display LIMIT expression.
1359
</li>
1360
<li>Support OFFSET without LIMIT in SELECT.
1361
</li>
1362
<li>Improve error message for METHOD_NOT_FOUND_1/90087.
1363
</li>
1364 1365
<li>CLOB and BLOB objects of removed rows were sometimes kept in the database file.
</li>
1366 1367
<li>Server mode: executing "shutdown" left a thread on the server.
</li>
1368 1369
<li>The condition "in(select...)" did not work correctly in some cases if the subquery had an "order by".
</li>
1370 1371
<li>Issue #184: The Platform-independent zip had Windows line endings in Linux scripts.
</li>
1372
<li>Issue #186: The "script" command did not include sequences of temporary tables.
1373
</li>
Thomas Mueller Graf's avatar
Thomas Mueller Graf committed
1374
<li>Issue #115: to_char fails with pattern FM0D099.
1375
</li>
1376 1377 1378 1379 1380 1381
</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>
1382
<li>Issue #180: In MVCC mode, executing UPDATE and SELECT ... FOR UPDATE
1383 1384
    simultaneously silently can drop rows.
</li>
1385 1386 1387
<li>PageStore storage: the cooperative file locking mechanism
    did not always work as expected (with very slow computers).
</li>
1388 1389 1390
<li>Temporary CLOB and BLOB objects are now removed while the database is open
    (and not just when closing the database).
</li>
1391 1392
<li>MVStore CLOB and BLOB larger than about 25 MB: An exception could be thrown
    when using the MVStore storage.
1393
</li>
1394 1395
<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
1396
</li>
1397 1398
</ul>

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