8000 - Adding Initial change for adding minimum support of SQL on arangodb · davinash/arangodb@d373110 · GitHub
[go: up one dir, main page]

Skip to content

Commit d373110

Browse files
author
adongre
committed
- Adding Initial change for adding minimum support of SQL on arangodb
- Added sql-parser in the 3rdParty - Added hack into the javascript part - Added a hack into ResCursorHandler for allowing SQL quieries.
1 parent 7d34c5c commit d373110

File tree

10 files changed

+5948
-5855
lines changed

10 files changed

+5948
-5855
lines changed

3rdParty/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,15 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/rocksdb)
278278
include_directories(${ROCKSDB_INCLUDE_DIR})
279279
set(ARANGO_ROCKSDB_VERSION "${ARANGO_ROCKSDB_VERSION}" PARENT_SCOPE)
280280

281+
282+
################################################################################
283+
## SQL-PARSER
284+
################################################################################
285+
286+
set(SQL_PARSER_VERSION "1.0.0")
287+
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sql-parser/${SQL_PARSER_VERSION})
288+
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/sql-parser/${SQL_PARSER_VERSION})
289+
281290
################################################################################
282291
## ASIO
283292
################################################################################

3rdParty/sql-parser

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 2c1071eda1c3a00d291a4975205ea7b3453430a9

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ if (CMAKE_COMPILER_IS_CLANG)
577577
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.3")
578578
message(FATAL_ERROR "ArangoDB requires clang 3.3 or newer.")
579579
endif()
580-
list(APPEND BASE_LIBS atomic)
580+
#list(APPEND BASE_LIBS atomic)
581581
endif ()
582582
endif ()
583583

0 commit comments

Comments
 (0)
0