This commit is contained in:
Ari Lazier 2016-04-11 16:37:18 -07:00
parent 321ddc39e1
commit 9f4b9410a5
1 changed files with 2 additions and 2 deletions

View File

@ -435,7 +435,7 @@ void do_add_null_comparison_to_query(Query &query, Predicate::Operator op, const
query.and_query(column == realm::null()); query.and_query(column == realm::null());
break; break;
default: 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<Binary>(Query &query, Predicate::Operator o
query.equal(expr.prop->table_column, realm::null()); query.equal(expr.prop->table_column, realm::null());
break; break;
default: 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'.");
} }
} }