Skip to content

Commit

Permalink
Change ODBC version to 1.4 for release (#542)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 authored Apr 7, 2022
1 parent 2134187 commit 9b43d3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sql-odbc-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
ODBC_BUILD_PATH: "./build/odbc/build"
AWS_SDK_INSTALL_PATH: "./build/aws-sdk/install"
PLUGIN_NAME: opensearch-sql-odbc
OD_VERSION: 2.0.0.0
OD_VERSION: 1.4.0.0

jobs:
build-mac:
Expand Down
54 changes: 0 additions & 54 deletions .github/workflows/sql-odbc-rename-and-release-workflow.yml

This file was deleted.

4 changes: 2 additions & 2 deletions sql-odbc/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ set(INSTALL_SRC "${CMAKE_CURRENT_SOURCE_DIR}/installer")
set(DSN_INSTALLER_SRC "${CMAKE_CURRENT_SOURCE_DIR}/DSNInstaller")

# ODBC Driver version
set(DRIVER_PACKAGE_VERSION "2.0.0.0")
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "2,0,0,0")
set(DRIVER_PACKAGE_VERSION "1.4.0.0")
set(DRIVER_PACKAGE_VERSION_COMMA_SEPARATED "1,4,0,0")
add_compile_definitions( OPENSEARCH_ODBC_VERSION="${DRIVER_PACKAGE_VERSION}"
# Comma separated version is required for odbc administrator's driver file.
OPENSEARCH_ODBC_DRVFILE_VERSION=${DRIVER_PACKAGE_VERSION_COMMA_SEPARATED} )
Expand Down

0 comments on commit 9b43d3f

Please sign in to comment.