aboutsummaryrefslogtreecommitdiff
path: root/contrib/native/client/src/include
diff options
context:
space:
mode:
authorXiao Meng <xiaom.cs@gmail.com>2014-09-17 12:39:48 -0700
committerParth Chandra <pchandra@maprtech.com>2014-10-21 19:32:11 -0700
commitae2790ed8b2bf2293e85b79ce4344ba3f8910cf9 (patch)
tree9989b9c328cf971728f61fe59c7691729c7d6cd8 /contrib/native/client/src/include
parentb7aebbd7b6e4c5de83e7c26ca63a216dfd910c33 (diff)
DRILL-1305: C++ Client. Consume QueryState message from the Drillbit.
Diffstat (limited to 'contrib/native/client/src/include')
-rw-r--r--contrib/native/client/src/include/drill/common.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/contrib/native/client/src/include/drill/common.hpp b/contrib/native/client/src/include/drill/common.hpp
index 151d698b5..c49240e59 100644
--- a/contrib/native/client/src/include/drill/common.hpp
+++ b/contrib/native/client/src/include/drill/common.hpp
@@ -42,7 +42,7 @@
#define MAX_SOCK_RD_BUFSIZE 1024
#define MEM_CHUNK_SIZE 64*1024; // 64K
-#define MAX_MEM_ALLOC_SIZE 256*1024*1024; // 256 MB
+#define MAX_MEM_ALLOC_SIZE 256*1024*1024; // 256 MB
#ifdef _DEBUG
#define EXTRA_DEBUGGING
@@ -71,7 +71,13 @@ typedef enum{
QRY_OUT_OF_BOUNDS=5,
QRY_CLIENT_OUTOFMEM=6,
QRY_INTERNAL_ERROR=7,
- QRY_COMM_ERROR=8
+ QRY_COMM_ERROR=8,
+ QRY_PENDING = 9,
+ QRY_RUNNING = 10,
+ QRY_COMPLETED = 11,
+ QRY_CANCELED = 12,
+ QRY_FAILED = 13,
+ QRY_UNKNOWN_QUERY = 14
} status_t;
typedef enum{