Skip to content

Commit 0f90e25

Browse files
committed
fix sqlite reading of empty values
closes #2411
1 parent 9aca161 commit 0f90e25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/souffle/io/ReadStreamSQLite.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ class ReadStreamSQLite : public ReadStream {
6666
for (column = 0; column < arity; column++) {
6767
std::string element;
6868
if (0 == sqlite3_column_bytes(selectStatement, column)) {
69-
element = "n/a";
69+
element = "";
7070
} else {
7171
element = reinterpret_cast<const char*>(sqlite3_column_text(selectStatement, column));
7272

7373
if (element.empty()) {
74-
element = "n/a";
74+
element = "";
7575
}
7676
}
7777

0 commit comments

Comments
 (0)