Changeset: c37608855161 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c37608855161
Modified Files:
        sql/backends/monet5/rel_bin.c
        sql/server/rel_unnest.c
        sql/server/sql_var.c
Branch: default
Log Message:

Use a spell checker.


diffs (57 lines):

diff --git a/sql/backends/monet5/rel_bin.c b/sql/backends/monet5/rel_bin.c
--- a/sql/backends/monet5/rel_bin.c
+++ b/sql/backends/monet5/rel_bin.c
@@ -4093,7 +4093,7 @@ rel2bin_recursive_munion(backend *be, sq
        stmt *rel_stmt = NULL, *sub = NULL;
        int nr_unions = list_length((list*)rel->l);
        if (nr_unions != 2)
-               return sql_error(sql, 10, SQLSTATE(27000) "UNION: recursive 
unions need a base and recusive part");
+               return sql_error(sql, 10, SQLSTATE(27000) "UNION: recursive 
unions need a base and recursive part");
        stmt *l = stmt_limit_value(be, topn);
 
        bool distinct = need_distinct(rel);
@@ -4154,7 +4154,7 @@ rel2bin_recursive_munion(backend *be, sq
                r = pushLng(be->mb, r, 0);
                if (l) {
                        r = pushArgument(be->mb, r, l->nr);
-                       r = pushBit(be->mb, r, FALSE); /* not symetrical */
+                       r = pushBit(be->mb, r, FALSE); /* not symmetrical */
                        r = pushBit(be->mb, r, TRUE);  /* including lower bound 
*/
                        r = pushBit(be->mb, r, FALSE); /* excluding upper bound 
*/
                        r = pushBit(be->mb, r, FALSE); /* nils_false */
@@ -4197,7 +4197,7 @@ rel2bin_recursive_munion(backend *be, sq
                rec = subres_assign_resultvars(be, rec, rel_stmt->op4.lval);
                if (distinct) {
                        rec = rel2bin_distinct(be, rec, NULL);
-                       /* remove values allready in the result table */
+                       /* remove values already in the result table */
                        stmt *s = releqjoin(be, rec->op4.lval, result_table, 
NULL, 0 /* use hash */, 0, 1 /*is_semantics*/);
                        stmt *lm = stmt_result(be, s, 0);
 
diff --git a/sql/server/rel_unnest.c b/sql/server/rel_unnest.c
--- a/sql/server/rel_unnest.c
+++ b/sql/server/rel_unnest.c
@@ -1597,8 +1597,9 @@ push_up_munion(mvc *sql, sql_rel *rel, l
                int len = 0, need_length_reduction = 0;
                int rec = is_recursive(s);
 
-               /* Incase of recursive push up the project of the base side 
(inplace) */
-               /* push normaly into right side, but stop when we hit this base 
again */
+               /* In case of recursive push up the project of the base side
+                * (inplace) push normally into right side, but stop when we hit
+                * this base again */
 
                /* left of rel should be a set */
                list *rlist = sa_list(sql->sa);
diff --git a/sql/server/sql_var.c b/sql/server/sql_var.c
--- a/sql/server/sql_var.c
+++ b/sql/server/sql_var.c
@@ -71,7 +71,7 @@ init_global_variables(mvc *sql)
        mal_optimizer = GDKgetenv("sql_optimizer");
        if (!mal_optimizer)
                mal_optimizer = "default_pipe";
-       /* TODO: Change optmizer to mal_optimizer */
+       /* TODO: Change optimizer to mal_optimizer */
        SQL_GLOBAL(sname, "optimizer", mal_optimizer);
 
        sql_find_subtype(&ctype, "sec_interval", inttype2digits(ihour, isec), 
0);
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to