Skip to content

Commit 0ce4993

Browse files
jjuliamolinfacebook-github-bot
authored andcommitted
test ci signals
Differential Revision: D89050764
1 parent 6e64ff6 commit 0ce4993

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

glean.cabal.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ library rts
358358
glean/rts/ownership/fallbackavx.h
359359
glean/rts/ownership.h
360360
glean/rts/ownership/pool.h
361-
glean/rts/ownership/setu32.h
361+
glean/rts/ownership/setu64.h
362362
glean/rts/ownership/slice.h
363363
glean/rts/ownership/triearray.h
364364
glean/rts/ownership/uset.h

glean/db/Glean/Database/Storage/RocksDB.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ instance Storage RocksDB where
211211
unsafeWithForeignPtr (dbPtr db) $ \db_ptr ->
212212
unsafeWithBytes unit $ \unit_ptr unit_size -> do
213213
w64 <- invoke $ glean_rocksdb_get_unit_id db_ptr unit_ptr unit_size
214-
if w64 > 0xffffffff
214+
if w64 == 0xffffffffffffffff
215215
then return Nothing
216216
else return (Just (UnitId (fromIntegral w64)))
217217

glean/rocksdb/ffi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void glean_rocksdb_container_free(Container* container) {
112112
const char* glean_rocksdb_container_open_database(
113113
Container* container,
114114
glean_fact_id_t start,
115-
uint32_t first_unit_id,
115+
uint64_t first_unit_id,
116116
int64_t version,
117117
Database** database) {
118118
return ffi::wrap([=] {
@@ -181,7 +181,7 @@ const char* glean_rocksdb_get_unit_id(
181181

182182
const char* glean_rocksdb_get_unit(
183183
Database* db,
184-
uint32_t unit_id,
184+
uint64_t unit_id,
185185
void** unit,
186186
size_t* unit_size) {
187187
return ffi::wrap([=] {

mk/cxx.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CXX_SOURCES_glean_cpp_rts = \
3131
glean/rts/nat.cpp \
3232
glean/rts/ownership.cpp \
3333
glean/rts/ownership/derived.cpp \
34-
glean/rts/ownership/setu32.cpp \
34+
glean/rts/ownership/setu64.cpp \
3535
glean/rts/ownership/slice.cpp \
3636
glean/rts/ownership/uset.cpp \
3737
glean/rts/prim.cpp \

0 commit comments

Comments
 (0)