MDEV-11901 : MariaRocks on Windows

fixed compilation, disabled unix-only tests (the ones that use bash
etc).

Changed plugin library name to ha_rocksdb.dll/so
This commit is contained in:
Vladislav Vaintroub 2017-02-01 21:27:13 +00:00
commit 5875633c2a
35 changed files with 756 additions and 344 deletions

View file

@ -20,6 +20,16 @@
#include <string>
#include <vector>
#ifdef _WIN32
#include <stdlib.h>
#define htobe64 _byteswap_uint64
#define be64toh _byteswap_uint64
#define htobe32 _byteswap_ulong
#define be32toh _byteswap_ulong
#define htobe16 _byteswap_ushort
#define be16toh _byteswap_ushort
#endif
namespace myrocks {
/*