mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 09:37:38 +00:00
Fixed magisk db not returning stuff due to bad syntax
This commit is contained in:
parent
7abdac72a4
commit
e79e744e08
@ -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'"
|
||||
}
|
@ -69,6 +69,7 @@ class Select : MagiskQueryBuilder {
|
||||
.appendln(condition)
|
||||
.appendln(orderField)
|
||||
.toString()
|
||||
.replace("\n", " ")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user