diff options
Diffstat (limited to 'src/fabric/include/fabric2.hrl')
-rw-r--r-- | src/fabric/include/fabric2.hrl | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/fabric/include/fabric2.hrl b/src/fabric/include/fabric2.hrl index ebbb7c7c5..f0d789940 100644 --- a/src/fabric/include/fabric2.hrl +++ b/src/fabric/include/fabric2.hrl @@ -11,6 +11,9 @@ % the License. +-include_lib("erlfdb/include/erlfdb.hrl"). + + -define(uint2bin(I), binary:encode_unsigned(I, little)). -define(bin2uint(I), binary:decode_unsigned(I, little)). -define(bin2int(V), binary_to_integer(V)). @@ -77,12 +80,4 @@ -define(PDICT_TX_RES_KEY, '$fabric_tx_result'). -define(PDICT_FOLD_ACC_STATE, '$fabric_fold_acc_state'). -% Let's keep these in ascending order --define(TRANSACTION_TOO_OLD, 1007). --define(FUTURE_VERSION, 1009). --define(COMMIT_UNKNOWN_RESULT, 1021). --define(TRANSACTION_CANCELLED, 1025). --define(TRANSACTION_TOO_LARGE, 2101). - - -define(DEFAULT_BINARY_CHUNK_SIZE, 100000). |