Skip to content

Port to Missings

Compare
Choose a tag to compare
@quinnj quinnj released this 06 Dec 23:03
Fix tests on Travis CI (#177)

* Fix tests on Travis CI

* Enable local-infile for the ODBC client

Due to security restrictions in MySQL the [LOAD DATA LOCAL](https://dev.mysql.com/doc/refman/5.7/en/load-data-local.html)
statement will only work if it is enabled on both the server and the
client. To check if the settings is enabled on the server you can run:

SHOW GLOBAL VARIABLES LIKE 'local_infile';

To enable the setting on the client for ODBC we need to have the ODBC
DSN use the ["my.cnf"](https://dev.mysql.com/doc/refman/5.7/en/option-files.html)
files via the ["Option" parameter](https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-connection-parameters.html#codbc-dsn-option-flags)
being set to 65536 ("USE_MYCNF").

* Allow failures on Julia nightly

Note: Travis requires "env" to be defined before the allow_failures
for things to work correctly.