Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[77] Changed where keyword to lowercase (main) #78

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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