commit | 49ab6f8dc74d02309ac5b578d1bf28b3ce73f88c | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Jan 15 16:58:13 2013 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Tue Jan 15 16:58:13 2013 -0800 |
tree | 42a2cef27442fcf91f2e8cdda89de62ce8aec6a5 | |
parent | 99bc4b3587fea4ec58d7ebc433d1ec4d0be38dfe [diff] [blame] |
Solving two small database-related bugs
diff --git a/src/db-helper.cc b/src/db-helper.cc index 0e08612..01462c6 100644 --- a/src/db-helper.cc +++ b/src/db-helper.cc
@@ -239,6 +239,8 @@ const void *name = sqlite3_value_blob (argv[0]); sqlite3_int64 seqno = sqlite3_value_int64 (argv[1]); + std::cout << context << ": nameBytes " << nameBytes << " seqno " << seqno << std::endl; + EVP_DigestUpdate (*hash_context, name, nameBytes); EVP_DigestUpdate (*hash_context, &seqno, sizeof(sqlite3_int64)); }