Warning, file /sdk/codevis/thirdparty/soci/scripts/ci/before_build_odbc.sh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 #!/usr/bin/env bash 0002 # Sets up environment for SOCI backend ODBC in CI builds 0003 # 0004 # Mateusz Loskot <mateusz@loskot.net>, http://github.com/SOCI 0005 # 0006 source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh 0007 0008 # Create PostgreSQL database we use for ODBC tests too. 0009 ${SOCI_SOURCE_DIR}/scripts/ci/before_build_postgresql.sh 0010 0011 # Test connection to the database via ODBC. 0012 # 0013 # Note that using FILEDSN requires -k (Use SQLDriverConnect) and doesn't work 0014 # without it. 0015 echo 'select 2+2;' | isql -b -k -v "FILEDSN=${SOCI_SOURCE_DIR}/tests/odbc/test-postgresql.dsn"