You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ksenia Rybakova (JIRA)" <ji...@apache.org> on 2016/09/29 12:11:20 UTC

[jira] [Created] (IGNITE-4002) Incorrect errors/warnings while odbc driver installation

Ksenia Rybakova created IGNITE-4002:
---------------------------------------

             Summary: 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
            Priority: Minor


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.4#6332)