Update to 2.3.1:
* Fix: Compatibility with sqlite3 version >= 3.52.0
This commit is contained in:
@@ -7,7 +7,6 @@ function SQL_addquotes {
|
||||
# add quotes and escape string
|
||||
if [ -n "$line" ]; then
|
||||
line=$(escape_string "$line")
|
||||
line="${line/%=/= }"
|
||||
line="${line/ = /=\"}"
|
||||
line="${line/%/\"}"
|
||||
fi
|
||||
@@ -63,7 +62,7 @@ function generate_SQL_alpha {
|
||||
function fetch_BBlog_entries_alpha {
|
||||
SQL="$(generate_SQL_alpha)"
|
||||
SQL="${SQL% OR citeref=\'} ORDER BY prauth,year"
|
||||
sqlite3 -line "$db" "$SQL" | SQL_addquotes
|
||||
sqlite3 "$db" ".mode line --colsep ' = '" "$SQL" | SQL_addquotes
|
||||
# add an empty line
|
||||
echo ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user