diff --git a/src/parser/query_builder.cpp b/src/parser/query_builder.cpp index 877fa167..5cd7ca49 100644 --- a/src/parser/query_builder.cpp +++ b/src/parser/query_builder.cpp @@ -435,7 +435,7 @@ void do_add_null_comparison_to_query(Query &query, Predicate::Operator op, const query.and_query(column == realm::null()); break; default: - throw std::runtime_error("Only 'equal' and 'not equal' operators supported when comapring against 'null'."); + throw std::runtime_error("Only 'equal' and 'not equal' operators supported when comparing against 'null'."); } } @@ -452,7 +452,7 @@ void do_add_null_comparison_to_query(Query &query, Predicate::Operator o query.equal(expr.prop->table_column, realm::null()); break; default: - throw std::runtime_error("Only 'equal' and 'not equal' operators supported when comapring against 'null'."); + throw std::runtime_error("Only 'equal' and 'not equal' operators supported when comparing against 'null'."); } }