Skip to content

Commit a6656fe

Browse files
committed
Revert "Batch queries when using HTTP client"
1 parent bf5840b commit a6656fe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/db/db.go

-5
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ func (db *Db) ExecuteStatements(statementsString string) (StatementsResult, erro
131131
}
132132

133133
func (db *Db) executeQueriesAndPopulateChannel(queries []string, statementResultCh chan StatementResult) {
134-
if strings.HasPrefix(db.urlScheme, "http") {
135-
query := strings.Join(queries, "; ")
136-
db.executeQuery(query, statementResultCh)
137-
return
138-
}
139134
for _, query := range queries {
140135
if shouldContinue := db.executeQuery(query, statementResultCh); !shouldContinue {
141136
return

0 commit comments

Comments
 (0)