From ff7bc64d1b655d63c92d25d9a19d46ae8613dbf8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 6 Aug 2010 12:18:26 +0000 Subject: [PATCH] size --- src/datastore/plugin_datastore_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c index dd0e52f40..98c6c4ab3 100644 --- a/src/datastore/plugin_datastore_mysql.c +++ b/src/datastore/plugin_datastore_mysql.c @@ -191,7 +191,7 @@ " ORDER BY expire DESC,vkey DESC LIMIT 1)"\ "ORDER BY expire DESC,vkey DESC LIMIT 1" -// #define SELECT_SIZE "SELECT sum(size) FROM gn090" +// #define SELECT_SIZE "SELECT SUM(BIT_LENGTH(value) DIV 8) FROM gn072" struct GNUNET_MysqlStatementHandle -- 2.25.1