Changeset: 4f1eed25027c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4f1eed25027c
Branch: Oct2020
Log Message:

Merged octbugs branch into Oct2020.


diffs (truncated from 87119 to 300 lines):

diff --git a/clients/Tests/MAL-signatures.stable.out 
b/clients/Tests/MAL-signatures.stable.out
--- a/clients/Tests/MAL-signatures.stable.out
+++ b/clients/Tests/MAL-signatures.stable.out
@@ -4717,9 +4717,6 @@ stdout of test 'MAL-signatures` in direc
 [ "batcalc",   "ifthenelse",   "pattern batcalc.ifthenelse(X_1:bit, X_2:any_1, 
X_3:bat[:any_1]):bat[:any_1] ", "CMDifthen;",   ""      ]
 [ "batcalc",   "ifthenelse",   "pattern batcalc.ifthenelse(X_1:bit, 
X_2:bat[:any_1], X_3:any_1):bat[:any_1] ", "CMDifthen;",   ""      ]
 [ "batcalc",   "ifthenelse",   "pattern batcalc.ifthenelse(X_1:bit, 
X_2:bat[:any_1], X_3:bat[:any_1]):bat[:any_1] ",   "CMDifthen;",   ""      ]
-[ "batcalc",   "index",        "command batcalc.index(X_1:bat[:str], 
X_2:bit):bat[:bte] ",     "BATSTRindex_bte;",     ""      ]
-[ "batcalc",   "index",        "command batcalc.index(X_1:bat[:str], 
X_2:bit):bat[:int] ",     "BATSTRindex_int;",     ""      ]
-[ "batcalc",   "index",        "command batcalc.index(X_1:bat[:str], 
X_2:bit):bat[:sht] ",     "BATSTRindex_sht;",     ""      ]
 [ "batcalc",   "int",  "pattern batcalc.int(X_1:bat[:bit]):bat[:int] ",        
"CMDconvertsignal_int;",        ""      ]
 [ "batcalc",   "int",  "pattern batcalc.int(X_1:bat[:bit], 
X_2:bat[:oid]):bat[:int] ", "CMDconvertsignal_int;",        ""      ]
 [ "batcalc",   "int",  "pattern batcalc.int(X_1:bat[:bte]):bat[:int] ",        
"CMDconvertsignal_int;",        ""      ]
@@ -5750,7 +5747,6 @@ stdout of test 'MAL-signatures` in direc
 [ "batcalc",   "str",  "pattern batcalc.str(X_1:int, X_2:int, X_3:int, 
X_4:int, X_5:bat[:any_1], X_6:int):bat[:str] ", "SQLbatstr_cast;",      ""      
]
 [ "batcalc",   "str_noerror",  "pattern 
batcalc.str_noerror(X_1:bat[:any]):bat[:str] ",        "CMDconvert_str;",      
""      ]
 [ "batcalc",   "str_noerror",  "pattern batcalc.str_noerror(X_1:bat[:any], 
X_2:bat[:oid]):bat[:str] ", "CMDconvert_str;",      ""      ]
-[ "batcalc",   "strings",      "command 
batcalc.strings(X_1:bat[:str]):bat[:str] ",    "BATSTRstrings;",       ""      ]
 [ "batcalc",   "sub_noerror",  "pattern batcalc.sub_noerror(X_1:bat[:bte], 
X_2:bat[:bte], X_3:bat[:oid], X_4:bat[:oid]):bat[:bte] ",   "CMDbatSUB;",   ""  
    ]
 [ "batcalc",   "sub_noerror",  "pattern batcalc.sub_noerror(X_1:bat[:bte], 
X_2:bat[:dbl], X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",   "CMDbatSUB;",   ""  
    ]
 [ "batcalc",   "sub_noerror",  "pattern batcalc.sub_noerror(X_1:bat[:bte], 
X_2:bat[:flt], X_3:bat[:oid], X_4:bat[:oid]):bat[:flt] ",   "CMDbatSUB;",   ""  
    ]
@@ -6083,18 +6079,6 @@ stdout of test 'MAL-signatures` in direc
 [ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], 
X_2:bat[:oid]):bat[:dbl] ",        "CMDscience_bat_log;",  ""      ]
 [ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt]):bat[:flt] ",       
"CMDscience_bat_log;",  ""      ]
 [ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], 
X_2:bat[:oid]):bat[:flt] ",        "CMDscience_bat_log;",  ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], 
X_2:bat[:dbl]):bat[:dbl] ",        "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], X_2:bat[:dbl], 
X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",  "CMDscience_bat_logbs;",        ""  
    ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], X_2:dbl):bat[:dbl] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], X_2:dbl, 
X_3:bat[:oid]):bat[:dbl] ",       "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], 
X_2:bat[:flt]):bat[:flt] ",        "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], X_2:bat[:flt], 
X_3:bat[:oid], X_4:bat[:oid]):bat[:flt] ",  "CMDscience_bat_logbs;",        ""  
    ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], X_2:flt):bat[:flt] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], X_2:flt, 
