Skip to content

Commit

Permalink
Remove noisy debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelienpierre committed Jul 12, 2024
1 parent da8efe9 commit e827ca7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/common/collection.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,6 @@ int dt_collection_update(const dt_collection_t *collection)
(collection->params.query_flags & COLLECTION_QUERY_USE_LIMIT) ? " " LIMIT_QUERY : "");
result = _dt_collection_store(collection, query, query_no_group);

#ifdef _DEBUG
printf("SQL Collection for 1st:%d and 2nd:%d: %s\n\n",collection->params.sort,collection->params.sort_second_order,query);/*only for debugging*/
#endif


/* free memory used */
g_free(sq);
g_free(wq);
Expand Down Expand Up @@ -2603,7 +2598,7 @@ static void _dt_collection_recount_callback_2(gpointer instance, const int32_t i

static inline void _dt_collection_change_view_after_import(const dt_view_t *current_view)
{
const int nb = dt_conf_get_int("ui_last/nb_imported");
const int nb = dt_conf_get_int("ui_last/nb_imported");
if(nb == 1)
{
if(!g_strcmp0(current_view->module_name, "darkroom")) // if current view IS "darkroom".
Expand Down

0 comments on commit e827ca7

Please sign in to comment.