-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Documentation Error in SET DEFAULT_LOCK_TIMEOUT command #4269
Copy link
Copy link
Closed
Description
Hello team,
We found a documentation error in SET DEFAULT_LOCK_TIMEOUT command in https://www.h2database.com/html/commands.html#set_default_lock_timeout
Here in the documentation the synopsis is:
SET DEFAULT LOCK_TIMEOUT int
Which is an error as we tried commands like:
SET DEFAULT LOCK_TIMEOUT 1000;
and H2 engine reports a syntax error:
Syntax error in SQL statement "SET [*]DEFAULT LOCK_TIMEOUT 1000"; expected "@, AUTOCOMMIT, EXCLUSIVE, IGNORECASE, PASSWORD, SALT, MODE, DATABASE, COLLATION, CLUSTER, DATABASE_EVENT_LISTENER, ALLOW_LITERALS, DEFAULT_TABLE_TYPE, SCHEMA, CATALOG, SCHEMA_SEARCH_PATH, JAVA_OBJECT_SERIALIZER, IGNORE_CATALOGS, SESSION, TRANSACTION, TIME, NON_KEYWORDS, DEFAULT_NULL_ORDERING"; SQL statement: SET DEFAULT LOCK_TIMEOUT 1000 [42001-239]
This is an error in the documentation. The synopsis should be:
SET DEFAULT_LOCK_TIMEOUT int
The environment we are using is the latest h2-2.3.239-SNAPSHOT.jar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels