[
https://issues.apache.org/jira/browse/IGNITE-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930039#comment-15930039
]
ASF GitHub Bot commented on IGNITE-4002:
----------------------------------------
GitHub user isapego opened a pull request:
https://github.com/apache/ignite/pull/1635
IGNITE-4002: Fixed warning/error messages during ODBC driver installation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-4002
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/1635.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1635
----
commit 245363e7ab4b4826ae2936b3c49fa9cfd02cdeff
Author: Igor Sapego <[email protected]>
Date: 2017-03-17T14:27:26Z
IGNITE-4002: Fixed warning/error messages on ODBC driver installiation.
----
> Incorrect errors/warnings while odbc driver installation
> --------------------------------------------------------
>
> Key: IGNITE-4002
> URL: https://issues.apache.org/jira/browse/IGNITE-4002
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 1.7
> Environment: Windows 2010 (Rus)
> Reporter: Ksenia Rybakova
> Assignee: Igor Sapego
> Priority: Minor
> Labels: cpp
> Fix For: 2.0
>
>
> 1) Build x64 odbc driver according to $IGNITE_HOME\platforms\cpp\DEVNOTES.txt
> 2) Install x64 bit driver according to
> $IGNITE_HOME\platforms\cpp\odbc\README.txt. Don't pass x32 driver as a second
> parameter:
> {noformat}
> D:\ignite\platforms\cpp\odbc\install>install_amd64.cmd
> D:\ignite\platforms\cpp\project\vs\x64\Release\ignite.odbc.dll
> Installing 64-bit driver:
> D:\ignite\platforms\cpp\project\vs\x64\Release\ignite.odbc.dll
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Ошибка в синтаксисе команды.
> {noformat}
> Expected: "warning: 32-bit driver is not specified. If you want to install
> 32-bit driver please specify path to it as a second argument." message
> Actual: "Ошибка в синтаксисе команды".
> 3) Install x64 bit driver according to
> $IGNITE_HOME\platforms\cpp\odbc\README.txt. Pass \ (root directory) as a
> second parameter (x32 driver):
> {noformat}
> D:\ignite\platforms\cpp\odbc\install>install_amd64.cmd
> D:\ignite\platforms\cpp\project\vs\x64\Release\ignite.odbc.dll \
> Installing 64-bit driver:
> D:\ignite\platforms\cpp\project\vs\x64\Release\ignite.odbc.dll
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Installing 32-bit driver: \
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> Операция успешно завершена.
> {noformat}
> Expected:
> "warning: The path you have specified seems to be a directory. Note that you
> have to specify path to driver file itself instead." warning before
> "Installing 32-bit driver: \"
> Actual: no such a warning (if exist %ODBC_X86%\ -> if exist \ \ -> false. So
> this check doesn't work in this case).
> Please, consider some changes in error handling.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)