Skip to content

Commit

Permalink
[#77] Changed where keyword to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinKyleJames authored and alanking committed Oct 17, 2023
1 parent 77ed64e commit 77e962d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DSI/globus_gridftp_server_iRODS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 77e962d

Please sign in to comment.