Changeset: a910c9a47bdf for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a910c9a47bdf
Added Files:
        monetdb5/modules/mal/wlc.c
        monetdb5/modules/mal/wlc.h
        monetdb5/modules/mal/wlc.mal
        monetdb5/optimizer/opt_wlc.c
        monetdb5/optimizer/opt_wlc.h
        sql/backends/monet5/wlr.c
        sql/backends/monet5/wlr.h
        sql/backends/monet5/wlr.mal
        sql/scripts/60_wlcr.sql
        sql/test/wlcr/Tests/All
        sql/test/wlcr/Tests/wlc01.py
        sql/test/wlcr/Tests/wlc01.stable.err
        sql/test/wlcr/Tests/wlc01.stable.out
        sql/test/wlcr/Tests/wlc100.py
        sql/test/wlcr/Tests/wlc100.stable.err
        sql/test/wlcr/Tests/wlc100.stable.out
        sql/test/wlcr/Tests/wlc20.py
        sql/test/wlcr/Tests/wlc20.stable.err
        sql/test/wlcr/Tests/wlc20.stable.out
        sql/test/wlcr/Tests/wlc21.py
        sql/test/wlcr/Tests/wlc21.stable.err
        sql/test/wlcr/Tests/wlc21.stable.out
        sql/test/wlcr/Tests/wlc30.py
        sql/test/wlcr/Tests/wlc30.stable.err
        sql/test/wlcr/Tests/wlc30.stable.out
        sql/test/wlcr/Tests/wlc40.py
        sql/test/wlcr/Tests/wlc40.stable.err
        sql/test/wlcr/Tests/wlc40.stable.out
        sql/test/wlcr/Tests/wlc50.py
        sql/test/wlcr/Tests/wlc50.stable.err
        sql/test/wlcr/Tests/wlc50.stable.out
        sql/test/wlcr/Tests/wlc70.py
        sql/test/wlcr/Tests/wlc70.stable.err
        sql/test/wlcr/Tests/wlc70.stable.out
        sql/test/wlcr/Tests/wlcr00.py
        sql/test/wlcr/Tests/wlcr00.stable.err
        sql/test/wlcr/Tests/wlcr00.stable.out
        sql/test/wlcr/Tests/wlr01.py
        sql/test/wlcr/Tests/wlr01.reqtests
        sql/test/wlcr/Tests/wlr01.stable.err
        sql/test/wlcr/Tests/wlr01.stable.out
        sql/test/wlcr/Tests/wlr100.py
        sql/test/wlcr/Tests/wlr100.stable.err
        sql/test/wlcr/Tests/wlr100.stable.out
        sql/test/wlcr/Tests/wlr20.py
        sql/test/wlcr/Tests/wlr20.reqtests
        sql/test/wlcr/Tests/wlr20.stable.err
        sql/test/wlcr/Tests/wlr20.stable.out
        sql/test/wlcr/Tests/wlr30.py
        sql/test/wlcr/Tests/wlr30.reqtests
        sql/test/wlcr/Tests/wlr30.stable.err
        sql/test/wlcr/Tests/wlr30.stable.out
        sql/test/wlcr/Tests/wlr40.py
        sql/test/wlcr/Tests/wlr40.reqtests
        sql/test/wlcr/Tests/wlr40.stable.err
        sql/test/wlcr/Tests/wlr40.stable.out
        sql/test/wlcr/Tests/wlr50.py
        sql/test/wlcr/Tests/wlr50.stable.err
        sql/test/wlcr/Tests/wlr50.stable.out
        sql/test/wlcr/Tests/wlr70.py
        sql/test/wlcr/Tests/wlr70.stable.err
        sql/test/wlcr/Tests/wlr70.stable.out
Modified Files:
        clients/Tests/MAL-signatures.stable.out
        clients/Tests/MAL-signatures.stable.out.int128
        clients/Tests/exports.stable.out
        monetdb5/extras/mal_optimizer_template/Tests/opt_sql_append.stable.out
        monetdb5/mal/Makefile.ag
        monetdb5/mal/mal.c
        monetdb5/mal/mal_builder.c
        monetdb5/mal/mal_client.c
        monetdb5/mal/mal_client.h
        monetdb5/mal/mal_import.c
        monetdb5/mal/mal_import.h
        monetdb5/mal/mal_instruction.c
        monetdb5/mal/mal_interpreter.c
        monetdb5/mal/mal_parser.c
        monetdb5/mal/mal_parser.h
        monetdb5/mal/mal_private.h
        monetdb5/mal/mal_session.c
        monetdb5/modules/mal/Makefile.ag
        monetdb5/modules/mal/mal_init.mal
        monetdb5/optimizer/Makefile.ag
        monetdb5/optimizer/opt_pipes.c
        monetdb5/optimizer/opt_prelude.c
        monetdb5/optimizer/opt_prelude.h
        monetdb5/optimizer/opt_support.c
        monetdb5/optimizer/opt_wrapper.c
        monetdb5/optimizer/optimizer.mal
        sql/backends/monet5/40_sql.mal
        sql/backends/monet5/Makefile.ag
        sql/backends/monet5/sql.c
        sql/backends/monet5/sql_scenario.c
        sql/backends/monet5/sql_transaction.c
        sql/scripts/Makefile.ag
        sql/server/Makefile.ag
        sql/server/sql_mvc.c
        
sql/test/BugTracker-2012/Tests/rewrite_like_into_likesubselect.Bug-3179.stable.out
        sql/test/BugTracker-2014/Tests/querylog.Bug-3607.stable.out
        sql/test/BugTracker-2016/Tests/storagemodel.stable.out
        sql/test/Dump/Tests/dump.stable.out
        sql/test/Tests/setoptimizer.stable.out
        sql/test/Tests/systemfunctions.stable.out
        sql/test/Tests/systemfunctions.stable.out.int128
        sql/test/emptydb/Tests/check.stable.out
        sql/test/emptydb/Tests/check.stable.out.32bit
        sql/test/emptydb/Tests/check.stable.out.int128
        sql/test/leaks/Tests/check1.stable.out
        sql/test/leaks/Tests/check1.stable.out.int128
        sql/test/leaks/Tests/check2.stable.out
        sql/test/leaks/Tests/check2.stable.out.int128
        sql/test/leaks/Tests/check3.stable.out
        sql/test/leaks/Tests/check3.stable.out.int128
        sql/test/leaks/Tests/check4.stable.out
        sql/test/leaks/Tests/check4.stable.out.int128
        sql/test/leaks/Tests/check5.stable.out
        sql/test/leaks/Tests/check5.stable.out.int128
        sql/test/mergetables/Tests/mergequery.stable.out
        sql/test/remote/Tests/partition_elim.stable.out
        sql/test/remote/Tests/ssbm.stable.err
        sql/test/remote/Tests/ssbm.stable.out.int128
        tools/merovingian/client/monetdb.c
        tools/merovingian/daemon/controlrunner.c
        tools/merovingian/utils/database.c
        tools/merovingian/utils/database.h
