Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Briar Mailbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Briar Mailbox
Commits
3330a9e4
Verified
Commit
3330a9e4
authored
3 years ago
by
Sebastian
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade H2 to latest version
parent
ae6dee00
No related branches found
No related tags found
1 merge request
!46
Upgrade H2
Pipeline
#8414
passed
3 years ago
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mailbox-core/build.gradle
+1
-1
1 addition, 1 deletion
mailbox-core/build.gradle
mailbox-core/src/main/java/org/briarproject/mailbox/core/db/H2Database.kt
+1
-1
1 addition, 1 deletion
.../main/java/org/briarproject/mailbox/core/db/H2Database.kt
with
2 additions
and
2 deletions
mailbox-core/build.gradle
+
1
−
1
View file @
3330a9e4
...
@@ -27,7 +27,7 @@ dependencies {
...
@@ -27,7 +27,7 @@ dependencies {
implementation
"io.ktor:ktor-jackson:$ktor_version"
implementation
"io.ktor:ktor-jackson:$ktor_version"
api
"org.slf4j:slf4j-api:1.7.32"
api
"org.slf4j:slf4j-api:1.7.32"
implementation
'com.h2database:h2:1.4.
192'
// The last version that supports Java 1.6
implementation
'com.h2database:h2:1.4.
200'
// Base 32
// Base 32
implementation
'dev.keiji.rfc4648:rfc4648:1.0.0'
implementation
'dev.keiji.rfc4648:rfc4648:1.0.0'
...
...
This diff is collapsed.
Click to expand it.
mailbox-core/src/main/java/org/briarproject/mailbox/core/db/H2Database.kt
+
1
−
1
View file @
3330a9e4
...
@@ -33,7 +33,7 @@ open class H2Database(
...
@@ -33,7 +33,7 @@ open class H2Database(
}
}
private
val
dbPath
:
String
get
()
=
File
(
config
.
getDatabaseDirectory
(),
"db"
).
absolutePath
private
val
dbPath
:
String
get
()
=
File
(
config
.
getDatabaseDirectory
(),
"db"
).
absolutePath
private
val
url
:
String
=
(
"jdbc:h2:split:$dbPath;
MULTI_THREADED=1;
WRITE_DELAY=0"
)
private
val
url
:
String
=
(
"jdbc:h2:split:$dbPath;WRITE_DELAY=0"
)
override
fun
open
(
listener
:
MigrationListener
?):
Boolean
{
override
fun
open
(
listener
:
MigrationListener
?):
Boolean
{
val
dir
=
config
.
getDatabaseDirectory
()
val
dir
=
config
.
getDatabaseDirectory
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment