Skip to content

Commit

Permalink
ODBC changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SingingBush committed Nov 2, 2024
1 parent 9e831fa commit 4ab58fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/ddbctest/common.d
Original file line number Diff line number Diff line change
@@ -47,7 +47,12 @@ class DdbcTestFixture {

// fill database with test data
if(this.setupSql !is null) {
stmt.executeUpdate(this.setupSql);
import std.algorithm : each;
import std.array;

// string can contain multiple statements so split them
this.setupSql.split(";")
.each!((s) => stmt.executeUpdate(s));
}
}

0 comments on commit 4ab58fa

Please sign in to comment.