X_3:bat[:oid]):bat[:flt] ",       "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:dbl, X_2:bat[:dbl]):bat[:dbl] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:dbl, X_2:bat[:dbl], 
X_3:bat[:oid]):bat[:dbl] ",       "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:flt, X_2:bat[:flt]):bat[:flt] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:flt, X_2:bat[:flt], 
X_3:bat[:oid]):bat[:flt] ",       "CMDscience_bat_logbs;",        ""      ]
 [ "batmmath",  "log10",        "pattern 
batmmath.log10(X_1:bat[:dbl]):bat[:dbl] ",     "CMDscience_bat_log10;",        
""      ]
 [ "batmmath",  "log10",        "pattern batmmath.log10(X_1:bat[:dbl], 
X_2:bat[:oid]):bat[:dbl] ",      "CMDscience_bat_log10;",        ""      ]
 [ "batmmath",  "log10",        "pattern 
batmmath.log10(X_1:bat[:flt]):bat[:flt] ",     "CMDscience_bat_log10;",        
""      ]
@@ -6103,6 +6087,18 @@ stdout of test 'MAL-signatures` in direc
 [ "batmmath",  "log2", "pattern batmmath.log2(X_1:bat[:dbl], 
X_2:bat[:oid]):bat[:dbl] ",       "CMDscience_bat_log2;", ""      ]
 [ "batmmath",  "log2", "pattern batmmath.log2(X_1:bat[:flt]):bat[:flt] ",      
"CMDscience_bat_log2;", ""      ]
 [ "batmmath",  "log2", "pattern batmmath.log2(X_1:bat[:flt], 
X_2:bat[:oid]):bat[:flt] ",       "CMDscience_bat_log2;", ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:bat[:dbl]):bat[:dbl] ",    "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:bat[:dbl], X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",      
"CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:dbl):bat[:dbl] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:dbl, X_3:bat[:oid]):bat[:dbl] ",   "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:bat[:flt]):bat[:flt] ",    "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:bat[:flt], X_3:bat[:oid], X_4:bat[:oid]):bat[:flt] ",      
"CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:flt):bat[:flt] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:flt, X_3:bat[:oid]):bat[:flt] ",   "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:dbl, 
X_2:bat[:dbl]):bat[:dbl] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:dbl, 
X_2:bat[:dbl], X_3:bat[:oid]):bat[:dbl] ",   "CMDscience_bat_logbs;",        "" 
     ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:flt, 
