Skip to content

Commit

Permalink
Test Vertica 23-24
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Dec 30, 2024
1 parent eac806b commit 2d5c9af
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/ubuntu/vertica.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ fi
cat t/odbc/vertica.ini | sudo tee -a /etc/vertica.ini

# https://www.vertica.com/download/vertica/client-drivers/
curl -sSLO https://www.vertica.com/client_drivers/12.0.x/12.0.3-0/vertica-client-12.0.3-0.x86_64.tar.gz
sudo tar -xzf vertica-client-12.0.3-0.x86_64.tar.gz -C /
curl -sSLO https://www.vertica.com/client_drivers/24.2.x/24.2.0-1/vertica-client-24.2.0-1.x86_64.tar.gz
sudo tar -xzf vertica-client-24.2.0-1.x86_64.tar.gz -C /

if [[ ! -z "$GITHUB_PATH" ]]; then
echo "/opt/vertica/bin" >> $GITHUB_PATH
if [[ -n "$GITHUB_PATH" ]]; then
echo "/opt/vertica/bin" >> "$GITHUB_PATH"
fi
2 changes: 2 additions & 0 deletions .github/workflows/vertica.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
strategy:
matrix:
include:
- { label: '24.1', version: 24.1.0-0, image: vertica/vertica-ce, db: VMart }
- { label: '23.4', version: 23.4.0-0, image: vertica/vertica-ce, db: VMart }
- { label: '12.0', version: 12.0.4-0, image: vertica/vertica-ce, db: VMart }
- { label: '11.0', version: 11.1.1-0, image: vertica/vertica-ce, db: VMart }
- { label: '10.1', version: 10.1.1-0, image: vertica/vertica-ce, db: VMart }
Expand Down
2 changes: 1 addition & 1 deletion t/odbc/vertica.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Driver]
DriverManagerEncoding=UTF-16
ODBCInstLib=/usr/lib64/libodbcinst.so
ODBCInstLib=/usr/lib/x86_64-linux-gnu/libodbcinst.so
ErrorMessagesPath=/opt/vertica/lib64
7 changes: 4 additions & 3 deletions t/vertica.t
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,10 @@ for my $i (1..30) {
$err = try {
$vta->use_driver;
$dbh = DBI->connect($uri->dbi_dsn, $uri->user, $uri->password, {
PrintError => 0,
RaiseError => 1,
AutoCommit => 1,
PrintError => 0,
RaiseError => 0,
AutoCommit => 1,
HandleError => $vta->_error_handler,
});
undef;
} catch {
Expand Down

0 comments on commit 2d5c9af

Please sign in to comment.