[Groonga-commit] groonga/grnxx [master] Fix a bug.

Back to archive index

susumu.yata null+****@clear*****
Thu Dec 20 10:56:04 JST 2012


susumu.yata	2012-12-20 10:56:04 +0900 (Thu, 20 Dec 2012)

  New Revision: 06d0186d5175449f42206f903ad87966b0acf5c8
  https://github.com/groonga/grnxx/commit/06d0186d5175449f42206f903ad87966b0acf5c8

  Log:
    Fix a bug.

  Modified files:
    lib/db/blob_vector.hpp

  Modified: lib/db/blob_vector.hpp (+1 -1)
===================================================================
--- lib/db/blob_vector.hpp    2012-12-19 20:45:45 +0900 (195b195)
+++ lib/db/blob_vector.hpp    2012-12-20 10:56:04 +0900 (cb4db2f)
@@ -23,7 +23,7 @@
 namespace grnxx {
 namespace db {
 
-constexpr uint64_t BLOB_VECTOR_MAX_ID = uint64_t(1) << 40;
+constexpr uint64_t BLOB_VECTOR_MAX_ID = (uint64_t(1) << 40) - 1;
 
 constexpr uint32_t BLOB_VECTOR_INVALID_PAGE_ID = 0xFFFFFFFFU;
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index