X_2:bat[:flt]):bat[:flt] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:flt, 
X_2:bat[:flt], X_3:bat[:oid]):bat[:flt] ",   "CMDscience_bat_logbs;",        "" 
     ]
 [ "batmmath",  "pow",  "pattern batmmath.pow(X_1:bat[:dbl], 
X_2:bat[:dbl]):bat[:dbl] ",        "CMDscience_bat_pow;",  ""      ]
 [ "batmmath",  "pow",  "pattern batmmath.pow(X_1:bat[:dbl], X_2:bat[:dbl], 
X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",  "CMDscience_bat_pow;",  ""      ]
 [ "batmmath",  "pow",  "pattern batmmath.pow(X_1:bat[:dbl], X_2:dbl):bat[:dbl] 
",      "CMDscience_bat_pow;",  ""      ]
@@ -6340,6 +6336,9 @@ stdout of test 'MAL-signatures` in direc
 [ "batsql",    "get_value",    "pattern batsql.get_value(X_1:bat[:str], 
X_2:bat[:str]):bat[:lng] ",    "mvc_bat_get_value;",   ""      ]
 [ "batsql",    "get_value",    "pattern batsql.get_value(X_1:bat[:str], 
X_2:str):bat[:lng] ",  "mvc_bat_get_value;",   ""      ]
 [ "batsql",    "get_value",    "pattern batsql.get_value(X_1:str, 
X_2:bat[:str]):bat[:lng] ",  "mvc_bat_get_value;",   ""      ]
+[ "batsql",    "index",        "command batsql.index(X_1:bat[:str], 
X_2:bit):bat[:bte] ",      "BATSTRindex_bte;",     ""      ]
+[ "batsql",    "index",        "command batsql.index(X_1:bat[:str], 
X_2:bit):bat[:int] ",      "BATSTRindex_int;",     ""      ]
+[ "batsql",    "index",        "command batsql.index(X_1:bat[:str], 
X_2:bit):bat[:sht] ",      "BATSTRindex_sht;",     ""      ]
 [ "batsql",    "lag",  "pattern batsql.lag(X_1:any_1, X_2:any, 
X_3:bat[:any_1], X_4:any_2, X_5:any_3):bat[:any_1] ",   "SQLlag;",      ""      
]
 [ "batsql",    "lag",  "pattern batsql.lag(X_1:any_1, X_2:bat[:any], 
X_3:any_1, X_4:any_2, X_5:any_3):bat[:any_1] ",   "SQLlag;",      ""      ]
 [ "batsql",    "lag",  "pattern batsql.lag(X_1:any_1, X_2:bat[:any], 
X_3:any_2, X_4:any_3):bat[:any_1] ",      "SQLlag;",      ""      ]
@@ -6414,6 +6413,7 @@ stdout of test 'MAL-signatures` in direc
 [ "batsql",    "str_group_concat",     "pattern 
batsql.str_group_concat(X_1:bat[:str], X_2:bat[:str], X_3:bat[:lng], 
X_4:bat[:lng]):bat[:str] ",       "SQLstrgroup_concat;",  ""      ]
 [ "batsql",    "str_group_concat",     "pattern 
batsql.str_group_concat(X_1:bat[:str], X_2:str, X_3:bat[:lng], 
X_4:bat[:lng]):bat[:str] ",     "SQLstrgroup_concat;",  ""      ]
 [ "batsql",    "str_group_concat",     "pattern 
batsql.str_group_concat(X_1:str, X_2:bat[:str], X_3:lng, X_4:lng):bat[:str] ", 
"SQLstrgroup_concat;",  ""      ]
+[ "batsql",    "strings",      "command 
batsql.strings(X_1:bat[:str]):bat[:str] ",     "BATSTRstrings;",       ""      ]
 [ "batsql",    "sum",  "pattern batsql.sum(X_1:bat[:bte], X_2:bat[:lng], 
X_3:bat[:lng]):bat[:lng] ",   "SQLsum;",      ""      ]
 [ "batsql",    "sum",  "pattern batsql.sum(X_1:bat[:dbl], X_2:bat[:lng], 
X_3:bat[:lng]):bat[:dbl] ",   "SQLsum;",      ""      ]
 [ "batsql",    "sum",  "pattern batsql.sum(X_1:bat[:flt], X_2:bat[:lng], 
X_3:bat[:lng]):bat[:dbl] ",   "SQLsum;",      ""      ]
@@ -7852,9 +7852,6 @@ stdout of test 'MAL-signatures` in direc
 [ "calc",      "hash", "pattern calc.hash(X_1:sht):lng ",      "MKEYhash;",    
""      ]
 [ "calc",      "identity",     "command calc.identity(X_1:any):oid ",  
"SQLidentity;", ""      ]
 [ "calc",      "ifthenelse",   "pattern calc.ifthenelse(X_1:bit, X_2:any_1, 
X_3:any_1):any_1 ",        "CALCswitchbit;",       ""      ]
-[ "calc",      "index",        "command calc.index(X_1:str, X_2:bit):bte ",    
"STRindex_bte;",        ""      ]
-[ "calc",      "index",        "command calc.index(X_1:str, X_2:bit):int ",    
"STRindex_int;",        ""      ]
-[ "calc",      "index",        "command calc.index(X_1:str, X_2:bit):sht ",    
"STRindex_sht;",        ""      ]
 [ "calc",      "inet", "command calc.inet(X_1:str):inet ",     
"INET_fromstr;",        ""      ]
 [ "calc",      "inet", "command calc.inet(X_1:inet):inet ",    "INET_inet;",   
""      ]
 [ "calc",      "int",  "pattern calc.int(X_1:bit):int ",       
"CMDvarCONVERT;",       ""      ]
@@ -8201,7 +8198,6 @@ stdout of test 'MAL-signatures` in direc
 [ "calc",      "str",  "pattern calc.str(X_1:any):str ",       
"CMDvarCONVERT;",       ""      ]
 [ "calc",      "str",  "pattern calc.str(X_1:int, X_2:int, X_3:int, X_4:int, 
X_5:any_1, X_6:int):str ",        "SQLstr_cast;", ""      ]
 [ "calc",      "str",  "command calc.str(X_1:uuid):str ",      
"UUIDuuid2str;",        ""      ]
-[ "calc",      "strings",      "command calc.strings(X_1:str):str ",   
"STRstrings;",  ""      ]
 [ "calc",      "sub_noerror",  "pattern calc.sub_noerror(X_1:bte, X_2:bte):bte 
",      "CMDvarSUB;",   ""      ]
 [ "calc",      "sub_noerror",  "pattern calc.sub_noerror(X_1:bte, X_2:dbl):dbl 
",      "CMDvarSUB;",   ""      ]
 [ "calc",      "sub_noerror",  "pattern calc.sub_noerror(X_1:bte, X_2:flt):flt 
",      "CMDvarSUB;",   ""      ]
@@ -8881,14 +8877,14 @@ stdout of test 'MAL-signatures` in direc
 [ "mmath",     "fmod", "pattern mmath.fmod(X_1:flt, X_2:flt):flt ",    
"CMDvarMODsignal;",     ""      ]
 [ "mmath",     "isinf",        "command mmath.isinf(X_1:dbl):int ",    
"MATHunary_ISINF;",     ""      ]
 [ "mmath",     "isnan",        "command mmath.isnan(X_1:dbl):bit ",    
"MATHunary_ISNAN;",     ""      ]
-[ "mmath",     "log",  "command mmath.log(X_1:dbl, X_2:dbl):dbl ",     
"MATHbinary_LOGdbl;",   ""      ]
-[ "mmath",     "log",  "command mmath.log(X_1:flt, X_2:flt):flt ",     
"MATHbinary_LOGflt;",   ""      ]
 [ "mmath",     "log",  "command mmath.log(X_1:dbl):dbl ",      
"MATHunary_LOGdbl;",    ""      ]
 [ "mmath",     "log",  "command mmath.log(X_1:flt):flt ",      
"MATHunary_LOGflt;",    ""      ]
 [ "mmath",     "log10",        "command mmath.log10(X_1:dbl):dbl ",    
"MATHunary_LOG10dbl;",  ""      ]
 [ "mmath",     "log10",        "command mmath.log10(X_1:flt):flt ",    
"MATHunary_LOG10flt;",  ""      ]
 [ "mmath",     "log2", "command mmath.log2(X_1:dbl):dbl ",     
"MATHunary_LOG2dbl;",   ""      ]
 [ "mmath",     "log2", "command mmath.log2(X_1:flt):flt ",     
"MATHunary_LOG2flt;",   ""      ]
+[ "mmath",     "log2arg",      "command mmath.log2arg(X_1:dbl, X_2:dbl):dbl ", 
"MATHbinary_LOGdbl;",   ""      ]
+[ "mmath",     "log2arg",      "command mmath.log2arg(X_1:flt, X_2:flt):flt ", 
"MATHbinary_LOGflt;",   ""      ]
 [ "mmath",     "pi",   "command mmath.pi():dbl ",      "MATHpi;",      ""      
]
 [ "mmath",     "pow",  "command mmath.pow(X_1:dbl, X_2:dbl):dbl ",     
"MATHbinary_POWdbl;",   ""      ]
 [ "mmath",     "pow",  "command mmath.pow(X_1:flt, X_2:flt):flt ",     
"MATHbinary_POWflt;",   ""      ]
@@ -9249,6 +9245,9 @@ stdout of test 'MAL-signatures` in direc
 [ "sql",       "hot_snapshot", "unsafe pattern sql.hot_snapshot(X_1:str, 
X_2:bit):void ",      "SQLhot_snapshot_wrap;",        ""      ]
 [ "sql",       "importTable",  "unsafe pattern sql.importTable(X_1:str, 
X_2:str, X_3:int, X_4:str...):bat[:any]... ",  "mvc_bin_import_table_wrap;",   
""      ]
 [ "sql",       "include",      "pattern sql.include(X_1:str):void ",   
"SQLinclude;",  ""      ]
+[ "sql",       "index",        "command sql.index(X_1:str, X_2:bit):bte ",     
"STRindex_bte;",        ""      ]
+[ "sql",       "index",        "command sql.index(X_1:str, X_2:bit):int ",     
"STRindex_int;",        ""      ]
+[ "sql",       "index",        "command sql.index(X_1:str, X_2:bit):sht ",     
"STRindex_sht;",        ""      ]
 [ "sql",       "lag",  "pattern sql.lag(X_1:any_1, X_2:any, X_3:any_1, 
X_4:bit, X_5:bit):any_1 ",      "SQLlag;",      ""      ]
 [ "sql",       "lag",  "pattern sql.lag(X_1:any_1, X_2:any, X_3:bit, 
X_4:bit):any_1 ", "SQLlag;",      ""      ]
 [ "sql",       "lag",  "pattern sql.lag(X_1:any_1, X_2:bit, X_3:bit):any_1 ",  
"SQLlag;",      ""      ]
@@ -9347,6 +9346,7 @@ stdout of test 'MAL-signatures` in direc
 [ "sql",       "storage",      "pattern sql.storage(X_17:str, X_18:str, 
X_19:str) (X_0:bat[:str], X_1:bat[:str], X_2:bat[:str], X_3:bat[:str], 
X_4:bat[:str], X_5:bat[:str], X_6:bat[:lng], X_7:bat[:int], X_8:bat[:lng], 
X_9:bat[:lng], X_10:bat[:lng], X_11:bat[:bit], X_12:bat[:lng], X_13:bat[:bit], 
X_14:bat[:bit], X_15:bat[:bit], X_16:bat[:lng]) ",    "sql_storage;", ""      ]
 [ "sql",       "str_group_concat",     "pattern sql.str_group_concat(X_1:str, 
X_2:lng, X_3:lng):str ", "SQLstrgroup_concat;",  ""      ]
 [ "sql",       "str_group_concat",     "pattern sql.str_group_concat(X_1:str, 
X_2:str, X_3:lng, X_4:lng):str ",        "SQLstrgroup_concat;",  ""      ]
+[ "sql",       "strings",      "command sql.strings(X_1:str):str ",    
"STRstrings;",  ""      ]
 [ "sql",       "subdelta",     "command sql.subdelta(X_1:bat[:oid], 
X_2:bat[:oid], X_3:bat[:oid], X_4:bat[:oid]):bat[:oid] ",  "DELTAsub2;",   ""   
   ]
 [ "sql",       "subdelta",     "command sql.subdelta(X_1:bat[:oid], 
X_2:bat[:oid], X_3:bat[:oid], X_4:bat[:oid], X_5:bat[:oid]):bat[:oid] ",   
"DELTAsub;",    ""      ]
 [ "sql",       "sum",  "pattern sql.sum(X_1:bte, X_2:lng, X_3:lng):lng ",      
"SQLsum;",      ""      ]
diff --git a/clients/Tests/MAL-signatures.stable.out.int128 
b/clients/Tests/MAL-signatures.stable.out.int128
--- a/clients/Tests/MAL-signatures.stable.out.int128
+++ b/clients/Tests/MAL-signatures.stable.out.int128
@@ -6793,9 +6793,6 @@ stdout of test 'MAL-signatures` in direc
 [ "batcalc",   "ifthenelse",   "pattern batcalc.ifthenelse(X_1:bit, X_2:any_1, 
X_3:bat[:any_1]):bat[:any_1] ", "CMDifthen;",   ""      ]
 [ "batcalc",   "ifthenelse",   "pattern batcalc.ifthenelse(X_1:bit, 
X_2:bat[:any_1], X_3:any_1):bat[:any_1] ", "CMDifthen;",   ""      ]
 [ "batcalc",   "ifthenelse",   "pattern batcalc.ifthenelse(X_1:bit, 
X_2:bat[:any_1], X_3:bat[:any_1]):bat[:any_1] ",   "CMDifthen;",   ""      ]
-[ "batcalc",   "index",        "command batcalc.index(X_1:bat[:str], 
X_2:bit):bat[:bte] ",     "BATSTRindex_bte;",     ""      ]
-[ "batcalc",   "index",        "command batcalc.index(X_1:bat[:str], 
X_2:bit):bat[:int] ",     "BATSTRindex_int;",     ""      ]
-[ "batcalc",   "index",        "command batcalc.index(X_1:bat[:str], 
X_2:bit):bat[:sht] ",     "BATSTRindex_sht;",     ""      ]
 [ "batcalc",   "int",  "pattern batcalc.int(X_1:bat[:bit]):bat[:int] ",        
"CMDconvertsignal_int;",        ""      ]
 [ "batcalc",   "int",  "pattern batcalc.int(X_1:bat[:bit], 
X_2:bat[:oid]):bat[:int] ", "CMDconvertsignal_int;",        ""      ]
 [ "batcalc",   "int",  "pattern batcalc.int(X_1:bat[:bte]):bat[:int] ",        
"CMDconvertsignal_int;",        ""      ]
@@ -8274,7 +8271,6 @@ stdout of test 'MAL-signatures` in direc
 [ "batcalc",   "str",  "pattern batcalc.str(X_1:int, X_2:int, X_3:int, 
X_4:int, X_5:bat[:any_1], X_6:int):bat[:str] ", "SQLbatstr_cast;",      ""      
]
 [ "batcalc",   "str_noerror",  "pattern 
batcalc.str_noerror(X_1:bat[:any]):bat[:str] ",        "CMDconvert_str;",      
""      ]
 [ "batcalc",   "str_noerror",  "pattern batcalc.str_noerror(X_1:bat[:any], 
X_2:bat[:oid]):bat[:str] ", "CMDconvert_str;",      ""      ]
-[ "batcalc",   "strings",      "command 
batcalc.strings(X_1:bat[:str]):bat[:str] ",    "BATSTRstrings;",       ""      ]
 [ "batcalc",   "sub_noerror",  "pattern batcalc.sub_noerror(X_1:bat[:bte], 
X_2:bat[:bte], X_3:bat[:oid], X_4:bat[:oid]):bat[:bte] ",   "CMDbatSUB;",   ""  
    ]
 [ "batcalc",   "sub_noerror",  "pattern batcalc.sub_noerror(X_1:bat[:bte], 
X_2:bat[:dbl], X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",   "CMDbatSUB;",   ""  
    ]
 [ "batcalc",   "sub_noerror",  "pattern batcalc.sub_noerror(X_1:bat[:bte], 
X_2:bat[:flt], X_3:bat[:oid], X_4:bat[:oid]):bat[:flt] ",   "CMDbatSUB;",   ""  
    ]
@@ -8652,18 +8648,6 @@ stdout of test 'MAL-signatures` in direc
 [ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], 
X_2:bat[:oid]):bat[:dbl] ",        "CMDscience_bat_log;",  ""      ]
 [ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt]):bat[:flt] ",       
