fix: need quotes on job type key

pull/1207/merge 1.17.3
0x330a 9 months ago
parent c1102a2a50
commit 82cbf830ae
No known key found for this signature in database
GPG Key ID: 267811D6E6A2698C

@ -31,7 +31,7 @@ configurations.all {
exclude module: "commons-logging"
}
def canonicalVersionCode = 357
def canonicalVersionCode = 358
def canonicalVersionName = "1.17.3"
def postFixSize = 10

@ -29,7 +29,7 @@ class SessionJobDatabase(context: Context, helper: SQLCipherOpenHelper) : Databa
= "CREATE TABLE $sessionJobTable ($jobID INTEGER PRIMARY KEY, $jobType STRING, $failureCount INTEGER DEFAULT 0, $serializedData TEXT);"
const val dropAttachmentDownloadJobs =
"DELETE FROM $sessionJobTable WHERE $jobType = ${AttachmentDownloadJob.KEY};"
"DELETE FROM $sessionJobTable WHERE $jobType = '${AttachmentDownloadJob.KEY}';"
}
fun persistJob(job: Job) {

Loading…
Cancel
Save