[tracker/wip/carlosg/batches-and-resources: 4/5] libtracker-data: Remove astray ':'
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/batches-and-resources: 4/5] libtracker-data: Remove astray ':'
- Date: Fri, 11 Dec 2020 10:53:13 +0000 (UTC)
commit ac44d29514a3882abe8c432f0a6f06ef0b65009e
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Dec 6 18:59:31 2020 +0100
libtracker-data: Remove astray ':'
The UUID generation function already uses ':' as the separator,
adding it here too means we have "urn:bnode::..." prefix, the double
colons are undesired.
src/libtracker-data/tracker-data-update.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index a740b985d..a052d0320 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -3083,7 +3083,7 @@ tracker_data_update_ensure_new_bnode (TrackerData *data,
}
while (TRUE) {
- uuid = tracker_generate_uuid ("urn:bnode:");
+ uuid = tracker_generate_uuid ("urn:bnode");
tracker_db_statement_bind_text (stmt, 0, uuid);
tracker_db_statement_bind_int (stmt, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]