Changeset: 977f95eaa0fe for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=977f95eaa0fe Modified Files: monetdb5/mal/Tests/tst1225.mal monetdb5/mal/Tests/tst1225.stable.out monetdb5/mal/Tests/tst220.mal monetdb5/mal/Tests/tst220.stable.out monetdb5/mal/Tests/tst2510.mal monetdb5/mal/Tests/tst2510.stable.out monetdb5/mal/mal_parser.c monetdb5/mal/mal_resolve.c monetdb5/modules/kernel/algebra.c monetdb5/modules/mal/bbp.c monetdb5/optimizer/Tests/common.mal monetdb5/optimizer/Tests/common.stable.out monetdb5/optimizer/Tests/dictionary00.mal monetdb5/optimizer/Tests/dictionary01.mal monetdb5/optimizer/Tests/reorder01.mal monetdb5/optimizer/Tests/reorder01.stable.out monetdb5/optimizer/Tests/tst4631.mal monetdb5/optimizer/Tests/tst4631.stable.out monetdb5/optimizer/Tests/tst4730.mal monetdb5/optimizer/Tests/tst4730.stable.out monetdb5/optimizer/opt_dictionary.c monetdb5/optimizer/opt_support.c monetdb5/scheduler/run_pipeline.c sql/backends/monet5/embeddedclient.c.in sql/backends/monet5/sql_scenario.c Branch: Jan2014 Log Message:
Use apostrophe instead of semicolon to make text look like English. diffs (truncated from 319 to 300 lines): diff --git a/monetdb5/mal/Tests/tst1225.mal b/monetdb5/mal/Tests/tst1225.mal --- a/monetdb5/mal/Tests/tst1225.mal +++ b/monetdb5/mal/Tests/tst1225.mal @@ -10,8 +10,8 @@ pc_a := calc.*(23,60); qc_a := calc.+(pc_a,59); tzone_bat:= bat.new(:oid,:timezone); - i8:= 8@0; # don;t use 08@0 - io.print(i8); # don;t use 09@0 + i8:= 8@0; # don't use 08@0 + io.print(i8); # don't use 09@0 i9:= 9@0; io.print(i9); bd_a := bat.insert(tzone_bat,8@0,tzone_08); diff --git a/monetdb5/mal/Tests/tst1225.stable.out b/monetdb5/mal/Tests/tst1225.stable.out --- a/monetdb5/mal/Tests/tst1225.stable.out +++ b/monetdb5/mal/Tests/tst1225.stable.out @@ -22,8 +22,8 @@ stdout of test 'tst1225` in directory 'm # pc_a := calc.*(23,60); # qc_a := calc.+(pc_a,59); # tzone_bat:= bat.new(:oid,:timezone); -# i8:= 8@0; # don;t use 08@0 -# io.print(i8); # don;t use 09@0 +# i8:= 8@0; # don't use 08@0 +# io.print(i8); # don't use 09@0 # i9:= 9@0; # io.print(i9); # bd_a := bat.insert(tzone_bat,8@0,tzone_08); @@ -45,9 +45,9 @@ function user.main():void; qc_a := calc.+(pc_a,59); tzone_bat := bat.new(:oid,:timezone); i8 := 8@0; -# don;t use 08@0 +# don't use 08@0 io.print(i8); -# don;t use 09@0 +# don't use 09@0 i9 := 9@0; io.print(i9); bd_a := bat.insert(tzone_bat,8@0,tzone_08); diff --git a/monetdb5/mal/Tests/tst220.mal b/monetdb5/mal/Tests/tst220.mal --- a/monetdb5/mal/Tests/tst220.mal +++ b/monetdb5/mal/Tests/tst220.mal @@ -24,7 +24,7 @@ end createone; i:= bbp.getLRefCount(b); io.printf("refcount =%d[1]\n",i); - #handle an alias, which isn;t used! + #handle an alias, which isn't used! b2:= b; i:= bbp.getLRefCount(b); io.printf("after assignment refcount =%d[2]\n",i); diff --git a/monetdb5/mal/Tests/tst220.stable.out b/monetdb5/mal/Tests/tst220.stable.out --- a/monetdb5/mal/Tests/tst220.stable.out +++ b/monetdb5/mal/Tests/tst220.stable.out @@ -82,7 +82,7 @@ function user.main():void; io.print(b); i := bbp.getLRefCount(b); io.printf("refcount =%d[1]\n",i); -#handle an alias, which isn;t used! +#handle an alias, which isn't used! b2 := b; i := bbp.getLRefCount(b); io.printf("after assignment refcount =%d[2]\n",i); diff --git a/monetdb5/mal/Tests/tst2510.mal b/monetdb5/mal/Tests/tst2510.mal --- a/monetdb5/mal/Tests/tst2510.mal +++ b/monetdb5/mal/Tests/tst2510.mal @@ -12,4 +12,4 @@ exit always; #exit MALException; return tryme:= false; end tryme; -user.tryme(); # shouldn;t hang when you forget the exception +user.tryme(); # shouldn't hang when you forget the exception diff --git a/monetdb5/mal/Tests/tst2510.stable.out b/monetdb5/mal/Tests/tst2510.stable.out --- a/monetdb5/mal/Tests/tst2510.stable.out +++ b/monetdb5/mal/Tests/tst2510.stable.out @@ -37,12 +37,12 @@ exit always; #exit MALException; return tryme := false; end tryme; -#user.tryme(); # shouldn;t hang when you forget the exception +#user.tryme(); # shouldn't hang when you forget the exception # function user.main():void; # A exception in a factory should terminate it user.tryme(); -# shouldn;t hang when you forget the exception +# shouldn't hang when you forget the exception end main; # 08:58:58 > diff --git a/monetdb5/mal/mal_parser.c b/monetdb5/mal/mal_parser.c --- a/monetdb5/mal/mal_parser.c +++ b/monetdb5/mal/mal_parser.c @@ -1662,7 +1662,7 @@ parseAssign(Client cntxt, int cntrl) if (l == 0 || i) { /* we haven't seen a target variable */ /* flow of control statements may end here. */ - /* shouldn;t allow for nameless controls todo*/ + /* shouldn't allow for nameless controls todo*/ if (i && cst.vtype == TYPE_str) GDKfree(cst.val.sval); if (cntrl == LEAVEsymbol || cntrl == REDOsymbol || diff --git a/monetdb5/mal/mal_resolve.c b/monetdb5/mal/mal_resolve.c --- a/monetdb5/mal/mal_resolve.c +++ b/monetdb5/mal/mal_resolve.c @@ -281,7 +281,7 @@ findFunctionType(stream *out, Module sco for (k = 0; k < limit; k++) polytype[k] = TYPE_any; /* - * Most polymorphic functions don;t have a variable argument + * Most polymorphic functions don't have a variable argument * list. So we save some instructions factoring this caise out. * Be careful, the variable number of return arguments should * be considered as well. @@ -312,7 +312,7 @@ findFunctionType(stream *out, Module sco formal = getPolyType(formal, polytype); /* * Collect the polymorphic types and resolve them. - * If it fails, we know this isn;t the function we are + * If it fails, we know this isn't the function we are * looking for. */ if (resolveType(formal, actual) == -1) { diff --git a/monetdb5/modules/kernel/algebra.c b/monetdb5/modules/kernel/algebra.c --- a/monetdb5/modules/kernel/algebra.c +++ b/monetdb5/modules/kernel/algebra.c @@ -2551,7 +2551,7 @@ ALGprojecttail(Client cntxt, MalBlkPtr m } -/* You don;t have to materialize the oids. +/* You don't have to materialize the oids. This is taken care upon access */ str ALGidentity(int *ret, int *bid) diff --git a/monetdb5/modules/mal/bbp.c b/monetdb5/modules/mal/bbp.c --- a/monetdb5/modules/mal/bbp.c +++ b/monetdb5/modules/mal/bbp.c @@ -208,7 +208,7 @@ CMDbbpbind(Client cntxt, MalBlkPtr mb, M /* make sure you load the descriptors and heaps */ b = (BAT *) BATdescriptor(i); if (b == 0) - /* Simple ignore the binding if you can;t find the bat */ + /* Simple ignore the binding if you can't find the bat */ throw(MAL, "bbp.bind", RUNTIME_OBJECT_MISSING); /* check conformity of the actual type and the one requested */ diff --git a/monetdb5/optimizer/Tests/common.mal b/monetdb5/optimizer/Tests/common.mal --- a/monetdb5/optimizer/Tests/common.mal +++ b/monetdb5/optimizer/Tests/common.mal @@ -1,5 +1,5 @@ #select count(*) from (select * from tables union select * from tables ); -#don;t depend on SQL library +#don't depend on SQL library function sql.bind(s:str,t:str,c:str,i:int):bat[:any_1,:any_2]; return bat.new(:any_1,:any_2); end bind; diff --git a/monetdb5/optimizer/Tests/common.stable.out b/monetdb5/optimizer/Tests/common.stable.out --- a/monetdb5/optimizer/Tests/common.stable.out +++ b/monetdb5/optimizer/Tests/common.stable.out @@ -216,7 +216,7 @@ function user.s0_0():void; end s0_0; function user.main():void; #select count(*) from (select * from tables union select * from tables ); -#don;t depend on SQL library +#don't depend on SQL library mdb.list("user","s0_0"); end main; function user.s0_0():void; diff --git a/monetdb5/optimizer/Tests/dictionary00.mal b/monetdb5/optimizer/Tests/dictionary00.mal --- a/monetdb5/optimizer/Tests/dictionary00.mal +++ b/monetdb5/optimizer/Tests/dictionary00.mal @@ -1,5 +1,5 @@ # The micro test for managing the dictionary tables -# don;t depend on SQL library +# don't depend on SQL library i:bat[:int,:str]:= bbp.bind("dictIndex"); j:bat[:int,:str]:= bbp.bind("dictValue"); bat.delete(i); diff --git a/monetdb5/optimizer/Tests/dictionary01.mal b/monetdb5/optimizer/Tests/dictionary01.mal --- a/monetdb5/optimizer/Tests/dictionary01.mal +++ b/monetdb5/optimizer/Tests/dictionary01.mal @@ -1,5 +1,5 @@ # The micro test for managing the dictionary tables -# don;t depend on SQL library +# don't depend on SQL library module sql; function sql.bind(s:str,t:str,c:str,i:int):bat[:any_1,:any_2]; return bat.new(:any_1,:any_2); diff --git a/monetdb5/optimizer/Tests/reorder01.mal b/monetdb5/optimizer/Tests/reorder01.mal --- a/monetdb5/optimizer/Tests/reorder01.mal +++ b/monetdb5/optimizer/Tests/reorder01.mal @@ -1,5 +1,5 @@ #select count(*) from (select * from tables union select * from tables ); -#don;t depend on SQL library +#don't depend on SQL library function sql.bind(s:str,t:str,c:str,i:int):bat[:any_1,:any_2]; return bat.new(:any_1,:any_2); end bind; diff --git a/monetdb5/optimizer/Tests/reorder01.stable.out b/monetdb5/optimizer/Tests/reorder01.stable.out --- a/monetdb5/optimizer/Tests/reorder01.stable.out +++ b/monetdb5/optimizer/Tests/reorder01.stable.out @@ -216,7 +216,7 @@ function user.s0_0():void; end s0_0; function user.main():void; #select count(*) from (select * from tables union select * from tables ); -#don;t depend on SQL library +#don't depend on SQL library mdb.list("user","s0_0"); end main; function user.s0_0():void; diff --git a/monetdb5/optimizer/Tests/tst4631.mal b/monetdb5/optimizer/Tests/tst4631.mal --- a/monetdb5/optimizer/Tests/tst4631.mal +++ b/monetdb5/optimizer/Tests/tst4631.mal @@ -1,6 +1,6 @@ # TPCH Q1 non-optimized -#don;t depend on SQL library +#don't depend on SQL library function user.bind(s:str,t:str,c:str,i:int):bat[:any_1,:any_2]; return bat.new(:any_1,:any_2); end bind; diff --git a/monetdb5/optimizer/Tests/tst4631.stable.out b/monetdb5/optimizer/Tests/tst4631.stable.out --- a/monetdb5/optimizer/Tests/tst4631.stable.out +++ b/monetdb5/optimizer/Tests/tst4631.stable.out @@ -123,7 +123,7 @@ function user.qry1():void; end qry1; function user.main():void; # TPCH Q1 non-optimized -#don;t depend on SQL library +#don't depend on SQL library mdb.List("user","qry1"); end main; function user.qry1():void; # 0 qry1:void := user.qry1() {G} diff --git a/monetdb5/optimizer/Tests/tst4730.mal b/monetdb5/optimizer/Tests/tst4730.mal --- a/monetdb5/optimizer/Tests/tst4730.mal +++ b/monetdb5/optimizer/Tests/tst4730.mal @@ -1,7 +1,7 @@ #TPCH query 1 # the basis for further optimizer tests -#don;t depend on SQL library +#don't depend on SQL library function user.bind(s:str,t:str,c:str,i:int):bat[:any_1,:any_2]; return bat.new(:any_1,:any_2); end bind; diff --git a/monetdb5/optimizer/Tests/tst4730.stable.out b/monetdb5/optimizer/Tests/tst4730.stable.out --- a/monetdb5/optimizer/Tests/tst4730.stable.out +++ b/monetdb5/optimizer/Tests/tst4730.stable.out @@ -98,7 +98,7 @@ end qry1; function user.main():void; #TPCH query 1 # the basis for further optimizer tests -#don;t depend on SQL library +#don't depend on SQL library mdb.List("user","qry1"); end main; factory user.qry1(A0:sht,A1:sht,A2:sht,A3:date,A4:int):bit;# 0 qry1:bit := user.qry1(A0:sht, A1:sht, A2:sht, A3:date, A4:int) {G} diff --git a/monetdb5/optimizer/opt_dictionary.c b/monetdb5/optimizer/opt_dictionary.c --- a/monetdb5/optimizer/opt_dictionary.c +++ b/monetdb5/optimizer/opt_dictionary.c @@ -624,7 +624,7 @@ str DICTcompress(int *ret, str *nme, int b = (BAT *) BATdescriptor(*bid); if (b == 0) - /* Simple ignore the binding if you can;t find the bat */ + /* Simple ignore the binding if you can't find the bat */ throw(MAL, "dict.new", RUNTIME_OBJECT_MISSING); /* compression is only relevant for larger tables */ diff --git a/monetdb5/optimizer/opt_support.c b/monetdb5/optimizer/opt_support.c --- a/monetdb5/optimizer/opt_support.c +++ b/monetdb5/optimizer/opt_support.c @@ -288,7 +288,7 @@ optimizeMALBlock(Client cntxt, MalBlkPtr p = getInstrPtr(mb, pc); if (getModuleId(p) == optimizerRef && p->fcn && p->token != REMsymbol) { /* all optimizers should behave like patterns */ - /* However, we don;t have a stack now */ + /* However, we don't have a stack now */ qot++; msg = (str) (*p->fcn) (cntxt, mb, 0, p); if (msg) { diff --git a/monetdb5/scheduler/run_pipeline.c b/monetdb5/scheduler/run_pipeline.c --- a/monetdb5/scheduler/run_pipeline.c +++ b/monetdb5/scheduler/run_pipeline.c @@ -181,7 +181,7 @@ schedulerMALBlock(Client cntxt, MalBlkPt callMALinterpreter++; if (p->fcn) /* all schedulers should behave like patterns */ - /* However, we don;t have a stack now */ + /* However, we don't have a stack now */ msg = (str) (*p->fcn) (mb, 0, p); if (msg) return msg; diff --git a/sql/backends/monet5/embeddedclient.c.in b/sql/backends/monet5/embeddedclient.c.in --- a/sql/backends/monet5/embeddedclient.c.in +++ b/sql/backends/monet5/embeddedclient.c.in @@ -89,7 +89,7 @@ start_sql_server(void *arg) "@QXlibdir@@QDIRSEP@MonetDB5@PATHSEP@@QXlibdir@@QDIRSEP@MonetDB5@QDIRSEP@lib@PATHSEP@@QXlibdir@@QDIRSEP@MonetDB5@QDIRSEP@bin"); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list