From: Christian Grothoff Date: Fri, 6 Aug 2010 12:18:26 +0000 (+0000) Subject: size X-Git-Tag: initial-import-from-subversion-38251~20736 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ff7bc64d1b655d63c92d25d9a19d46ae8613dbf8;p=oweals%2Fgnunet.git size --- 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