[tracker] SPARQL: Handle double and dateTime typed string literals
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] SPARQL: Handle double and dateTime typed string literals
- Date: Mon, 28 Mar 2011 09:10:18 +0000 (UTC)
commit a3137868c43a5070cbbb0c10ae59a4b1ca6b2f29
Author: Jürg Billeter <j bitron ch>
Date: Mon Mar 28 11:07:46 2011 +0200
SPARQL: Handle double and dateTime typed string literals
Fixes NB#240582.
src/libtracker-data/tracker-sparql-expression.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-expression.vala b/src/libtracker-data/tracker-sparql-expression.vala
index ce111b0..fdb0e2a 100644
--- a/src/libtracker-data/tracker-sparql-expression.vala
+++ b/src/libtracker-data/tracker-sparql-expression.vala
@@ -952,6 +952,8 @@ class Tracker.Sparql.Expression : Object {
switch (type) {
case PropertyType.INTEGER:
case PropertyType.BOOLEAN:
+ case PropertyType.DOUBLE:
+ case PropertyType.DATETIME:
if (query.no_cache) {
sql.append (escape_sql_string_literal (literal));
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]