Skip to content

Commit

Permalink
Changed string escaping for test data export
Browse files Browse the repository at this point in the history
  • Loading branch information
ubuntolog committed Dec 8, 2023
1 parent 1f0cb00 commit 8709f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cppNGSD/NGSD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8967,7 +8967,7 @@ void NGSD::exportTable(const QString& table, QTextStream& out, QString where_cla

QSqlField escaped_statement;
escaped_statement.setType(QVariant::String);
escaped_statement(field_value);
escaped_statement.setValue(field_value);

db_->driver()->formatValue(escaped_statement);

Expand Down

0 comments on commit 8709f86

Please sign in to comment.