tracker r3086 - in trunk: . src/libtracker-data
- From: mottela svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r3086 - in trunk: . src/libtracker-data
- Date: Fri, 13 Mar 2009 17:55:04 +0000 (UTC)
Author: mottela
Date: Fri Mar 13 17:55:04 2009
New Revision: 3086
URL: http://svn.gnome.org/viewvc/tracker?rev=3086&view=rev
Log:
Return undefined integer values with empty field in rdf
Modified:
trunk/ChangeLog
trunk/src/libtracker-data/tracker-rdf-query.c
Modified: trunk/src/libtracker-data/tracker-rdf-query.c
==============================================================================
--- trunk/src/libtracker-data/tracker-rdf-query.c (original)
+++ trunk/src/libtracker-data/tracker-rdf-query.c Fri Mar 13 17:55:04 2009
@@ -821,7 +821,7 @@
where_field,
data->current_value);
} else {
- if (strcmp(value, " '' ") == 0) {
+ if ( !strlen(value) || (strcmp(value, " '' ") == 0) ) {
tracker_field_data_set_needs_null (field_data, TRUE);
g_string_append_printf (str, " ((%s = '') OR %s IS NULL) ",
where_field,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]