"CMDscience_bat_log;",  ""      ]
 [ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], 
X_2:bat[:oid]):bat[:flt] ",        "CMDscience_bat_log;",  ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], 
X_2:bat[:dbl]):bat[:dbl] ",        "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], X_2:bat[:dbl], 
X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",  "CMDscience_bat_logbs;",        ""  
    ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], X_2:dbl):bat[:dbl] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:dbl], X_2:dbl, 
X_3:bat[:oid]):bat[:dbl] ",       "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], 
X_2:bat[:flt]):bat[:flt] ",        "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], X_2:bat[:flt], 
X_3:bat[:oid], X_4:bat[:oid]):bat[:flt] ",  "CMDscience_bat_logbs;",        ""  
    ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], X_2:flt):bat[:flt] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:bat[:flt], X_2:flt, 
X_3:bat[:oid]):bat[:flt] ",       "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:dbl, X_2:bat[:dbl]):bat[:dbl] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:dbl, X_2:bat[:dbl], 
X_3:bat[:oid]):bat[:dbl] ",       "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:flt, X_2:bat[:flt]):bat[:flt] 
",      "CMDscience_bat_logbs;",        ""      ]
-[ "batmmath",  "log",  "pattern batmmath.log(X_1:flt, X_2:bat[:flt], 
X_3:bat[:oid]):bat[:flt] ",       "CMDscience_bat_logbs;",        ""      ]
 [ "batmmath",  "log10",        "pattern 
batmmath.log10(X_1:bat[:dbl]):bat[:dbl] ",     "CMDscience_bat_log10;",        
""      ]
 [ "batmmath",  "log10",        "pattern batmmath.log10(X_1:bat[:dbl], 
X_2:bat[:oid]):bat[:dbl] ",      "CMDscience_bat_log10;",        ""      ]
 [ "batmmath",  "log10",        "pattern 
batmmath.log10(X_1:bat[:flt]):bat[:flt] ",     "CMDscience_bat_log10;",        
""      ]
@@ -8672,6 +8656,18 @@ stdout of test 'MAL-signatures` in direc
 [ "batmmath",  "log2", "pattern batmmath.log2(X_1:bat[:dbl], 
X_2:bat[:oid]):bat[:dbl] ",       "CMDscience_bat_log2;", ""      ]
 [ "batmmath",  "log2", "pattern batmmath.log2(X_1:bat[:flt]):bat[:flt] ",      
"CMDscience_bat_log2;", ""      ]
 [ "batmmath",  "log2", "pattern batmmath.log2(X_1:bat[:flt], 
X_2:bat[:oid]):bat[:flt] ",       "CMDscience_bat_log2;", ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:bat[:dbl]):bat[:dbl] ",    "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:bat[:dbl], X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",      
"CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:dbl):bat[:dbl] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:dbl], 
X_2:dbl, X_3:bat[:oid]):bat[:dbl] ",   "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:bat[:flt]):bat[:flt] ",    "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:bat[:flt], X_3:bat[:oid], X_4:bat[:oid]):bat[:flt] ",      
"CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:flt):bat[:flt] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:bat[:flt], 
X_2:flt, X_3:bat[:oid]):bat[:flt] ",   "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:dbl, 
X_2:bat[:dbl]):bat[:dbl] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:dbl, 
X_2:bat[:dbl], X_3:bat[:oid]):bat[:dbl] ",   "CMDscience_bat_logbs;",        "" 
     ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:flt, 
