Fixed magisk db not returning stuff due to bad syntax

This commit is contained in:
Viktor De Pasquale 2019-05-09 17:13:02 +02:00
parent 7abdac72a4
commit e79e744e08
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
package com.topjohnwu.magisk.data.database.base
data class MagiskQuery(private val _query: String) {
val query = "magisk --sqlite $_query"
val query = "magisk --sqlite '$_query'"
}

View File

@ -69,6 +69,7 @@ class Select : MagiskQueryBuilder {
.appendln(condition)
.appendln(orderField)
.toString()
.replace("\n", " ")
}
}