Changeset: 01628683cdba for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/01628683cdba
Modified Files:
        monetdb5/mal/mal_profiler.c
Branch: sql_profiler
Log Message:

Get rid of unused macro.


diffs (27 lines):

diff --git a/monetdb5/mal/mal_profiler.c b/monetdb5/mal/mal_profiler.c
--- a/monetdb5/mal/mal_profiler.c
+++ b/monetdb5/mal/mal_profiler.c
@@ -376,23 +376,6 @@ prepareMalEvent(Client cntxt, MalBlkPtr 
                                                BBPunfix(d->batCacheid);
                                                goto cleanup_and_exit;
                                        }
-#define keepprop(NME, LNME)                                                    
                                        \
-       do {                                                                    
                                                        \
-               const void *valp = BATgetprop(d, NME);                          
                        \
-               if ( valp){                                                     
                                                        \
-                       cv = VALformat(valp);                                   
                                        \
-                       if (cv) {                                               
                                                        \
-                               char *cvquote = mal_quote(cv, strlen(cv));      
                        \
-                               ok = logadd(&logbuf, ",\"%s\":\"%s\"", LNME, 
cvquote);  \
-                               GDKfree(cv);                                    
                                                \
-                               GDKfree(cvquote);                               
                                                \
-                               if (!ok) {                                      
                                                        \
-                                       BBPunfix(d->batCacheid);                
                                        \
-                                       goto cleanup_and_exit;                  
                                        \
-                               }                                               
                                                                \
-                       }                                                       
                                                                \
-               }                                                               
                                                                \
-       } while (0)
                                        if ((di.minpos != BUN_NONE &&
                                                 !logadd(&logbuf, 
",\"minpos\":\""BUNFMT"\"", di.minpos)) ||
                                                (di.maxpos != BUN_NONE &&
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to