gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r38103 - gnunet/src/psycstore


From: gnunet
Subject: [GNUnet-SVN] r38103 - gnunet/src/psycstore
Date: Tue, 11 Oct 2016 17:12:43 +0200

Author: grothoff
Date: 2016-10-11 17:12:43 +0200 (Tue, 11 Oct 2016)
New Revision: 38103

Modified:
   gnunet/src/psycstore/plugin_psycstore_mysql.c
Log:
logging

Modified: gnunet/src/psycstore/plugin_psycstore_mysql.c
===================================================================
--- gnunet/src/psycstore/plugin_psycstore_mysql.c       2016-10-11 15:04:30 UTC 
(rev 38102)
+++ gnunet/src/psycstore/plugin_psycstore_mysql.c       2016-10-11 15:12:43 UTC 
(rev 38103)
@@ -1075,12 +1075,17 @@
           break;
 
         default:
-          LOG_MYSQL(plugin, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK,
-                    "mysql extract_result", stmt);
+          LOG_MYSQL (plugin, GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK,
+                     "mysql extract_result", stmt);
         }
     }
   while (GNUNET_YES == sql_ret);
 
+  // for debugging
+  if (GNUNET_NO == ret)
+    GNUNET_log (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK,
+               "Empty result set\n");
+
   return ret;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]