Skip to content

Commit

Permalink
Bug fix while creating queries
Browse files Browse the repository at this point in the history
Signed-off-by: Alok Kumar Singh <dev.alok.singh123@gmail.com>
  • Loading branch information
akstron committed Oct 29, 2024
1 parent c35ef2d commit 18dcf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/storage/cassandra/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func getQueriesFromBytes(queryFile []byte) ([]string, error) {
// Construct individual queries strings
var queryString string
for _, line := range extractedLines {
queryString += string(line)
queryString += string(line) + "\n"
if bytes.HasSuffix(line, []byte(";")) {
queries = append(queries, queryString)
queryString = ""
Expand Down

0 comments on commit 18dcf1e

Please sign in to comment.