X_2:bat[:flt]):bat[:flt] ",  "CMDscience_bat_logbs;",        ""      ]
+[ "batmmath",  "log2arg",      "pattern batmmath.log2arg(X_1:flt, 
X_2:bat[:flt], X_3:bat[:oid]):bat[:flt] ",   "CMDscience_bat_logbs;",        "" 
     ]
 [ "batmmath",  "pow",  "pattern batmmath.pow(X_1:bat[:dbl], 
X_2:bat[:dbl]):bat[:dbl] ",        "CMDscience_bat_pow;",  ""      ]
 [ "batmmath",  "pow",  "pattern batmmath.pow(X_1:bat[:dbl], X_2:bat[:dbl], 
X_3:bat[:oid], X_4:bat[:oid]):bat[:dbl] ",  "CMDscience_bat_pow;",  ""      ]
 [ "batmmath",  "pow",  "pattern batmmath.pow(X_1:bat[:dbl], X_2:dbl):bat[:dbl] 
",      "CMDscience_bat_pow;",  ""      ]
@@ -8921,6 +8917,9 @@ stdout of test 'MAL-signatures` in direc
 [ "batsql",    "get_value",    "pattern batsql.get_value(X_1:bat[:str], 
X_2:bat[:str]):bat[:lng] ",    "mvc_bat_get_value;",   ""      ]
 [ "batsql",    "get_value",    "pattern batsql.get_value(X_1:bat[:str], 
X_2:str):bat[:lng] ",  "mvc_bat_get_value;",   ""      ]
 [ "batsql",    "get_value",    "pattern batsql.get_value(X_1:str, 
X_2:bat[:str]):bat[:lng] ",  "mvc_bat_get_value;",   ""      ]
+[ "batsql",    "index",        "command batsql.index(X_1:bat[:str], 
X_2:bit):bat[:bte] ",      "BATSTRindex_bte;",     ""      ]
+[ "batsql",    "index",        "command batsql.index(X_1:bat[:str], 
X_2:bit):bat[:int] ",      "BATSTRindex_int;",     ""      ]
+[ "batsql",    "index",        "command batsql.index(X_1:bat[:str], 
X_2:bit):bat[:sht] ",      "BATSTRindex_sht;",     ""      ]
 [ "batsql",    "lag",  "pattern batsql.lag(X_1:any_1, X_2:any, 
X_3:bat[:any_1], X_4:any_2, X_5:any_3):bat[:any_1] ",   "SQLlag;",      ""      
]
 [ "batsql",    "lag",  "pattern batsql.lag(X_1:any_1, X_2:bat[:any], 
X_3:any_1, X_4:any_2, X_5:any_3):bat[:any_1] ",   "SQLlag;",      ""      ]
 [ "batsql",    "lag",  "pattern batsql.lag(X_1:any_1, X_2:bat[:any], 
X_3:any_2, X_4:any_3):bat[:any_1] ",      "SQLlag;",      ""      ]
@@ -9003,6 +9002,7 @@ stdout of test 'MAL-signatures` in direc
 [ "batsql",    "str_group_concat",     "pattern 
batsql.str_group_concat(X_1:bat[:str], X_2:bat[:str], X_3:bat[:lng], 
X_4:bat[:lng]):bat[:str] ",       "SQLstrgroup_concat;",  ""      ]
 [ "batsql",    "str_group_concat",     "pattern 
batsql.str_group_concat(X_1:bat[:str], X_2:str, X_3:bat[:lng], 
X_4:bat[:lng]):bat[:str] ",     "SQLstrgroup_concat;",  ""      ]
 [ "batsql",    "str_group_concat",     "pattern 
batsql.str_group_concat(X_1:str, X_2:bat[:str], X_3:lng, X_4:lng):bat[:str] ", 
"SQLstrgroup_concat;",  ""      ]
+[ "batsql",    "strings",      "command 
batsql.strings(X_1:bat[:str]):bat[:str] ",     "BATSTRstrings;",       ""      ]
 [ "batsql",    "sum",  "pattern batsql.sum(X_1:bat[:bte], X_2:bat[:lng], 
X_3:bat[:lng]):bat[:hge] ",   "SQLsum;",      ""      ]
 [ "batsql",    "sum",  "pattern batsql.sum(X_1:bat[:bte], X_2:bat[:lng], 
X_3:bat[:lng]):bat[:lng] ",   "SQLsum;",      ""      ]
 [ "batsql",    "sum",  "pattern batsql.sum(X_1:bat[:dbl], X_2:bat[:lng], 
X_3:bat[:lng]):bat[:dbl] ",   "SQLsum;",      ""      ]
@@ -11026,9 +11026,6 @@ stdout of test 'MAL-signatures` in direc
 [ "calc",      "hge",  "command calc.hge(X_1:str, X_2:int, X_3:int):hge ",     
"str_2dec_hge;",        ""      ]
 [ "calc",      "identity",     "command calc.identity(X_1:any):oid ",  
"SQLidentity;", ""      ]
 [ "calc",      "ifthenelse",   "pattern calc.ifthenelse(X_1:bit, X_2:any_1, 
X_3:any_1):any_1 ",        "CALCswitchbit;",       ""      ]
-[ "calc",      "index",        "command calc.index(X_1:str, X_2:bit):bte ",    
"STRindex_bte;",        ""      ]
-[ "calc",      "index",        "command calc.index(X_1:str, X_2:bit):int ",    
"STRindex_int;",        ""      ]
-[ "calc",      "index",        "command calc.index(X_1:str, X_2:bit):sht ",    
"STRindex_sht;",        ""      ]
 [ "calc",      "inet", "command calc.inet(X_1:str):inet ",     
"INET_fromstr;",        ""      ]
 [ "calc",      "inet", "command calc.inet(X_1:inet):inet ",    "INET_inet;",   
""      ]
 [ "calc",      "int",  "pattern calc.int(X_1:bit):int ",       
"CMDvarCONVERT;",       ""      ]
@@ -11511,7 +11508,6 @@ stdout of test 'MAL-signatures` in direc
 [ "calc",      "str",  "pattern calc.str(X_1:any):str ",       
"CMDvarCONVERT;",       ""      ]
 [ "calc",      "str",  "pattern calc.str(X_1:int, X_2:int, X_3:int, X_4:int, 
X_5:any_1, X_6:int):str ",        "SQLstr_cast;", ""      ]
 [ "calc",      "str",  "command calc.str(X_1:uuid):str ",      
"UUIDuuid2str;",        ""      ]
-[ "calc",      "strings",      "command calc.strings(X_1:str):str ",   
"STRstrings;",  ""      ]
 [ "calc",      "sub_noerror",  "pattern calc.sub_noerror(X_1:bte, X_2:bte):bte 
",      "CMDvarSUB;",   ""      ]
 [ "calc",      "sub_noerror",  "pattern calc.sub_noerror(X_1:bte, X_2:dbl):dbl 
",      "CMDvarSUB;",   ""      ]
 [ "calc",      "sub_noerror",  "pattern calc.sub_noerror(X_1:bte, X_2:flt):flt 
",      "CMDvarSUB;",   ""      ]
@@ -12222,14 +12218,14 @@ stdout of test 'MAL-signatures` in direc
 [ "mmath",     "fmod", "pattern mmath.fmod(X_1:flt, X_2:flt):flt ",    
"CMDvarMODsignal;",     ""      ]
 [ "mmath",     "isinf",        "command mmath.isinf(X_1:dbl):int ",    
"MATHunary_ISINF;",     ""      ]
 [ "mmath",     "isnan",        "command mmath.isnan(X_1:dbl):bit ",    
"MATHunary_ISNAN;",     ""      ]
-[ "mmath",     "log",  "command mmath.log(X_1:dbl, X_2:dbl):dbl ",     
"MATHbinary_LOGdbl;",   ""      ]
-[ "mmath",     "log",  "command mmath.log(X_1:flt, X_2:flt):flt ",     
"MATHbinary_LOGflt;",   ""      ]
 [ "mmath",     "log",  "command mmath.log(X_1:dbl):dbl ",      
"MATHunary_LOGdbl;",    ""      ]
 [ "mmath",     "log",  "command mmath.log(X_1:flt):flt ",      
"MATHunary_LOGflt;",    ""      ]
 [ "mmath",     "log10",        "command mmath.log10(X_1:dbl):dbl ",    
"MATHunary_LOG10dbl;",  ""      ]
 [ "mmath",     "log10",        "command mmath.log10(X_1:flt):flt ",    
"MATHunary_LOG10flt;",  ""      ]
 [ "mmath",     "log2", "command mmath.log2(X_1:dbl):dbl ",     
"MATHunary_LOG2dbl;",   ""      ]
 [ "mmath",     "log2", "command mmath.log2(X_1:flt):flt ",     
"MATHunary_LOG2flt;",   ""      ]
+[ "mmath",     "log2arg",      "command mmath.log2arg(X_1:dbl, X_2:dbl):dbl ", 
"MATHbinary_LOGdbl;",   ""      ]
+[ "mmath",     "log2arg",      "command mmath.log2arg(X_1:flt, X_2:flt):flt ", 
"MATHbinary_LOGflt;",   ""      ]
 [ "mmath",     "pi",   "command mmath.pi():dbl ",      "MATHpi;",      ""      
]
 [ "mmath",     "pow",  "command mmath.pow(X_1:dbl, X_2:dbl):dbl ",     
"MATHbinary_POWdbl;",   ""      ]
 [ "mmath",     "pow",  "command mmath.pow(X_1:flt, X_2:flt):flt ",     
"MATHbinary_POWflt;",   ""      ]
@@ -12596,6 +12592,9 @@ stdout of test 'MAL-signatures` in direc
 [ "sql",       "hot_snapshot", "unsafe pattern sql.hot_snapshot(X_1:str, 
X_2:bit):void ",      "SQLhot_snapshot_wrap;",        ""      ]
 [ "sql",       "importTable",  "unsafe pattern sql.importTable(X_1:str, 
X_2:str, X_3:int, X_4:str...):bat[:any]... ",  "mvc_bin_import_table_wrap;",   
""      ]
 [ "sql",       "include",      "pattern sql.include(X_1:str):void ",   
"SQLinclude;",  ""      ]
+[ "sql",       "index",        "command sql.index(X_1:str, X_2:bit):bte ",     
"STRindex_bte;",        ""      ]
+[ "sql",       "index",        "command sql.index(X_1:str, X_2:bit):int ",     
"STRindex_int;",        ""      ]
+[ "sql",       "index",        "command sql.index(X_1:str, X_2:bit):sht ",     
"STRindex_sht;",        ""      ]
 [ "sql",       "lag",  "pattern sql.lag(X_1:any_1, X_2:any, X_3:any_1, 
X_4:bit, X_5:bit):any_1 ",      "SQLlag;",      ""      ]
 [ "sql",       "lag",  "pattern sql.lag(X_1:any_1, X_2:any, X_3:bit, 
X_4:bit):any_1 ", "SQLlag;",      ""      ]
 [ "sql",       "lag",  "pattern sql.lag(X_1:any_1, X_2:bit, X_3:bit):any_1 ",  
"SQLlag;",      ""      ]
@@ -12702,6 +12701,7 @@ stdout of test 'MAL-signatures` in direc
 [ "sql",       "storage",      "pattern sql.storage(X_17:str, X_18:str, 
X_19:str) (X_0:bat[:str], X_1:bat[:str], X_2:bat[:str], X_3:bat[:str], 
X_4:bat[:str], X_5:bat[:str], X_6:bat[:lng], X_7:bat[:int], X_8:bat[:lng], 
X_9:bat[:lng], X_10:bat[:lng], X_11:bat[:bit], X_12:bat[:lng], X_13:bat[:bit], 
X_14:bat[:bit], X_15:bat[:bit], X_16:bat[:lng]) ",    "sql_storage;", ""      ]
 [ "sql",       "str_group_concat",     "pattern sql.str_group_concat(X_1:str, 
X_2:lng, X_3:lng):str ", "SQLstrgroup_concat;",  ""      ]
 [ "sql",       "str_group_concat",     "pattern sql.str_group_concat(X_1:str, 
X_2:str, X_3:lng, X_4:lng):str ",        "SQLstrgroup_concat;",  ""      ]
+[ "sql",       "strings",      "command sql.strings(X_1:str):str ",    
"STRstrings;",  ""      ]
 [ "sql",       "subdelta",     "command sql.subdelta(X_1:bat[:oid], 
X_2:bat[:oid], X_3:bat[:oid], X_4:bat[:oid]):bat[:oid] ",  "DELTAsub2;",   ""   
   ]
 [ "sql",       "subdelta",     "command sql.subdelta(X_1:bat[:oid], 
X_2:bat[:oid], X_3:bat[:oid], X_4:bat[:oid], X_5:bat[:oid]):bat[:oid] ",   
"DELTAsub;",    ""      ]
 [ "sql",       "sum",  "pattern sql.sum(X_1:bte, X_2:lng, X_3:lng):hge ",      
"SQLsum;",      ""      ]
diff --git a/common/stream/bz2_stream.c b/common/stream/bz2_stream.c
--- a/common/stream/bz2_stream.c
+++ b/common/stream/bz2_stream.c
@@ -137,6 +137,7 @@ bz2_stream(stream *inner, int level)
        if (bz == NULL || state == NULL) {
                free(bz);
                free(state);
+               mnstr_set_open_error(inner->name, errno, "couldn't initialize 
bz2 stream");
                return NULL;
        }
 
diff --git a/common/stream/gz_stream.c b/common/stream/gz_stream.c
--- a/common/stream/gz_stream.c
+++ b/common/stream/gz_stream.c
@@ -115,6 +115,7 @@ gz_stream(stream *inner, int level)
        if (gz == NULL || state == NULL) {
                free(gz);
                free(state);
+               mnstr_set_open_error(inner->name, errno, "couldn't initialize 
gz stream");
                return NULL;
        }
 
diff --git a/common/stream/lz4_stream.c b/common/stream/lz4_stream.c
--- a/common/stream/lz4_stream.c
+++ b/common/stream/lz4_stream.c
@@ -277,6 +277,7 @@ lz4_stream(stream *inner, int level)
        if (inner_state == NULL || state == NULL) {
                free(inner_state);
                free(state);
+               mnstr_set_open_error(inner->name, errno, "couldn't initialize 
lz4 stream");
                return NULL;
        }
 
diff --git a/common/stream/xz_stream.c b/common/stream/xz_stream.c
--- a/common/stream/xz_stream.c
+++ b/common/stream/xz_stream.c
@@ -115,6 +115,7 @@ xz_stream(stream *inner, int preset)
        if (xz == NULL || state == NULL) {
                free(xz);
                free(state);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to