linux db
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
This commit is contained in:
@@ -98,7 +98,7 @@ public class RSSuper.FeedItemStore : Object {
|
||||
|
||||
stmt.bind_text(1, id, -1, null);
|
||||
|
||||
if (stmt.step() == SQLite.SQLITE_ROW) {
|
||||
if (stmt.step() == Sqlite.ROW) {
|
||||
return row_to_item(stmt);
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ public class RSSuper.FeedItemStore : Object {
|
||||
|
||||
stmt.bind_text(1, subscription_id, -1, null);
|
||||
|
||||
while (stmt.step() == SQLite.SQLITE_ROW) {
|
||||
while (stmt.step() == Sqlite.ROW) {
|
||||
var item = row_to_item(stmt);
|
||||
if (item != null) {
|
||||
items.append(item);
|
||||
@@ -144,7 +144,7 @@ public class RSSuper.FeedItemStore : Object {
|
||||
"FROM feed_items ORDER BY published DESC LIMIT 1000;"
|
||||
);
|
||||
|
||||
while (stmt.step() == SQLite.SQLITE_ROW) {
|
||||
while (stmt.step() == Sqlite.ROW) {
|
||||
var item = row_to_item(stmt);
|
||||
if (item != null) {
|
||||
items.append(item);
|
||||
@@ -174,7 +174,7 @@ public class RSSuper.FeedItemStore : Object {
|
||||
stmt.bind_text(1, query, -1, null);
|
||||
stmt.bind_int(2, limit);
|
||||
|
||||
while (stmt.step() == SQLite.SQLITE_ROW) {
|
||||
while (stmt.step() == Sqlite.ROW) {
|
||||
var item = row_to_item(stmt);
|
||||
if (item != null) {
|
||||
items.append(item);
|
||||
@@ -242,7 +242,7 @@ public class RSSuper.FeedItemStore : Object {
|
||||
"ORDER BY published DESC LIMIT 100;"
|
||||
);
|
||||
|
||||
while (stmt.step() == SQLite.SQLITE_ROW) {
|
||||
while (stmt.step() == Sqlite.ROW) {
|
||||
var item = row_to_item(stmt);
|
||||
if (item != null) {
|
||||
items.append(item);
|
||||
@@ -266,7 +266,7 @@ public class RSSuper.FeedItemStore : Object {
|
||||
"ORDER BY published DESC LIMIT 100;"
|
||||
);
|
||||
|
||||
while (stmt.step() == SQLite.SQLITE_ROW) {
|
||||
while (stmt.step() == Sqlite.ROW) {
|
||||
var item = row_to_item(stmt);
|
||||
if (item != null) {
|
||||
items.append(item);
|
||||
@@ -326,7 +326,7 @@ public class RSSuper.FeedItemStore : Object {
|
||||
/**
|
||||
* Convert a database row to a FeedItem
|
||||
*/
|
||||
private FeedItem? row_to_item(SQLite.Stmt stmt) {
|
||||
private FeedItem? row_to_item(Sqlite.Statement stmt) {
|
||||
try {
|
||||
string categories_str = stmt.column_text(9);
|
||||
string[] categories = parse_categories(categories_str);
|
||||
|
||||
Reference in New Issue
Block a user