Skip to content
Advertisement

Check for key exists in the Aerospike database

Could you please explain why the Aerospike::exists method throws Fatal Error:

Code:

JavaScript

Environment:

  • Ubuntu 16.04.1
  • PHP 7.0.13
  • Arospike PHP Cient 3.4.13
  • Aerospike Docker Image (Server): aerospike:3.10.1

Test:

JavaScript

I found in src/aerospike/aerospike_record_operations.c:

JavaScript

and in src/aerospike/aerospike_common.h:

JavaScript

I checked the documentation but found no hint of how this can be fixed.

Thanks

Advertisement

Answer

Fixed by compiling the php client with the following flags:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement