[tracker/tracker-sql] tracker-sql: Print null values as well



commit aa33586e01e7ea43dfbf297a9837017f533e9412
Author: Jürg Billeter <j bitron ch>
Date:   Thu Mar 25 18:02:33 2010 +0100

    tracker-sql: Print null values as well

 utils/tracker-sql/tracker-sql.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/utils/tracker-sql/tracker-sql.c b/utils/tracker-sql/tracker-sql.c
index c186b13..cb03dd6 100644
--- a/utils/tracker-sql/tracker-sql.c
+++ b/utils/tracker-sql/tracker-sql.c
@@ -98,6 +98,8 @@ main (int argc, char **argv)
 					g_message ("Value: %s", str);
 
 					g_value_unset (&value);
+				} else {
+					g_message ("Value: (null)");
 				}
 				g_value_unset (&transform);
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]