Branch: default
Log Message:

Merge wlrc into default


diffs (truncated from 8355 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
@@ -8187,6 +8187,8 @@ Ready.
 [ "optimizer", "sql_append",   "pattern optimizer.sql_append(mod:str, 
fcn:str):str ",  "OPTsql_append;",       "Avoid extra BAT copy with 
sql.append() whenever possible."     ]
 [ "optimizer", "volcano",      "pattern optimizer.volcano():str ",     
"OPTwrapper;",  ""      ]
 [ "optimizer", "volcano",      "pattern optimizer.volcano(mod:str, 
fcn:str):str ",     "OPTwrapper;",  "Simulate volcano style execution"      ]
+[ "optimizer", "wlc",  "pattern optimizer.wlc():str ", "OPTwrapper;",  ""      
]
+[ "optimizer", "wlc",  "pattern optimizer.wlc(mod:str, fcn:str):str ", 
"OPTwrapper;",  "Inject the workload capture-replay primitives."        ]
 [ "pcre",      "imatch",       "command pcre.imatch(s:str, pat:str):bit ",     
"PCREimatch;",  "Caseless Perl Compatible Regular Expression pattern matching 
against a string" ]
 [ "pcre",      "index",        "command pcre.index(pat:pcre, s:str):int ",     
"PCREindex;",   "match a pattern, return matched position (or 0 when not 
found)"        ]
 [ "pcre",      "match",        "command pcre.match(s:str, pat:str):bit ",      
"PCREmatch;",   "Perl Compatible Regular Expression pattern matching against a 
string"  ]
@@ -8655,6 +8657,131 @@ Ready.
 [ "wkba",      "#read",        "command wkba.#read():void ",   "wkbaREAD;",    
""      ]
 [ "wkba",      "#tostr",       "command wkba.#tostr():void ",  "wkbaTOSTR;",   
""      ]
 [ "wkba",      "#write",       "command wkba.#write():void ",  "wkbaWRITE;",   
""      ]
+[ "wlc",       "action",       "pattern wlc.action(q:str):void ",      
"WLCaction;",   "Keep the database changing queries for replay. "       ]
+[ "wlc",       "alter_add_table",      "pattern wlc.alter_add_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLCgeneric;",  
"Catalog operation alter_add_table"     ]
+[ "wlc",       "alter_del_table",      "pattern wlc.alter_del_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLCgeneric;",  
"Catalog operation alter_del_table"     ]
+[ "wlc",       "alter_seq",    "pattern wlc.alter_seq(sname:str, seqname:str, 
val:lng):void ", "WLCgeneric;",  "Catalog operation alter_seq"   ]
+[ "wlc",       "alter_set_table",      "pattern wlc.alter_set_table(sname:str, 
tnme:str, access:int):void ",   "WLCgeneric;",  "Catalog operation 
alter_set_table"     ]
+[ "wlc",       "alter_table",  "pattern wlc.alter_table(sname:str, 
action:int):void ", "WLCgeneric;",  "Catalog operation alter_table" ]
+[ "wlc",       "alter_user",   "pattern wlc.alter_user(sname:str, passwrd:str, 
enc:int, schema:str, oldpasswrd:str):void ",    "WLCgeneric;",  "Catalog 
operation alter_user"  ]
+[ "wlc",       "append",       "pattern wlc.append(sname:str, tname:str, 
cname:str, ins:any):int ",    "WLCappend;",   "Keep the insertions in the 
workload-capture-replay list"       ]
+[ "wlc",       "catalog",      "pattern wlc.catalog(q:str):void ",     
"WLCcatalog;",  "Keep the catalog changing queries for replay. "        ]
+[ "wlc",       "clear_table",  "pattern wlc.clear_table(sname:str, 
tname:str):int ",   "WLCclear_table;",      "Keep the deletions in the 
workload-capture-replay list"        ]
+[ "wlc",       "commit",       "pattern wlc.commit():void ",   
"WLCcommitCmd;",        "Commit the workload-capture-replay record"     ]
+[ "wlc",       "commit",       "pattern wlc.commit():void ",   
"WLCcommitCmd;",        "Mark the end of the work unit" ]
+[ "wlc",       "create_function",      "pattern wlc.create_function(sname:str, 
fname:str):void ",      "WLCgeneric;",  "Catalog operation create_function"     
]
+[ "wlc",       "create_role",  "pattern wlc.create_role(sname:str, role:str, 
grator:int):void ",       "WLCgeneric;",  "Catalog operation create_role" ]
+[ "wlc",       "create_schema",        "pattern wlc.create_schema(sname:str, 
auth:str, action:int):void ",     "WLCgeneric;",  "Catalog operation 
create_schema"       ]
+[ "wlc",       "create_seq",   "pattern wlc.create_seq(sname:str, seqname:str, 
action:int):void ",     "WLCgeneric;",  "Catalog operation create_seq"  ]
+[ "wlc",       "create_table", "pattern wlc.create_table(sname:str, tname:str, 
temp:int):void ",       "WLCgeneric;",  "Catalog operation create_table"        
]
+[ "wlc",       "create_trigger",       "pattern wlc.create_trigger(sname:str, 
tname:str, triggername:str, time:int, orientation:int, event:int, old:str, 
new:str, cond:str, qry:str):void ",   "WLCgeneric;",  "Catalog operation 
create_trigger"      ]
+[ "wlc",       "create_type",  "pattern wlc.create_type(sname:str, nme:str, 
impl:str):void ",  "WLCgeneric;",  "Catalog operation create_type" ]
+[ "wlc",       "create_user",  "pattern wlc.create_user(sname:str, 
passwrd:str, enc:int, schema:str, fullname:str):void ",     "WLCgeneric;",  
"Catalog operation create_user" ]
+[ "wlc",       "create_view",  "pattern wlc.create_view(sname:str, tname:str, 
temp:int):void ",        "WLCgeneric;",  "Catalog operation create_view" ]
+[ "wlc",       "delete",       "pattern wlc.delete(sname:str, tname:str, 
b:any):int ", "WLCdelete;",   "Keep the deletions in the 
workload-capture-replay list"        ]
+[ "wlc",       "drop_constraint",      "pattern wlc.drop_constraint(sname:str, 
name:str, action:int):void ",   "WLCgeneric;",  "Catalog operation 
drop_constraint"     ]
+[ "wlc",       "drop_function",        "pattern wlc.drop_function(sname:str, 
fname:str, fid:int, type:int, action:int):void ", "WLCgeneric;",  "Catalog 
operation drop_function"       ]
+[ "wlc",       "drop_index",   "pattern wlc.drop_index(sname:str, iname:str, 
action:int):void ",       "WLCgeneric;",  "Catalog operation drop_index"  ]
+[ "wlc",       "drop_role",    "pattern wlc.drop_role(auth:str, role:str, 
action:int):void ",  "WLCgeneric;",  "Catalog operation drop_role"   ]
+[ "wlc",       "drop_role",    "pattern wlc.drop_role(role:str, 
action:int):void ",    "WLCgeneric;",  "Catalog operation drop_role"   ]
+[ "wlc",       "drop_schema",  "pattern wlc.drop_schema(sname:str, s:str, 
action:int):void ",  "WLCgeneric;",  "Catalog operation drop_schema" ]
+[ "wlc",       "drop_schema",  "pattern wlc.drop_schema(sname:str, s:str, 
action:int, ifexists:int):void ",    "WLCgeneric;",  "Catalog operation 
drop_schema" ]
+[ "wlc",       "drop_seq",     "pattern wlc.drop_seq(sname:str, nme:str, 
action:int):void ",   "WLCgeneric;",  "Catalog operation drop_seq"    ]
+[ "wlc",       "drop_table",   "pattern wlc.drop_table(sname:str, name:str, 
action:int):void ",        "WLCgeneric;",  "Catalog operation drop_table"  ]
+[ "wlc",       "drop_table",   "pattern wlc.drop_table(sname:str, name:str, 
action:int, ifexists:int):void ",  "WLCgeneric;",  "Catalog operation 
drop_table"  ]
+[ "wlc",       "drop_trigger", "pattern wlc.drop_trigger(sname:str, 
nme:str):void ",   "WLCgeneric;",  "Catalog operation drop_trigger"        ]
+[ "wlc",       "drop_type",    "pattern wlc.drop_type(sname:str, nme:str, 
action:int):void ",  "WLCgeneric;",  "Catalog operation drop_type"   ]
+[ "wlc",       "drop_user",    "pattern wlc.drop_user(sname:str, 
action:int):void ",   "WLCgeneric;",  "Catalog operation drop_user"   ]
+[ "wlc",       "drop_user",    "pattern wlc.drop_user(sname:str, auth:str, 
action:int):void ", "WLCgeneric;",  "Catalog operation drop_user"   ]
+[ "wlc",       "drop_view",    "pattern wlc.drop_view(sname:str, name:str, 
action:int):void ", "WLCgeneric;",  "Catalog operation drop_view"   ]
+[ "wlc",       "drop_view",    "pattern wlc.drop_view(sname:str, name:str, 
action:int, ifexists:int):void ",   "WLCgeneric;",  "Catalog operation 
drop_view"   ]
+[ "wlc",       "getmasterbeat",        "pattern 
wlc.getmasterbeat(duration:int):str ", "WLCgetmasterbeat;",    "Maximal delay 
for transaction log flushing"    ]
+[ "wlc",       "getmasterclock",       "pattern wlc.getmasterclock():str ",    
"WLCgetmasterclock;",   "Timestamp of last update transaction"  ]
+[ "wlc",       "getmastertick",        "pattern wlc.getmastertick():lng ",     
"WLCgetmastertick;",    "Transaction identifier of the last committed 
transaction"      ]
+[ "wlc",       "grant",        "pattern wlc.grant(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, gr:int, grantor:int):void ",  "WLCgeneric;", 
 "Catalog operation grant"       ]
+[ "wlc",       "grant_function",       "pattern wlc.grant_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",       
"WLCgeneric;",  "Catalog operation grant_function"      ]
+[ "wlc",       "grant_roles",  "pattern wlc.grant_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",   "WLCgeneric;",  "Catalog operation 
grant_roles" ]
+[ "wlc",       "init", "pattern wlc.init():void ",     "WLCinitCmd;",  "Test 
for running as master"    ]
+[ "wlc",       "master",       "pattern wlc.master():void ",   "WLCmaster;",   
"Activate the workload-capture-replay process"  ]
+[ "wlc",       "master",       "pattern wlc.master(path:str):void ",   
"WLCmaster;",   "Activate the workload-capture-replay process. Use a different 
location for the logs."  ]
+[ "wlc",       "query",        "pattern wlc.query(q:str):void ",       
"WLCquery;",    "Keep the queries for replay."  ]
+[ "wlc",       "rename_user",  "pattern wlc.rename_user(sname:str, newnme:str, 
action:int):void ",     "WLCgeneric;",  "Catalog operation rename_user" ]
+[ "wlc",       "revoke",       "pattern wlc.revoke(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, grant:int, grantor:int):void ",      
"WLCgeneric;",  "Catalog operation revoke"      ]
+[ "wlc",       "revoke_function",      "pattern wlc.revoke_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",      
"WLCgeneric;",  "Catalog operation revoke_function"     ]
+[ "wlc",       "revoke_roles", "pattern wlc.revoke_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",  "WLCgeneric;",  "Catalog operation 
revoke_roles"        ]
+[ "wlc",       "rollback",     "pattern wlc.rollback():void ", 
"WLCcommitCmd;",        "Rollback the workload-capture-replay record"   ]
+[ "wlc",       "rollback",     "pattern wlc.rollback():void ", 
"WLCrollbackCmd;",      "Mark the end of the work unit" ]
+[ "wlc",       "setmasterbeat",        "pattern 
wlc.setmasterbeat(duration:int):void ",        "WLCsetmasterbeat;",    "Maximal 
delay for transaction log flushing"    ]
+[ "wlc",       "stopmaster",   "pattern wlc.stopmaster():void ",       
"WLCstopmaster;",       "Stop capturing the logs"       ]
+[ "wlc",       "transaction",  "pattern wlc.transaction():void ",      
"WLCgeneric;",  "Start an autocommit transaction"       ]
+[ "wlc",       "transaction_begin",    "pattern 
wlc.transaction_begin(chain:int, name:str):void ",     "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "transaction_commit",   "pattern 
wlc.transaction_commit(chain:int, name:str):void ",    "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "transaction_release",  "pattern 
wlc.transaction_release(chain:int, name:str):void ",   "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "transaction_rollback", "pattern 
wlc.transaction_rollback(chain:int, name:str):void ",  "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "update",       "pattern wlc.update(sname:str, tname:str, 
cname:str, tid:any, val:any):int ",   "WLCupdate;",   "Keep the update in the 
workload-capture-replay list"   ]
+[ "wlr",       "action",       "pattern wlr.action(q:str):void ",      
"WLRaction;",   "A query producing updates"     ]
+[ "wlr",       "alter_add_table",      "pattern wlr.alter_add_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLRgeneric;",  
"Catalog operation alter_add_table"     ]
+[ "wlr",       "alter_del_table",      "pattern wlr.alter_del_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLRgeneric;",  
"Catalog operation alter_del_table"     ]
+[ "wlr",       "alter_seq",    "pattern wlr.alter_seq(sname:str, seqname:str, 
val:lng):void ", "WLRgeneric;",  "Catalog operation alter_seq"   ]
+[ "wlr",       "alter_set_table",      "pattern wlr.alter_set_table(sname:str, 
tnme:str, access:int):void ",   "WLRgeneric;",  "Catalog operation 
alter_set_table"     ]
+[ "wlr",       "alter_table",  "pattern wlr.alter_table(sname:str, 
action:int):void ", "WLRgeneric;",  "Catalog operation alter_table" ]
+[ "wlr",       "alter_user",   "pattern wlr.alter_user(sname:str, passwrd:str, 
enc:int, schema:str, oldpasswrd:str):void ",    "WLRgeneric;",  "Catalog 
operation alter_user"  ]
+[ "wlr",       "append",       "pattern wlr.append(sname:str, tname:str, 
cname:str, ins:any...):int ", "WLRappend;",   "Apply the insertions in the 
workload-capture-replay list"      ]
+[ "wlr",       "catalog",      "pattern wlr.catalog(q:str):void ",     
"WLRcatalog;",  "A catalog changing query"      ]
+[ "wlr",       "clear_table",  "pattern wlr.clear_table(sname:str, 
tname:str):int ",   "WLRclear_table;",      "Destroy the tuples in the table"   
    ]
+[ "wlr",       "commit",       "pattern wlr.commit():void ",   "WLRcommit;",   
"Mark the end of the work unit" ]
+[ "wlr",       "create_function",      "pattern wlr.create_function(sname:str, 
fname:str):void ",      "WLRgeneric;",  "Catalog operation create_function"     
]
+[ "wlr",       "create_role",  "pattern wlr.create_role(sname:str, role:str, 
grator:int):void ",       "WLRgeneric;",  "Catalog operation create_role" ]
+[ "wlr",       "create_schema",        "pattern wlr.create_schema(sname:str, 
auth:str, action:int):void ",     "WLRgeneric;",  "Catalog operation 
create_schema"       ]
+[ "wlr",       "create_seq",   "pattern wlr.create_seq(sname:str, seqname:str, 
action:int):void ",     "WLRgeneric;",  "Catalog operation create_seq"  ]
+[ "wlr",       "create_table", "pattern wlr.create_table(sname:str, tname:str, 
temp:int):void ",       "WLRgeneric;",  "Catalog operation create_table"        
]
+[ "wlr",       "create_trigger",       "pattern wlr.create_trigger(sname:str, 
tname:str, triggername:str, time:int, orientation:int, event:int, old:str, 
new:str, cond:str, qry:str):void ",   "WLRgeneric;",  "Catalog operation 
create_trigger"      ]
+[ "wlr",       "create_type",  "pattern wlr.create_type(sname:str, nme:str, 
impl:str):void ",  "WLRgeneric;",  "Catalog operation create_type" ]
+[ "wlr",       "create_user",  "pattern wlr.create_user(sname:str, 
passwrd:str, enc:int, schema:str, fullname:str):void ",     "WLRgeneric;",  
"Catalog operation create_user" ]
+[ "wlr",       "create_view",  "pattern wlr.create_view(sname:str, tname:str, 
temp:int):void ",        "WLRgeneric;",  "Catalog operation create_view" ]
+[ "wlr",       "delete",       "pattern wlr.delete(sname:str, tname:str, 
b:oid...):int ",      "WLRdelete;",   "Apply the deletions in the 
workload-capture-replay list"       ]
+[ "wlr",       "drop_constraint",      "pattern wlr.drop_constraint(sname:str, 
name:str, action:int):void ",   "WLRgeneric;",  "Catalog operation 
drop_constraint"     ]
+[ "wlr",       "drop_function",        "pattern wlr.drop_function(sname:str, 
fname:str, fid:int, type:int, action:int):void ", "WLRgeneric;",  "Catalog 
operation drop_function"       ]
+[ "wlr",       "drop_index",   "pattern wlr.drop_index(sname:str, iname:str, 
action:int):void ",       "WLRgeneric;",  "Catalog operation drop_index"  ]
+[ "wlr",       "drop_role",    "pattern wlr.drop_role(auth:str, role:str, 
action:int):void ",  "WLRgeneric;",  "Catalog operation drop_role"   ]
+[ "wlr",       "drop_role",    "pattern wlr.drop_role(role:str, 
action:int):void ",    "WLRgeneric;",  "Catalog operation drop_role"   ]
+[ "wlr",       "drop_schema",  "pattern wlr.drop_schema(sname:str, s:str, 
action:int):void ",  "WLRgeneric;",  "Catalog operation drop_schema" ]
+[ "wlr",       "drop_schema",  "pattern wlr.drop_schema(sname:str, s:str, 
action:int, ifexists:int):void ",    "WLRgeneric;",  "Catalog operation 
drop_schema" ]
+[ "wlr",       "drop_seq",     "pattern wlr.drop_seq(sname:str, nme:str, 
action:int):void ",   "WLRgeneric;",  "Catalog operation drop_seq"    ]
+[ "wlr",       "drop_table",   "pattern wlr.drop_table(sname:str, name:str, 
action:int):void ",        "WLRgeneric;",  "Catalog operation drop_table"  ]
+[ "wlr",       "drop_table",   "pattern wlr.drop_table(sname:str, name:str, 
action:int, ifexists:int):void ",  "WLRgeneric;",  "Catalog operation 
drop_table"  ]
+[ "wlr",       "drop_trigger", "pattern wlr.drop_trigger(sname:str, 
nme:str):void ",   "WLRgeneric;",  "Catalog operation drop_trigger"        ]
+[ "wlr",       "drop_type",    "pattern wlr.drop_type(sname:str, nme:str, 
action:int):void ",  "WLRgeneric;",  "Catalog operation drop_type"   ]
+[ "wlr",       "drop_user",    "pattern wlr.drop_user(sname:str, 
action:int):void ",   "WLRgeneric;",  "Catalog operation drop_user"   ]
+[ "wlr",       "drop_user",    "pattern wlr.drop_user(sname:str, auth:str, 
action:int):void ", "WLRgeneric;",  "Catalog operation drop_user"   ]
+[ "wlr",       "drop_view",    "pattern wlr.drop_view(sname:str, name:str, 
action:int):void ", "WLRgeneric;",  "Catalog operation drop_view"   ]
+[ "wlr",       "drop_view",    "pattern wlr.drop_view(sname:str, name:str, 
action:int, ifexists:int):void ",   "WLRgeneric;",  "Catalog operation 
drop_view"   ]
+[ "wlr",       "getreplicaclock",      "pattern wlr.getreplicaclock():str ",   
"WLRgetreplicaclock;",  "Timestamp of last replicated transaction."     ]
+[ "wlr",       "getreplicatick",       "pattern wlr.getreplicatick():lng ",    
"WLRgetreplicatick;",   "Transaction identifier of the last replicated 
transaction."    ]
+[ "wlr",       "grant",        "pattern wlr.grant(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, gr:int, grantor:int):void ",  "WLRgeneric;", 
 "Catalog operation grant"       ]
+[ "wlr",       "grant_function",       "pattern wlr.grant_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",       
"WLRgeneric;",  "Catalog operation grant_function"      ]
+[ "wlr",       "grant_roles",  "pattern wlr.grant_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",   "WLRgeneric;",  "Catalog operation 
grant_roles" ]
+[ "wlr",       "rename_user",  "pattern wlr.rename_user(sname:str, newnme:str, 
action:int):void ",     "WLRgeneric;",  "Catalog operation rename_user" ]
+[ "wlr",       "replicate",    "pattern wlr.replicate():void ",        
"WLRreplicate;",        "Roll the snapshot forward to an up-to-date clone"      
]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str):void ",      
"WLRreplicate;",        "Roll the snapshot forward to an up-to-date clone"      
]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:bte):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:int):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:lng):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:sht):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, 
ts:timestamp):void ",        "WLRreplicate;",        "Roll the snapshot forward 
to the time TS"      ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(ts:timestamp):void ",    
"WLRreplicate;",        "Roll the snapshot forward to an up-to-date clone"      
]
+[ "wlr",       "revoke",       "pattern wlr.revoke(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, grant:int, grantor:int):void ",      
"WLRgeneric;",  "Catalog operation revoke"      ]
+[ "wlr",       "revoke_function",      "pattern wlr.revoke_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",      
"WLRgeneric;",  "Catalog operation revoke_function"     ]
+[ "wlr",       "revoke_roles", "pattern wlr.revoke_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",  "WLRgeneric;",  "Catalog operation 
revoke_roles"        ]
+[ "wlr",       "rollback",     "pattern wlr.rollback():void ", "WLRrollback;", 
"Mark the end of the work unit" ]
+[ "wlr",       "setreplicabeat",       "pattern 
wlr.setreplicabeat(dur:int):void ",    "WLRsetreplicabeat;",   "Threshold (in 
seconds) for re-running queries" ]
+[ "wlr",       "transaction",  "pattern wlr.transaction():void ",      
"WLRgeneric;",  "Start an autocommit transaction"       ]
+[ "wlr",       "transaction",  "pattern wlr.transaction(tid:lng, started:str, 
user:str):void ",        "WLRtransaction;",      "Mark the beginning of the 
work unit which can be a compound transaction"       ]
+[ "wlr",       "transaction_begin",    "pattern 
wlr.transaction_begin(chain:int, name:str):void ",     "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "transaction_commit",   "pattern 
wlr.transaction_commit(chain:int, name:str):void ",    "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "transaction_release",  "pattern 
wlr.transaction_release(chain:int, name:str):void ",   "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "transaction_rollback", "pattern 
wlr.transaction_rollback(chain:int, name:str):void ",  "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "update",       "pattern wlr.update(sname:str, tname:str, 
cname:str, tid:oid, val:any):int ",   "WLRupdate;",   "Apply the update in the 
workload-capture-replay list"  ]
 [ "xml",       "#fromstr",     "command xml.#fromstr():void ", 
"XMLfromString;",       "Convert a string to an xml."   ]
 [ "xml",       "#tostr",       "command xml.#tostr():void ",   "XMLtoString;", 
"Convert xml to string equivalent"      ]
 [ "xml",       "aggr", "command xml.aggr(val:bat[:xml]):xml ", "BATXMLgroup;", 
"Aggregate the XML values."     ]
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
@@ -10549,6 +10549,8 @@ Ready.
 [ "optimizer", "sql_append",   "pattern optimizer.sql_append(mod:str, 
fcn:str):str ",  "OPTsql_append;",       "Avoid extra BAT copy with 
sql.append() whenever possible."     ]
 [ "optimizer", "volcano",      "pattern optimizer.volcano():str ",     
"OPTwrapper;",  ""      ]
 [ "optimizer", "volcano",      "pattern optimizer.volcano(mod:str, 
fcn:str):str ",     "OPTwrapper;",  "Simulate volcano style execution"      ]
+[ "optimizer", "wlc",  "pattern optimizer.wlc():str ", "OPTwrapper;",  ""      
]
+[ "optimizer", "wlc",  "pattern optimizer.wlc(mod:str, fcn:str):str ", 
"OPTwrapper;",  "Inject the workload capture-replay primitives."        ]
 [ "pcre",      "imatch",       "command pcre.imatch(s:str, pat:str):bit ",     
"PCREimatch;",  "Caseless Perl Compatible Regular Expression pattern matching 
against a string" ]
 [ "pcre",      "index",        "command pcre.index(pat:pcre, s:str):int ",     
"PCREindex;",   "match a pattern, return matched position (or 0 when not 
found)"        ]
 [ "pcre",      "match",        "command pcre.match(s:str, pat:str):bit ",      
"PCREmatch;",   "Perl Compatible Regular Expression pattern matching against a 
string"  ]
@@ -11020,6 +11022,131 @@ Ready.
 [ "wkba",      "#read",        "command wkba.#read():void ",   "wkbaREAD;",    
""      ]
 [ "wkba",      "#tostr",       "command wkba.#tostr():void ",  "wkbaTOSTR;",   
""      ]
 [ "wkba",      "#write",       "command wkba.#write():void ",  "wkbaWRITE;",   
""      ]
+[ "wlc",       "action",       "pattern wlc.action(q:str):void ",      
"WLCaction;",   "Keep the database changing queries for replay. "       ]
+[ "wlc",       "alter_add_table",      "pattern wlc.alter_add_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLCgeneric;",  
"Catalog operation alter_add_table"     ]
+[ "wlc",       "alter_del_table",      "pattern wlc.alter_del_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLCgeneric;",  
"Catalog operation alter_del_table"     ]
+[ "wlc",       "alter_seq",    "pattern wlc.alter_seq(sname:str, seqname:str, 
val:lng):void ", "WLCgeneric;",  "Catalog operation alter_seq"   ]
+[ "wlc",       "alter_set_table",      "pattern wlc.alter_set_table(sname:str, 
tnme:str, access:int):void ",   "WLCgeneric;",  "Catalog operation 
alter_set_table"     ]
+[ "wlc",       "alter_table",  "pattern wlc.alter_table(sname:str, 
action:int):void ", "WLCgeneric;",  "Catalog operation alter_table" ]
+[ "wlc",       "alter_user",   "pattern wlc.alter_user(sname:str, passwrd:str, 
enc:int, schema:str, oldpasswrd:str):void ",    "WLCgeneric;",  "Catalog 
operation alter_user"  ]
+[ "wlc",       "append",       "pattern wlc.append(sname:str, tname:str, 
cname:str, ins:any):int ",    "WLCappend;",   "Keep the insertions in the 
workload-capture-replay list"       ]
+[ "wlc",       "catalog",      "pattern wlc.catalog(q:str):void ",     
"WLCcatalog;",  "Keep the catalog changing queries for replay. "        ]
+[ "wlc",       "clear_table",  "pattern wlc.clear_table(sname:str, 
tname:str):int ",   "WLCclear_table;",      "Keep the deletions in the 
workload-capture-replay list"        ]
+[ "wlc",       "commit",       "pattern wlc.commit():void ",   
"WLCcommitCmd;",        "Commit the workload-capture-replay record"     ]
+[ "wlc",       "commit",       "pattern wlc.commit():void ",   
"WLCcommitCmd;",        "Mark the end of the work unit" ]
+[ "wlc",       "create_function",      "pattern wlc.create_function(sname:str, 
fname:str):void ",      "WLCgeneric;",  "Catalog operation create_function"     
]
+[ "wlc",       "create_role",  "pattern wlc.create_role(sname:str, role:str, 
grator:int):void ",       "WLCgeneric;",  "Catalog operation create_role" ]
+[ "wlc",       "create_schema",        "pattern wlc.create_schema(sname:str, 
auth:str, action:int):void ",     "WLCgeneric;",  "Catalog operation 
create_schema"       ]
+[ "wlc",       "create_seq",   "pattern wlc.create_seq(sname:str, seqname:str, 
action:int):void ",     "WLCgeneric;",  "Catalog operation create_seq"  ]
+[ "wlc",       "create_table", "pattern wlc.create_table(sname:str, tname:str, 
temp:int):void ",       "WLCgeneric;",  "Catalog operation create_table"        
]
+[ "wlc",       "create_trigger",       "pattern wlc.create_trigger(sname:str, 
tname:str, triggername:str, time:int, orientation:int, event:int, old:str, 
new:str, cond:str, qry:str):void ",   "WLCgeneric;",  "Catalog operation 
create_trigger"      ]
+[ "wlc",       "create_type",  "pattern wlc.create_type(sname:str, nme:str, 
impl:str):void ",  "WLCgeneric;",  "Catalog operation create_type" ]
+[ "wlc",       "create_user",  "pattern wlc.create_user(sname:str, 
passwrd:str, enc:int, schema:str, fullname:str):void ",     "WLCgeneric;",  
"Catalog operation create_user" ]
+[ "wlc",       "create_view",  "pattern wlc.create_view(sname:str, tname:str, 
temp:int):void ",        "WLCgeneric;",  "Catalog operation create_view" ]
+[ "wlc",       "delete",       "pattern wlc.delete(sname:str, tname:str, 
b:any):int ", "WLCdelete;",   "Keep the deletions in the 
workload-capture-replay list"        ]
+[ "wlc",       "drop_constraint",      "pattern wlc.drop_constraint(sname:str, 
name:str, action:int):void ",   "WLCgeneric;",  "Catalog operation 
drop_constraint"     ]
+[ "wlc",       "drop_function",        "pattern wlc.drop_function(sname:str, 
fname:str, fid:int, type:int, action:int):void ", "WLCgeneric;",  "Catalog 
operation drop_function"       ]
+[ "wlc",       "drop_index",   "pattern wlc.drop_index(sname:str, iname:str, 
action:int):void ",       "WLCgeneric;",  "Catalog operation drop_index"  ]
+[ "wlc",       "drop_role",    "pattern wlc.drop_role(auth:str, role:str, 
action:int):void ",  "WLCgeneric;",  "Catalog operation drop_role"   ]
+[ "wlc",       "drop_role",    "pattern wlc.drop_role(role:str, 
action:int):void ",    "WLCgeneric;",  "Catalog operation drop_role"   ]
+[ "wlc",       "drop_schema",  "pattern wlc.drop_schema(sname:str, s:str, 
action:int):void ",  "WLCgeneric;",  "Catalog operation drop_schema" ]
+[ "wlc",       "drop_schema",  "pattern wlc.drop_schema(sname:str, s:str, 
action:int, ifexists:int):void ",    "WLCgeneric;",  "Catalog operation 
drop_schema" ]
+[ "wlc",       "drop_seq",     "pattern wlc.drop_seq(sname:str, nme:str, 
action:int):void ",   "WLCgeneric;",  "Catalog operation drop_seq"    ]
+[ "wlc",       "drop_table",   "pattern wlc.drop_table(sname:str, name:str, 
action:int):void ",        "WLCgeneric;",  "Catalog operation drop_table"  ]
+[ "wlc",       "drop_table",   "pattern wlc.drop_table(sname:str, name:str, 
action:int, ifexists:int):void ",  "WLCgeneric;",  "Catalog operation 
drop_table"  ]
+[ "wlc",       "drop_trigger", "pattern wlc.drop_trigger(sname:str, 
nme:str):void ",   "WLCgeneric;",  "Catalog operation drop_trigger"        ]
+[ "wlc",       "drop_type",    "pattern wlc.drop_type(sname:str, nme:str, 
action:int):void ",  "WLCgeneric;",  "Catalog operation drop_type"   ]
+[ "wlc",       "drop_user",    "pattern wlc.drop_user(sname:str, 
action:int):void ",   "WLCgeneric;",  "Catalog operation drop_user"   ]
+[ "wlc",       "drop_user",    "pattern wlc.drop_user(sname:str, auth:str, 
action:int):void ", "WLCgeneric;",  "Catalog operation drop_user"   ]
+[ "wlc",       "drop_view",    "pattern wlc.drop_view(sname:str, name:str, 
action:int):void ", "WLCgeneric;",  "Catalog operation drop_view"   ]
+[ "wlc",       "drop_view",    "pattern wlc.drop_view(sname:str, name:str, 
action:int, ifexists:int):void ",   "WLCgeneric;",  "Catalog operation 
drop_view"   ]
+[ "wlc",       "getmasterbeat",        "pattern 
wlc.getmasterbeat(duration:int):str ", "WLCgetmasterbeat;",    "Maximal delay 
for transaction log flushing"    ]
+[ "wlc",       "getmasterclock",       "pattern wlc.getmasterclock():str ",    
"WLCgetmasterclock;",   "Timestamp of last update transaction"  ]
+[ "wlc",       "getmastertick",        "pattern wlc.getmastertick():lng ",     
"WLCgetmastertick;",    "Transaction identifier of the last committed 
transaction"      ]
+[ "wlc",       "grant",        "pattern wlc.grant(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, gr:int, grantor:int):void ",  "WLCgeneric;", 
 "Catalog operation grant"       ]
+[ "wlc",       "grant_function",       "pattern wlc.grant_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",       
"WLCgeneric;",  "Catalog operation grant_function"      ]
+[ "wlc",       "grant_roles",  "pattern wlc.grant_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",   "WLCgeneric;",  "Catalog operation 
grant_roles" ]
+[ "wlc",       "init", "pattern wlc.init():void ",     "WLCinitCmd;",  "Test 
for running as master"    ]
+[ "wlc",       "master",       "pattern wlc.master():void ",   "WLCmaster;",   
"Activate the workload-capture-replay process"  ]
+[ "wlc",       "master",       "pattern wlc.master(path:str):void ",   
"WLCmaster;",   "Activate the workload-capture-replay process. Use a different 
location for the logs."  ]
+[ "wlc",       "query",        "pattern wlc.query(q:str):void ",       
"WLCquery;",    "Keep the queries for replay."  ]
+[ "wlc",       "rename_user",  "pattern wlc.rename_user(sname:str, newnme:str, 
action:int):void ",     "WLCgeneric;",  "Catalog operation rename_user" ]
+[ "wlc",       "revoke",       "pattern wlc.revoke(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, grant:int, grantor:int):void ",      
"WLCgeneric;",  "Catalog operation revoke"      ]
+[ "wlc",       "revoke_function",      "pattern wlc.revoke_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",      
"WLCgeneric;",  "Catalog operation revoke_function"     ]
+[ "wlc",       "revoke_roles", "pattern wlc.revoke_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",  "WLCgeneric;",  "Catalog operation 
revoke_roles"        ]
+[ "wlc",       "rollback",     "pattern wlc.rollback():void ", 
"WLCcommitCmd;",        "Rollback the workload-capture-replay record"   ]
+[ "wlc",       "rollback",     "pattern wlc.rollback():void ", 
"WLCrollbackCmd;",      "Mark the end of the work unit" ]
+[ "wlc",       "setmasterbeat",        "pattern 
wlc.setmasterbeat(duration:int):void ",        "WLCsetmasterbeat;",    "Maximal 
delay for transaction log flushing"    ]
+[ "wlc",       "stopmaster",   "pattern wlc.stopmaster():void ",       
"WLCstopmaster;",       "Stop capturing the logs"       ]
+[ "wlc",       "transaction",  "pattern wlc.transaction():void ",      
"WLCgeneric;",  "Start an autocommit transaction"       ]
+[ "wlc",       "transaction_begin",    "pattern 
wlc.transaction_begin(chain:int, name:str):void ",     "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "transaction_commit",   "pattern 
wlc.transaction_commit(chain:int, name:str):void ",    "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "transaction_release",  "pattern 
wlc.transaction_release(chain:int, name:str):void ",   "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "transaction_rollback", "pattern 
wlc.transaction_rollback(chain:int, name:str):void ",  "WLCgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlc",       "update",       "pattern wlc.update(sname:str, tname:str, 
cname:str, tid:any, val:any):int ",   "WLCupdate;",   "Keep the update in the 
workload-capture-replay list"   ]
+[ "wlr",       "action",       "pattern wlr.action(q:str):void ",      
"WLRaction;",   "A query producing updates"     ]
+[ "wlr",       "alter_add_table",      "pattern wlr.alter_add_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLRgeneric;",  
"Catalog operation alter_add_table"     ]
+[ "wlr",       "alter_del_table",      "pattern wlr.alter_del_table(sname:str, 
mtnme:str, psnme:str, ptnme:str, action:int):void ",    "WLRgeneric;",  
"Catalog operation alter_del_table"     ]
+[ "wlr",       "alter_seq",    "pattern wlr.alter_seq(sname:str, seqname:str, 
val:lng):void ", "WLRgeneric;",  "Catalog operation alter_seq"   ]
+[ "wlr",       "alter_set_table",      "pattern wlr.alter_set_table(sname:str, 
tnme:str, access:int):void ",   "WLRgeneric;",  "Catalog operation 
alter_set_table"     ]
+[ "wlr",       "alter_table",  "pattern wlr.alter_table(sname:str, 
action:int):void ", "WLRgeneric;",  "Catalog operation alter_table" ]
+[ "wlr",       "alter_user",   "pattern wlr.alter_user(sname:str, passwrd:str, 
enc:int, schema:str, oldpasswrd:str):void ",    "WLRgeneric;",  "Catalog 
operation alter_user"  ]
+[ "wlr",       "append",       "pattern wlr.append(sname:str, tname:str, 
cname:str, ins:any...):int ", "WLRappend;",   "Apply the insertions in the 
workload-capture-replay list"      ]
+[ "wlr",       "catalog",      "pattern wlr.catalog(q:str):void ",     
"WLRcatalog;",  "A catalog changing query"      ]
+[ "wlr",       "clear_table",  "pattern wlr.clear_table(sname:str, 
tname:str):int ",   "WLRclear_table;",      "Destroy the tuples in the table"   
    ]
+[ "wlr",       "commit",       "pattern wlr.commit():void ",   "WLRcommit;",   
"Mark the end of the work unit" ]
+[ "wlr",       "create_function",      "pattern wlr.create_function(sname:str, 
fname:str):void ",      "WLRgeneric;",  "Catalog operation create_function"     
]
+[ "wlr",       "create_role",  "pattern wlr.create_role(sname:str, role:str, 
grator:int):void ",       "WLRgeneric;",  "Catalog operation create_role" ]
+[ "wlr",       "create_schema",        "pattern wlr.create_schema(sname:str, 
auth:str, action:int):void ",     "WLRgeneric;",  "Catalog operation 
create_schema"       ]
+[ "wlr",       "create_seq",   "pattern wlr.create_seq(sname:str, seqname:str, 
action:int):void ",     "WLRgeneric;",  "Catalog operation create_seq"  ]
+[ "wlr",       "create_table", "pattern wlr.create_table(sname:str, tname:str, 
temp:int):void ",       "WLRgeneric;",  "Catalog operation create_table"        
]
+[ "wlr",       "create_trigger",       "pattern wlr.create_trigger(sname:str, 
tname:str, triggername:str, time:int, orientation:int, event:int, old:str, 
new:str, cond:str, qry:str):void ",   "WLRgeneric;",  "Catalog operation 
create_trigger"      ]
+[ "wlr",       "create_type",  "pattern wlr.create_type(sname:str, nme:str, 
impl:str):void ",  "WLRgeneric;",  "Catalog operation create_type" ]
+[ "wlr",       "create_user",  "pattern wlr.create_user(sname:str, 
passwrd:str, enc:int, schema:str, fullname:str):void ",     "WLRgeneric;",  
"Catalog operation create_user" ]
+[ "wlr",       "create_view",  "pattern wlr.create_view(sname:str, tname:str, 
temp:int):void ",        "WLRgeneric;",  "Catalog operation create_view" ]
+[ "wlr",       "delete",       "pattern wlr.delete(sname:str, tname:str, 
b:oid...):int ",      "WLRdelete;",   "Apply the deletions in the 
workload-capture-replay list"       ]
+[ "wlr",       "drop_constraint",      "pattern wlr.drop_constraint(sname:str, 
name:str, action:int):void ",   "WLRgeneric;",  "Catalog operation 
drop_constraint"     ]
+[ "wlr",       "drop_function",        "pattern wlr.drop_function(sname:str, 
fname:str, fid:int, type:int, action:int):void ", "WLRgeneric;",  "Catalog 
operation drop_function"       ]
+[ "wlr",       "drop_index",   "pattern wlr.drop_index(sname:str, iname:str, 
action:int):void ",       "WLRgeneric;",  "Catalog operation drop_index"  ]
+[ "wlr",       "drop_role",    "pattern wlr.drop_role(auth:str, role:str, 
action:int):void ",  "WLRgeneric;",  "Catalog operation drop_role"   ]
+[ "wlr",       "drop_role",    "pattern wlr.drop_role(role:str, 
action:int):void ",    "WLRgeneric;",  "Catalog operation drop_role"   ]
+[ "wlr",       "drop_schema",  "pattern wlr.drop_schema(sname:str, s:str, 
action:int):void ",  "WLRgeneric;",  "Catalog operation drop_schema" ]
+[ "wlr",       "drop_schema",  "pattern wlr.drop_schema(sname:str, s:str, 
action:int, ifexists:int):void ",    "WLRgeneric;",  "Catalog operation 
drop_schema" ]
+[ "wlr",       "drop_seq",     "pattern wlr.drop_seq(sname:str, nme:str, 
action:int):void ",   "WLRgeneric;",  "Catalog operation drop_seq"    ]
+[ "wlr",       "drop_table",   "pattern wlr.drop_table(sname:str, name:str, 
action:int):void ",        "WLRgeneric;",  "Catalog operation drop_table"  ]
+[ "wlr",       "drop_table",   "pattern wlr.drop_table(sname:str, name:str, 
action:int, ifexists:int):void ",  "WLRgeneric;",  "Catalog operation 
drop_table"  ]
+[ "wlr",       "drop_trigger", "pattern wlr.drop_trigger(sname:str, 
nme:str):void ",   "WLRgeneric;",  "Catalog operation drop_trigger"        ]
+[ "wlr",       "drop_type",    "pattern wlr.drop_type(sname:str, nme:str, 
action:int):void ",  "WLRgeneric;",  "Catalog operation drop_type"   ]
+[ "wlr",       "drop_user",    "pattern wlr.drop_user(sname:str, 
action:int):void ",   "WLRgeneric;",  "Catalog operation drop_user"   ]
+[ "wlr",       "drop_user",    "pattern wlr.drop_user(sname:str, auth:str, 
action:int):void ", "WLRgeneric;",  "Catalog operation drop_user"   ]
+[ "wlr",       "drop_view",    "pattern wlr.drop_view(sname:str, name:str, 
action:int):void ", "WLRgeneric;",  "Catalog operation drop_view"   ]
+[ "wlr",       "drop_view",    "pattern wlr.drop_view(sname:str, name:str, 
action:int, ifexists:int):void ",   "WLRgeneric;",  "Catalog operation 
drop_view"   ]
+[ "wlr",       "getreplicaclock",      "pattern wlr.getreplicaclock():str ",   
"WLRgetreplicaclock;",  "Timestamp of last replicated transaction."     ]
+[ "wlr",       "getreplicatick",       "pattern wlr.getreplicatick():lng ",    
"WLRgetreplicatick;",   "Transaction identifier of the last replicated 
transaction."    ]
+[ "wlr",       "grant",        "pattern wlr.grant(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, gr:int, grantor:int):void ",  "WLRgeneric;", 
 "Catalog operation grant"       ]
+[ "wlr",       "grant_function",       "pattern wlr.grant_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",       
"WLRgeneric;",  "Catalog operation grant_function"      ]
+[ "wlr",       "grant_roles",  "pattern wlr.grant_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",   "WLRgeneric;",  "Catalog operation 
grant_roles" ]
+[ "wlr",       "rename_user",  "pattern wlr.rename_user(sname:str, newnme:str, 
action:int):void ",     "WLRgeneric;",  "Catalog operation rename_user" ]
+[ "wlr",       "replicate",    "pattern wlr.replicate():void ",        
"WLRreplicate;",        "Roll the snapshot forward to an up-to-date clone"      
]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str):void ",      
"WLRreplicate;",        "Roll the snapshot forward to an up-to-date clone"      
]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:bte):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:int):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:lng):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, id:sht):void 
",      "WLRreplicate;",        "Roll the snapshot forward to a specific 
transaction id"        ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(dbname:str, 
ts:timestamp):void ",        "WLRreplicate;",        "Roll the snapshot forward 
to the time TS"      ]
+[ "wlr",       "replicate",    "pattern wlr.replicate(ts:timestamp):void ",    
"WLRreplicate;",        "Roll the snapshot forward to an up-to-date clone"      
]
+[ "wlr",       "revoke",       "pattern wlr.revoke(sname:str, tbl:str, 
grantee:str, privs:int, cname:str, grant:int, grantor:int):void ",      
"WLRgeneric;",  "Catalog operation revoke"      ]
+[ "wlr",       "revoke_function",      "pattern wlr.revoke_function(sname:str, 
fcnid:int, grantee:str, privs:int, grant:int, grantor:int):void ",      
"WLRgeneric;",  "Catalog operation revoke_function"     ]
+[ "wlr",       "revoke_roles", "pattern wlr.revoke_roles(sname:str, auth:str, 
grantor:int, admin:int):void ",  "WLRgeneric;",  "Catalog operation 
revoke_roles"        ]
+[ "wlr",       "rollback",     "pattern wlr.rollback():void ", "WLRrollback;", 
"Mark the end of the work unit" ]
+[ "wlr",       "setreplicabeat",       "pattern 
wlr.setreplicabeat(dur:int):void ",    "WLRsetreplicabeat;",   "Threshold (in 
seconds) for re-running queries" ]
+[ "wlr",       "transaction",  "pattern wlr.transaction():void ",      
"WLRgeneric;",  "Start an autocommit transaction"       ]
+[ "wlr",       "transaction",  "pattern wlr.transaction(tid:lng, started:str, 
user:str):void ",        "WLRtransaction;",      "Mark the beginning of the 
work unit which can be a compound transaction"       ]
+[ "wlr",       "transaction_begin",    "pattern 
wlr.transaction_begin(chain:int, name:str):void ",     "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "transaction_commit",   "pattern 
wlr.transaction_commit(chain:int, name:str):void ",    "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "transaction_release",  "pattern 
wlr.transaction_release(chain:int, name:str):void ",   "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "transaction_rollback", "pattern 
wlr.transaction_rollback(chain:int, name:str):void ",  "WLRgeneric;",  "A 
transaction statement (type can be commit,release,rollback or start)"        ]
+[ "wlr",       "update",       "pattern wlr.update(sname:str, tname:str, 
cname:str, tid:oid, val:any):int ",   "WLRupdate;",   "Apply the update in the 
workload-capture-replay list"  ]
 [ "xml",       "#fromstr",     "command xml.#fromstr():void ", 
"XMLfromString;",       "Convert a string to an xml."   ]
 [ "xml",       "#tostr",       "command xml.#tostr():void ",   "XMLtoString;", 
"Convert xml to string equivalent"      ]
 [ "xml",       "aggr", "command xml.aggr(val:bat[:xml]):xml ", "BATXMLgroup;", 
"Aggregate the XML values."     ]
diff --git a/clients/Tests/exports.stable.out b/clients/Tests/exports.stable.out
--- a/clients/Tests/exports.stable.out
+++ b/clients/Tests/exports.stable.out
@@ -1576,6 +1576,7 @@ str OPTremoteQueriesImplementation(Clien
 str OPTreorderImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr p);
 str OPTstatistics(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
 str OPTvolcanoImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, 
InstrPtr p);
+str OPTwlcImplementation(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr 
pci);
 str OPTwrapper(Client cntxt, MalBlkPtr mb, MalStkPtr stk, InstrPtr p);
 str PCREilike2(bit *ret, const str *s, const str *pat);
 str PCREilike3(bit *ret, const str *s, const str *pat, const str *esc);
@@ -1868,6 +1869,32 @@ str UUIDstr2uuid(uuid **retval, str *s);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to