[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r8743 - gnunet/src/datastore
From: |
gnunet |
Subject: |
[GNUnet-SVN] r8743 - gnunet/src/datastore |
Date: |
Fri, 17 Jul 2009 17:23:41 -0600 |
Author: grothoff
Date: 2009-07-17 17:23:41 -0600 (Fri, 17 Jul 2009)
New Revision: 8743
Modified:
gnunet/src/datastore/plugin_datastore_sqlite.c
Log:
print
Modified: gnunet/src/datastore/plugin_datastore_sqlite.c
===================================================================
--- gnunet/src/datastore/plugin_datastore_sqlite.c 2009-07-17 23:13:35 UTC
(rev 8742)
+++ gnunet/src/datastore/plugin_datastore_sqlite.c 2009-07-17 23:23:41 UTC
(rev 8743)
@@ -285,11 +285,11 @@
if ( (sqlite3_step (stmt) == SQLITE_DONE) &&
(sqlite3_exec (plugin->dbh,
"CREATE TABLE gn080 ("
- " size INTEGER NOT NULL DEFAULT 0,"
- " type INTEGER NOT NULL DEFAULT 0,"
- " prio INTEGER NOT NULL DEFAULT 0,"
- " anonLevel INTEGER NOT NULL DEFAULT 0,"
- " expire INTEGER NOT NULL DEFAULT 0,"
+ " size INT4 NOT NULL DEFAULT 0,"
+ " type INT4 NOT NULL DEFAULT 0,"
+ " prio INT4 NOT NULL DEFAULT 0,"
+ " anonLevel INT4 NOT NULL DEFAULT 0,"
+ " expire INT8 NOT NULL DEFAULT 0,"
" hash TEXT NOT NULL DEFAULT '',"
" vhash TEXT NOT NULL DEFAULT '',"
" value BLOB NOT NULL DEFAULT '')", NULL, NULL,
@@ -681,11 +681,12 @@
#if DEBUG_SQLITE
GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG,
"sqlite",
- "Storing in database block with type %u/key `%s'/priority
%u/expiration %llu.\n",
+ "Storing in database block with type %u/key `%s'/priority
%u/expiration %llu (%lld).\n",
type,
GNUNET_h2s(key),
priority,
- GNUNET_TIME_absolute_get_remaining (expiration).value);
+ (unsigned long long) GNUNET_TIME_absolute_get_remaining
(expiration).value,
+ (long long) expiration.value);
#endif
GNUNET_CRYPTO_hash (data, size, &vhash);
stmt = plugin->insertContent;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r8743 - gnunet/src/datastore,
gnunet <=