Changeset: feb9e75a212c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/feb9e75a212c
Modified Files:
        sql/backends/monet5/sql_user.c
Branch: userprofile
Log Message:

fix default values


diffs (22 lines):

diff --git a/sql/backends/monet5/sql_user.c b/sql/backends/monet5/sql_user.c
--- a/sql/backends/monet5/sql_user.c
+++ b/sql/backends/monet5/sql_user.c
@@ -335,10 +335,15 @@ monet5_create_privileges(ptr _mvc, sql_s
        char *username = "monetdb";
        char *fullname = "MonetDB Admin";
        char *schema_path = default_schema_path;
-       char *optimizer = "default_pipe";
+       // default values
+       char *optimizer = default_optimizer;
+       lng max_memory = 0;
+       int max_workers = 0;
+       bool wlc = true;
 
-       store->table_api.table_insert(m->session->tr, uinfo, &username, 
&fullname, &schema_id, &schema_path, &lng_nil, &int_nil,
-                       &bte_nil, &optimizer);
+
+       store->table_api.table_insert(m->session->tr, uinfo, &username, 
&fullname, &schema_id, &schema_path, &max_memory, &max_workers,
+                       &wlc, &optimizer);
 }
 
 static int
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to