Changeset: 2515389f4010 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/2515389f4010
Modified Files:
        monetdb5/mal/mal_profiler.h
        sql/storage/store.c
Branch: sql_profiler
Log Message:

Make enum and static const array smaller.


diffs (24 lines):

diff --git a/monetdb5/mal/mal_profiler.h b/monetdb5/mal/mal_profiler.h
--- a/monetdb5/mal/mal_profiler.h
+++ b/monetdb5/mal/mal_profiler.h
@@ -29,7 +29,7 @@ enum event_phase {
        REL_OPT,
        REL_TO_MAL,
        MAL_OPT,
-       TRANSACTION_START = 100,
+       TRANSACTION_START = 7,
        COMMIT,
        ROLLBACK,
        TRANSACTION_END
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -3577,7 +3577,7 @@ clean_predicates_and_propagate_to_parent
 }
 
 enum event_phase {
-       TRANSACTION_START = 100,
+       TRANSACTION_START = 7,
        COMMIT,
        ROLLBACK,
        TRANSACTION_END
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to