Changeset: df32959c6106 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/df32959c6106
Modified Files:
        sql/storage/store.c
Branch: default
Log Message:

sql id's are 32 bit ints.


diffs (21 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -6828,7 +6828,7 @@ sql_trans_create_table_trigger(sql_trigg
                        return res;
                }
        }
-       oid tid = t? (oid) t->base.id : oid_nil;
+       sqlid tid = t? t->base.id : int_nil;
 
        if ((res = store->table_api.table_insert(tr, systrigger, &nt->base.id, 
&nt->base.name, &tid, &nt->time, &nt->orientation,
                                                         &nt->event, 
(nt->old_name)?&nt->old_name:&strnil, (nt->new_name)?&nt->new_name:&strnil,
@@ -6878,7 +6878,7 @@ sql_trans_create_trigger(sql_trigger **t
                trigger_destroy(store, nt);
                return res;
        }
-       oid tid = oid_nil;
+       sqlid tid = oid_nil;
 
        if ((res = store->table_api.table_insert(tr, systrigger, &nt->base.id, 
&nt->base.name, &tid, &nt->time, &nt->orientation,
                                                         &nt->event, 
(nt->old_name)?&nt->old_name:&strnil, (nt->new_name)?&nt->new_name:&strnil,
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to