Changeset: 31772b44da50 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/31772b44da50
Modified Files:
        monetdb5/mal/mal_client.c
        monetdb5/mal/mal_interpreter.c
        sql/server/rel_optimize_proj.c
        sql/server/rel_optimize_sel.c
Branch: Dec2023
Log Message:

English.


diffs (77 lines):

diff --git a/monetdb5/mal/mal_client.c b/monetdb5/mal/mal_client.c
--- a/monetdb5/mal/mal_client.c
+++ b/monetdb5/mal/mal_client.c
@@ -351,7 +351,7 @@ MCshutdowninprogress(void)
  * When a client needs to be terminated then the file descriptors for
  * its input/output are simply closed.  This leads to a graceful
  * degradation, but may take some time when the client is busy.  A more
- * forcefull method is to kill the client thread, but this may leave
+ * forceful method is to kill the client thread, but this may leave
  * locks and semaphores in an undesirable state.
  *
  * The routine freeClient ends a single client session, but through side
@@ -437,7 +437,7 @@ MCcloseClient(Client c)
 
 /*
  * If a client disappears from the scene (eof on stream), we should
- * terminate all its children. This is in principle a forcefull action,
+ * terminate all its children. This is in principle a forceful action,
  * because the children may be ignoring the primary IO streams.
  * (Instead they may be blocked in an infinite loop)
  *
diff --git a/monetdb5/mal/mal_interpreter.c b/monetdb5/mal/mal_interpreter.c
--- a/monetdb5/mal/mal_interpreter.c
+++ b/monetdb5/mal/mal_interpreter.c
@@ -1346,7 +1346,7 @@ runMALsequence(Client cntxt, MalBlkPtr m
  * an error raised deeply inside the system.
  *
  * The policy is to require all C-functions to return a string-pointer.
- * Upon a successfull call, it is a NULL string. Otherwise it contains an
+ * Upon a successful call, it is a NULL string. Otherwise it contains an
  * encoding of the exceptional state encountered. This message
  * starts with the exception identifer, followed by contextual details.
  */
@@ -1361,7 +1361,7 @@ runMALsequence(Client cntxt, MalBlkPtr m
  * A key issue is to deal with temporary BATs in an efficient way.
  * References to bats in the buffer pool may cause dangling references
  * at the language level. This appears as soons as your share
- * a reference and delete the BAT from one angle. If not carefull, the
+ * a reference and delete the BAT from one angle. If not careful, the
  * dangling pointer may subsequently be associated with another BAT
  *
  * All string values are private to the VALrecord, which means they
diff --git a/sql/server/rel_optimize_proj.c b/sql/server/rel_optimize_proj.c
--- a/sql/server/rel_optimize_proj.c
+++ b/sql/server/rel_optimize_proj.c
@@ -90,8 +90,8 @@ rel_push_project_down_(visitor *v, sql_r
                        }
                }
        }
-       /* ToDo handle usefull renames, ie new relation name and unique set of 
attribute names (could reduce set of * attributes) */
-       /* handle both useless and usefull with project [ group by ] */
+       /* ToDo handle useful renames, ie new relation name and unique set of 
attribute names (could reduce set of * attributes) */
+       /* handle both useless and useful with project [ group by ] */
        return rel;
 }
 
@@ -1568,7 +1568,7 @@ rel_simplify_sum(visitor *v, sql_rel *re
                                                /* the new generate function 
calls are valid, update relations */
                                                /* we need a new relation for 
the multiplication and addition/subtraction */
                                                if (!upper) {
-                                                       /* be carefull with 
relations with more than 1 reference, so do in-place replacement */
+                                                       /* be careful with 
relations with more than 1 reference, so do in-place replacement */
                                                        list *projs = 
rel_projections(v->sql, rel, NULL, 1, 1);
                                                        sql_rel *nrel = 
rel_groupby(v->sql, rel->l, NULL);
                                                        nrel->exps = rel->exps;
diff --git a/sql/server/rel_optimize_sel.c b/sql/server/rel_optimize_sel.c
--- a/sql/server/rel_optimize_sel.c
+++ b/sql/server/rel_optimize_sel.c
@@ -2627,7 +2627,7 @@ rel_rewrite_semijoin(visitor *v, sql_rel
  * also push simple expressions of a semijoin down if they only
  * involve the left sided of the semijoin.
  *
- * in some cases the other way is usefull, ie push join down
+ * in some cases the other way is useful, ie push join down
  * semijoin. When the join reduces (ie when there are selects on it).
  *
  * At the moment, we only flag changes by this optimizer on the first level of 
optimization
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to