From fd1dc0307ff56fdd885b98518afacebb6e98bc40 Mon Sep 17 00:00:00 2001 From: Kory Draughn Date: Tue, 10 Dec 2024 19:13:24 -0500 Subject: [PATCH] REMOVE THIS! --- lib/core/src/rcMisc.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/core/src/rcMisc.cpp b/lib/core/src/rcMisc.cpp index c7fc784ca8..4df6cd4e97 100644 --- a/lib/core/src/rcMisc.cpp +++ b/lib/core/src/rcMisc.cpp @@ -8,6 +8,7 @@ #include "irods/execMyRule.h" #include "irods/exec_rule_expression.h" #include "irods/generalAdmin.h" +#include "irods/irods_default_paths.hpp" #include "irods/modDataObjMeta.h" #include "irods/msParam.h" #include "irods/objInfo.h" @@ -60,6 +61,7 @@ #include "irods/Unix2Nt.hpp" #endif +#include #include #include #include @@ -3209,6 +3211,13 @@ int fillGenQueryInpFromStrCond( char * str, genQueryInp_t * genQueryInp ) return parse_genquery1_string(str, genQueryInp); } + { + std::ofstream f{(irods::get_irods_home_directory() / "log/genquery1_strings.txt").generic_string(), std::ios::out | std::ios::app}; + if (f) { + f << str << '\n'; + } + } + int n, m; char *p, *t, *f, *u, *a, *c; char *s;