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
|
package com.topjohnwu.magisk.data.database.base
|
||||||
|
|
||||||
data class MagiskQuery(private val _query: String) {
|
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(condition)
|
||||||
.appendln(orderField)
|
.appendln(orderField)
|
||||||
.toString()
|
.toString()
|
||||||
|
.replace("\n", " ")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user