diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:39:41 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 09:39:41 +0000 |
commit | 6cccd878eeab34115d87b75fa018582422f04dd4 (patch) | |
tree | f24e01777b791d101225c999dd95cb2820612aa5 /src/datastore/plugin_datastore_mysql.c | |
parent | 5be02c06ab32edcc8ab3ea6b8ff291ba946ed831 (diff) | |
download | gnunet-6cccd878eeab34115d87b75fa018582422f04dd4.tar.gz gnunet-6cccd878eeab34115d87b75fa018582422f04dd4.zip |
Refactoring gnunet time
Diffstat (limited to 'src/datastore/plugin_datastore_mysql.c')
-rw-r--r-- | src/datastore/plugin_datastore_mysql.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/datastore/plugin_datastore_mysql.c b/src/datastore/plugin_datastore_mysql.c index 150dc665c..0aefbb75d 100644 --- a/src/datastore/plugin_datastore_mysql.c +++ b/src/datastore/plugin_datastore_mysql.c | |||
@@ -1062,7 +1062,7 @@ iterator_helper_prepare (void *cls, | |||
1062 | &nrc->last_vkey, | 1062 | &nrc->last_vkey, |
1063 | GNUNET_YES, | 1063 | GNUNET_YES, |
1064 | MYSQL_TYPE_LONGLONG, | 1064 | MYSQL_TYPE_LONGLONG, |
1065 | &nrc->now.value, | 1065 | &nrc->now.abs_value, |
1066 | GNUNET_YES, | 1066 | GNUNET_YES, |
1067 | MYSQL_TYPE_LONGLONG, | 1067 | MYSQL_TYPE_LONGLONG, |
1068 | &nrc->last_expire, | 1068 | &nrc->last_expire, |
@@ -1071,7 +1071,7 @@ iterator_helper_prepare (void *cls, | |||
1071 | &nrc->last_vkey, | 1071 | &nrc->last_vkey, |
1072 | GNUNET_YES, | 1072 | GNUNET_YES, |
1073 | MYSQL_TYPE_LONGLONG, | 1073 | MYSQL_TYPE_LONGLONG, |
1074 | &nrc->now.value, | 1074 | &nrc->now.abs_value, |
1075 | GNUNET_YES, -1); | 1075 | GNUNET_YES, -1); |
1076 | break; | 1076 | break; |
1077 | default: | 1077 | default: |
@@ -1199,7 +1199,7 @@ mysql_next_request_cont (void *next_cls, | |||
1199 | exp); | 1199 | exp); |
1200 | #endif | 1200 | #endif |
1201 | GNUNET_assert (nrc->plugin->next_task == GNUNET_SCHEDULER_NO_TASK); | 1201 | GNUNET_assert (nrc->plugin->next_task == GNUNET_SCHEDULER_NO_TASK); |
1202 | expiration.value = exp; | 1202 | expiration.abs_value = exp; |
1203 | ret = nrc->dviter (nrc->dviter_cls, | 1203 | ret = nrc->dviter (nrc->dviter_cls, |
1204 | nrc, | 1204 | nrc, |
1205 | &key, | 1205 | &key, |
@@ -1368,7 +1368,7 @@ mysql_plugin_put (void *cls, | |||
1368 | unsigned int itype = type; | 1368 | unsigned int itype = type; |
1369 | unsigned int ipriority = priority; | 1369 | unsigned int ipriority = priority; |
1370 | unsigned int ianonymity = anonymity; | 1370 | unsigned int ianonymity = anonymity; |
1371 | unsigned long long lexpiration = expiration.value; | 1371 | unsigned long long lexpiration = expiration.abs_value; |
1372 | unsigned long hashSize; | 1372 | unsigned long hashSize; |
1373 | unsigned long hashSize2; | 1373 | unsigned long hashSize2; |
1374 | unsigned long long vkey; | 1374 | unsigned long long vkey; |
@@ -1720,7 +1720,7 @@ mysql_plugin_update (void *cls, | |||
1720 | { | 1720 | { |
1721 | struct Plugin *plugin = cls; | 1721 | struct Plugin *plugin = cls; |
1722 | unsigned long long vkey = uid; | 1722 | unsigned long long vkey = uid; |
1723 | unsigned long long lexpire = expire.value; | 1723 | unsigned long long lexpire = expire.abs_value; |
1724 | int ret; | 1724 | int ret; |
1725 | 1725 | ||
1726 | #if DEBUG_MYSQL | 1726 | #if DEBUG_MYSQL |