From 8751652b8705e80f350a1d8b7083c4eb4c0fe76f Mon Sep 17 00:00:00 2001 From: Justin James Date: Tue, 17 Oct 2023 11:48:37 -0400 Subject: [PATCH] [#77] Changed where keyword to lowercase --- DSI/globus_gridftp_server_iRODS.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DSI/globus_gridftp_server_iRODS.cpp b/DSI/globus_gridftp_server_iRODS.cpp index 88ba3d3..4ced747 100644 --- a/DSI/globus_gridftp_server_iRODS.cpp +++ b/DSI/globus_gridftp_server_iRODS.cpp @@ -1469,12 +1469,13 @@ globus_l_gfs_iRODS_command( } //SELECT META_DATA_ATTR_VALUE, META_DATA_ATTR_UNITS, MIN(DATA_MODIFY_TIME) where COLL_NAME = '/tempZone/home/rods' and DATA_NAME = 'medium_file' and DATA_REPL_STATUS = '1' - // use lowercase 'select' to work around + // use lowercase 'select' and 'where' to work around // https://github.com/irods/irods/issues/4697 + // https://github.com/irods/irods_client_globus_connector/issues/77 std::string metadata_query_str = boost::str(boost::format( "select META_DATA_ATTR_VALUE, META_DATA_ATTR_UNITS, MIN(DATA_MODIFY_TIME) " - "WHERE META_DATA_ATTR_NAME = '%s' AND DATA_NAME = '%s' AND COLL_NAME = '%s' AND DATA_REPL_STATUS = '1'") % + "where META_DATA_ATTR_NAME = '%s' AND DATA_NAME = '%s' AND COLL_NAME = '%s' AND DATA_REPL_STATUS = '1'") % checksum_avu_name % data_name % coll_name);