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

[tor-commits] [metrics-web/master] Use unquoted empty string in userstats-combined.csv.



commit 90ed8824011c16d8af4694b576a09b3e26ea2327
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Thu Jan 19 20:47:38 2017 +0100

    Use unquoted empty string in userstats-combined.csv.
    
    Fixes #21223.
---
 modules/clients/init-userstats.sql | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/clients/init-userstats.sql b/modules/clients/init-userstats.sql
index 314ff58..25422a6 100644
--- a/modules/clients/init-userstats.sql
+++ b/modules/clients/init-userstats.sql
@@ -705,8 +705,9 @@ CREATE OR REPLACE VIEW combined AS SELECT
   -- for unknown pluggable transports.
   a.transport,
 
-  -- The IP address version of this estimate, which is always ''.
-  ''::TEXT as version,
+  -- The IP address version of this estimate, which is always NULL
+  -- (unquoted empty string in CSV output).
+  NULL::TEXT as version,
 
   -- Estimated fraction of nodes reporting directory requests, which is
   -- used to extrapolate observed requests to estimated total requests in

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits