irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

miscUtil.cpp File Reference
#include <sys/time.h>
#include <fnmatch.h>
#include "rodsClient.h"
#include "rodsLog.h"
#include "miscUtil.h"
#include "rcGlobalExtern.h"
#include "irods_stacktrace.hpp"
#include "irods_path_recursion.hpp"
#include "irods_exception.hpp"
#include "get_hier_from_leaf_id.h"
#include <fstream>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/convenience.hpp>
Include dependency graph for miscUtil.cpp:

Go to the source code of this file.

Macros

#define VERIFY_DIV(_v1_, _v2_)   ((_v2_)? (float)(_v1_)/(_v2_):0.0)
 

Functions

int mkColl (rcComm_t *conn, char *collection)
 
int mkCollR (rcComm_t *conn, char *startColl, char *destColl)
 
int mkdirR (char *startDir, char *destDir, int mode)
 
int mkdirForFilePath (char *filePath)
 
int rmdirR (char *startDir, char *destDir)
 
int getRodsObjType (rcComm_t *conn, rodsPath_t *rodsPath)
 
int genAllInCollQCond (char *collection, char *collQCond)
 
int queryCollInColl (queryHandle_t *queryHandle, char *collection, int flags, genQueryInp_t *genQueryInp, genQueryOut_t **genQueryOut)
 
int queryDataObjInColl (queryHandle_t *queryHandle, char *collection, int flags, genQueryInp_t *genQueryInp, genQueryOut_t **genQueryOut, keyValPair_t *condInput)
 
int setQueryInpForData (int flags, genQueryInp_t *genQueryInp)
 
int printTiming (rcComm_t *conn, char *objPath, rodsLong_t fileSize, char *localFile, struct timeval *startTime, struct timeval *endTime)
 
int printTime (char *objPath, struct timeval *startTime, struct timeval *endTime)
 
int printNoSync (char *objPath, rodsLong_t fileSize, char *reason)
 
int queryDataObjAcl (rcComm_t *conn, char *dataId, char *zoneHint, genQueryOut_t **genQueryOut)
 
int queryCollAclSpecific (rcComm_t *conn, char *collName, char *zoneHint, genQueryOut_t **genQueryOut)
 
int queryCollAcl (rcComm_t *conn, char *collName, char *zoneHint, genQueryOut_t **genQueryOut)
 
int queryCollInheritance (rcComm_t *conn, char *collName, genQueryOut_t **genQueryOut)
 
int genQueryOutToCollRes (genQueryOut_t **genQueryOut, collSqlResult_t *collSqlResult)
 
int setSqlResultValue (sqlResult_t *sqlResult, int attriInx, char *valueStr, int rowCnt)
 
int clearCollSqlResult (collSqlResult_t *collSqlResult)
 
int clearDataObjSqlResult (dataObjSqlResult_t *dataObjSqlResult)
 
int genQueryOutToDataObjRes (genQueryOut_t **genQueryOut, dataObjSqlResult_t *dataObjSqlResult)
 
int rclOpenCollection (rcComm_t *conn, char *collection, int flags, collHandle_t *collHandle)
 
int rclReadCollection (rcComm_t *conn, collHandle_t *collHandle, collEnt_t *collEnt)
 
int readCollection (collHandle_t *collHandle, collEnt_t *collEnt)
 
int genCollResInColl (queryHandle_t *queryHandle, collHandle_t *collHandle)
 
int genDataResInColl (queryHandle_t *queryHandle, collHandle_t *collHandle)
 
int rclCloseCollection (collHandle_t *collHandle)
 
int clearCollHandle (collHandle_t *collHandle, int freeSpecColl)
 
int getNextCollMetaInfo (collHandle_t *collHandle, collEnt_t *outCollEnt)
 
int get_resc_hier_from_leaf_id (queryHandle_t *_query_handle, rodsLong_t _resc_id, char *_resc_hier)
 
int getNextDataObjMetaInfo (collHandle_t *collHandle, collEnt_t *outCollEnt)
 
int setQueryFlag (rodsArguments_t *rodsArgs)
 
int rclInitQueryHandle (queryHandle_t *queryHandle, rcComm_t *conn)
 
int freeCollEnt (collEnt_t *collEnt)
 
int clearCollEnt (collEnt_t *collEnt)
 
int myChmod (char *inPath, uint dataMode)
 
char * getZoneHintForGenQuery (genQueryInp_t *genQueryInp)
 
int getZoneType (rcComm_t *conn, char *icatZone, char *inZoneName, char *outZoneType)
 
int getCollSizeForProgStat (rcComm_t *conn, char *srcColl, operProgress_t *operProgress)
 
int getDirSizeForProgStat (rodsArguments_t *rodsArgs, char *srcDir, operProgress_t *operProgress)
 
guiProgressCallback iCommandProgStat (operProgress_t *operProgress)
 
int getOpenedCollLen (collHandle_t *collHandle)
 
int rmSubDir (char *mydir)
 
int rmFilesInDir (char *mydir)
 
int getNumFilesInDir (const char *mydir)
 
pathnamePatterns_treadPathnamePatterns (char *buf, int buflen)
 
void freePathnamePatterns (pathnamePatterns_t *pp)
 
int matchPathname (pathnamePatterns_t *pp, char *name, char *dirname)
 
int resolveRodsTarget (rcComm_t *conn, rodsPathInp_t *rodsPathInp, int oprType)
 

Variables

static uint Myumask = 99999999
 
const char NON_ROOT_COLL_CHECK_STR [] = "<>'/'"
 

Macro Definition Documentation

◆ VERIFY_DIV

#define VERIFY_DIV (   _v1_,
  _v2_ 
)    ((_v2_)? (float)(_v1_)/(_v2_):0.0)

Definition at line 25 of file miscUtil.cpp.

Function Documentation

◆ clearCollEnt()

◆ clearCollHandle()

int clearCollHandle ( collHandle_t collHandle,
int  freeSpecColl 
)

◆ clearCollSqlResult()

◆ clearDataObjSqlResult()

◆ freeCollEnt()

int freeCollEnt ( collEnt_t collEnt)

Definition at line 1759 of file miscUtil.cpp.

References clearCollEnt(), and NULL.

Referenced by _rsCollRsync(), _rsPhyBundleColl(), irods::experimental::filesystem::client::collection_iterator::operator++(), and rsCollRepl().

Here is the call graph for this function:

◆ freePathnamePatterns()

void freePathnamePatterns ( pathnamePatterns_t pp)

Definition at line 2282 of file miscUtil.cpp.

References NULL, pathnamePatterns_t::pattern_buf, and pathnamePatterns_t::patterns.

Referenced by _rsPhyPathReg().

◆ genAllInCollQCond()

int genAllInCollQCond ( char *  collection,
char *  collQCond 
)

◆ genCollResInColl()

◆ genDataResInColl()

◆ genQueryOutToCollRes()

◆ genQueryOutToDataObjRes()

◆ get_resc_hier_from_leaf_id()

int get_resc_hier_from_leaf_id ( queryHandle_t _query_handle,
rodsLong_t  _resc_id,
char *  _resc_hier 
)

Definition at line 1495 of file miscUtil.cpp.

References QueryHandle::conn, QueryHandle::getHierForId, LOG_ERROR, MAX_NAME_LEN, NULL, manual_cleanup::out, get_hier_inp_t::resc_id_, rodsLog(), rstrcpy(), irods.pypyodbc::status, SYS_INTERNAL_NULL_INPUT_ERR, and SYS_INVALID_INPUT_PARAM.

Here is the call graph for this function:

◆ getCollSizeForProgStat()

int getCollSizeForProgStat ( rcComm_t conn,
char *  srcColl,
operProgress_t operProgress 
)

Definition at line 1920 of file miscUtil.cpp.

References CAT_NO_ROWS_FOUND, COLL_OBJ_T, SpecColl::collClass, CollEnt::collName, DATA_OBJ_T, CollEnt::dataSize, LOG_ERROR, NO_SPEC_COLL, CollEnt::objType, rclOpenCollection(), rclReadCollection(), RECUR_QUERY_FG, rodsLog(), CollEnt::specColl, irods.pypyodbc::status, OperProgress::totalFileSize, and OperProgress::totalNumFiles.

Referenced by cpUtil(), getUtil(), and replUtil().

Here is the call graph for this function:

◆ getDirSizeForProgStat()

int getDirSizeForProgStat ( rodsArguments_t rodsArgs,
char *  srcDir,
operProgress_t operProgress 
)

Definition at line 1967 of file miscUtil.cpp.

References irods::exception::client_display_what(), irods::experimental::administration::client::v1::exists(), irods::is_path_valid_for_recursion(), LOG_ERROR, MAX_NAME_LEN, pid_age::p, rodsLog(), irods.pypyodbc::status, OperProgress::totalFileSize, OperProgress::totalNumFiles, and USER_INPUT_PATH_ERR.

Referenced by putUtil().

Here is the call graph for this function:

◆ getNextCollMetaInfo()

◆ getNextDataObjMetaInfo()

int getNextDataObjMetaInfo ( collHandle_t collHandle,
collEnt_t outCollEnt 
)

Definition at line 1547 of file miscUtil.cpp.

References CAT_NO_ROWS_FOUND, DataObjSqlResult::chksum, CollEnt::chksum, clearDataObjSqlResult(), SpecColl::collClass, DataObjSqlResult::collName, CollEnt::collName, QueryHandle::conn, DataObjSqlResult::continueInx, GenQueryInp::continueInx, DataObjSqlResult::createTime, CollEnt::createTime, DATA_OBJ_T, DataObjSqlResult::dataId, CollEnt::dataId, DataObjSqlResult::dataMode, CollEnt::dataMode, DataObjSqlResult::dataName, CollEnt::dataName, collHandle_t::dataObjInp, collHandle_t::dataObjSqlResult, DataObjSqlResult::dataSize, CollEnt::dataSize, DataObjSqlResult::dataType, CollEnt::dataType, collHandle_t::flags, freeGenQueryOut(), QueryHandle::genQuery, collHandle_t::genQueryInp, genQueryOutToDataObjRes(), SqlResult::len, LINKED_COLL, LOG_ERROR, DataObjSqlResult::modifyTime, CollEnt::modifyTime, NAME_LEN, NEWLY_CREATED_COPY, NO_TRIM_REPL_FG, NULL, CollEnt::objType, DataObjInp::openFlags, rodsObjStat::ownerName, DataObjSqlResult::ownerName, CollEnt::ownerName, DataObjSqlResult::phyPath, CollEnt::phyPath, collHandle_t::prevdataId, collHandle_t::queryHandle, QueryHandle::querySpecColl, DataObjSqlResult::replNum, CollEnt::replNum, DataObjSqlResult::replStatus, CollEnt::replStatus, DataObjSqlResult::resc_hier, CollEnt::resc_hier, SpecColl::rescHier, DataObjSqlResult::resource, CollEnt::resource, SpecColl::resource, rodsLogError(), collHandle_t::rodsObjStat, DataObjSqlResult::rowCnt, collHandle_t::rowInx, rstrcpy(), DataObjInp::specColl, rodsObjStat::specColl, CollEnt::specColl, irods.pypyodbc::status, USER__NULL_INPUT_ERR, SqlResult::value, and get_irods_version::value.

Referenced by readCollection().

Here is the call graph for this function:

◆ getNumFilesInDir()

int getNumFilesInDir ( const char *  mydir)

Definition at line 2183 of file miscUtil.cpp.

References irods::experimental::administration::client::v1::exists(), LOG_ERROR, MAX_NAME_LEN, pid_age::p, rodsLogError(), irods.pypyodbc::status, and USER_INPUT_PATH_ERR.

Referenced by localProcStat().

Here is the call graph for this function:

◆ getOpenedCollLen()

◆ getRodsObjType()

◆ getZoneHintForGenQuery()

char* getZoneHintForGenQuery ( genQueryInp_t genQueryInp)

Definition at line 1835 of file miscUtil.cpp.

References COL_COLL_NAME, COL_COLL_PARENT_NAME, COL_ZONE_NAME, GenQueryInp::condInput, getValByKey(), InxValPair::inx, InxValPair::len, NON_ROOT_COLL_CHECK_STR, NULL, GenQueryInp::sqlCondInp, InxValPair::value, ZONE_KW, and zoneHint.

Referenced by rsGenQuery().

Here is the call graph for this function:

◆ getZoneType()

int getZoneType ( rcComm_t conn,
char *  icatZone,
char *  inZoneName,
char *  outZoneType 
)

Definition at line 1869 of file miscUtil.cpp.

References addInxIval(), addInxVal(), addKeyVal(), COL_ZONE_NAME, COL_ZONE_TYPE, GenQueryInp::condInput, freeGenQueryOut(), getSqlResultByInx(), LOG_NOTICE, MAX_NAME_LEN, MAX_SQL_ROWS, GenQueryInp::maxRows, NULL, rcGenQuery(), rodsLog(), rstrcpy(), GenQueryInp::selectInp, GenQueryInp::sqlCondInp, irods.pypyodbc::status, UNMATCHED_KEY_OR_INDEX, USER__NULL_INPUT_ERR, SqlResult::value, and ZONE_KW.

Referenced by rmtrashUtil().

Here is the call graph for this function:

◆ iCommandProgStat()

guiProgressCallback iCommandProgStat ( operProgress_t operProgress)

◆ matchPathname()

int matchPathname ( pathnamePatterns_t pp,
char *  name,
char *  dirname 
)

Definition at line 2297 of file miscUtil.cpp.

References LOG_DEBUG, MAX_NAME_LEN, generate_iadmin_commands_for_41_to_42_upgrade::name, NULL, pathnamePatterns_t::num_patterns, pathnamePatterns_t::patterns, and rodsLog().

Referenced by dirPathReg().

Here is the call graph for this function:

◆ mkColl()

int mkColl ( rcComm_t conn,
char *  collection 
)

Definition at line 31 of file miscUtil.cpp.

References CATALOG_ALREADY_HAS_ITEM_BY_THAT_NAME, CollInp::collName, MAX_NAME_LEN, rcCollCreate(), rstrcpy(), and irods.pypyodbc::status.

Referenced by mkCollR(), putDirUtil(), resolveRodsTarget(), and rsyncCollToCollUtil().

Here is the call graph for this function:

◆ mkCollR()

int mkCollR ( rcComm_t conn,
char *  startColl,
char *  destColl 
)

Definition at line 51 of file miscUtil.cpp.

References clearRodsPath(), COLL_OBJ_T, EXIST_ST, getRodsObjType(), LOG_NOTICE, MAX_NAME_LEN, mkColl(), RodsPath::objState, RodsPath::objType, RodsPath::outPath, rodsLog(), rstrcpy(), irods.pypyodbc::status, and UNKNOWN_ST.

Referenced by cpCollUtil(), and rsyncDirToCollUtil().

Here is the call graph for this function:

◆ mkdirForFilePath()

int mkdirForFilePath ( char *  filePath)

Definition at line 157 of file miscUtil.cpp.

References DEFAULT_DIR_MODE, LOG_ERROR, MAX_NAME_LEN, mkdirR(), rodsLogError(), splitPathByKey(), and irods.pypyodbc::status.

Here is the call graph for this function:

◆ mkdirR()

int mkdirR ( char *  startDir,
char *  destDir,
int  mode 
)

Definition at line 106 of file miscUtil.cpp.

References irods::experimental::administration::client::v1::exists(), LOG_NOTICE, MAX_NAME_LEN, mode, pid_age::p, rodsLog(), rstrcpy(), irods.pypyodbc::status, and UNIX_FILE_MKDIR_ERR.

Referenced by getCollUtil(), mkdirForFilePath(), and rsyncCollToDirUtil().

Here is the call graph for this function:

◆ myChmod()

int myChmod ( char *  inPath,
uint  dataMode 
)

Definition at line 1815 of file miscUtil.cpp.

References INIT_UMASK_VAL, LOG_ERROR, Myumask, and rodsLog().

Referenced by getDataObjUtil(), and rsyncDataToFileUtil().

Here is the call graph for this function:

◆ printNoSync()

int printNoSync ( char *  objPath,
rodsLong_t  fileSize,
char *  reason 
)

Definition at line 491 of file miscUtil.cpp.

References MAX_NAME_LEN, rstrcpy(), splitPathByKey(), and irods.pypyodbc::status.

Referenced by ageExceeded(), rsyncDataToDataUtil(), rsyncDataToFileUtil(), and rsyncFileToDataUtil().

Here is the call graph for this function:

◆ printTime()

int printTime ( char *  objPath,
struct timeval *  startTime,
struct timeval *  endTime 
)

Definition at line 460 of file miscUtil.cpp.

References LOG_NOTICE, MAX_NAME_LEN, rodsLogError(), splitPathByKey(), and irods.pypyodbc::status.

Here is the call graph for this function:

◆ printTiming()

int printTiming ( rcComm_t conn,
char *  objPath,
rodsLong_t  fileSize,
char *  localFile,
struct timeval *  startTime,
struct timeval *  endTime 
)

Definition at line 396 of file miscUtil.cpp.

References getFileSize(), LOG_NOTICE, MAX_NAME_LEN, NULL, transferStat_t::numThreads, rodsLogError(), splitPathByKey(), irods.pypyodbc::status, and rcComm_t::transStat.

Referenced by chksumDataObjUtil(), cpFileUtil(), getDataObjUtil(), mvObjUtil(), phymvDataObjUtil(), putFileUtil(), replDataObjUtil(), rmDataObjUtil(), rmtrashDataObjUtil(), rsyncDataToDataUtil(), rsyncDataToFileUtil(), rsyncFileToDataUtil(), and sendBulkPut().

Here is the call graph for this function:

◆ queryCollAcl()

int queryCollAcl ( rcComm_t conn,
char *  collName,
char *  zoneHint,
genQueryOut_t **  genQueryOut 
)

Definition at line 581 of file miscUtil.cpp.

References addInxIval(), addInxVal(), addKeyVal(), clearGenQueryInp(), COL_COLL_ACCESS_NAME, COL_COLL_NAME, COL_COLL_TOKEN_NAMESPACE, COL_COLL_USER_NAME, COL_COLL_USER_ZONE, GenQueryInp::condInput, MAX_NAME_LEN, MAX_SQL_ROWS, GenQueryInp::maxRows, NULL, rcGenQuery(), GenQueryInp::selectInp, GenQueryInp::sqlCondInp, irods.pypyodbc::status, USER__NULL_INPUT_ERR, ZONE_KW, and zoneHint.

Referenced by printCollAcl().

Here is the call graph for this function:

◆ queryCollAclSpecific()

int queryCollAclSpecific ( rcComm_t conn,
char *  collName,
char *  zoneHint,
genQueryOut_t **  genQueryOut 
)

Definition at line 552 of file miscUtil.cpp.

References addKeyVal(), specificQueryInp_t::args, specificQueryInp_t::condInput, specificQueryInp_t::continueInx, MAX_SQL_ROWS, specificQueryInp_t::maxRows, NULL, rcSpecificQuery(), specificQueryInp_t::sql, irods.pypyodbc::status, USER__NULL_INPUT_ERR, ZONE_KW, and zoneHint.

Referenced by printCollAcl().

Here is the call graph for this function:

◆ queryCollInColl()

int queryCollInColl ( queryHandle_t queryHandle,
char *  collection,
int  flags,
genQueryInp_t genQueryInp,
genQueryOut_t **  genQueryOut 
)

◆ queryCollInheritance()

int queryCollInheritance ( rcComm_t conn,
char *  collName,
genQueryOut_t **  genQueryOut 
)

Definition at line 625 of file miscUtil.cpp.

References addInxIval(), addInxVal(), clearGenQueryInp(), COL_COLL_INHERITANCE, COL_COLL_NAME, MAX_NAME_LEN, MAX_SQL_ROWS, GenQueryInp::maxRows, NULL, rcGenQuery(), GenQueryInp::selectInp, GenQueryInp::sqlCondInp, irods.pypyodbc::status, and USER__NULL_INPUT_ERR.

Referenced by printCollInheritance().

Here is the call graph for this function:

◆ queryDataObjAcl()

int queryDataObjAcl ( rcComm_t conn,
char *  dataId,
char *  zoneHint,
genQueryOut_t **  genQueryOut 
)

Definition at line 515 of file miscUtil.cpp.

References addInxIval(), addInxVal(), addKeyVal(), COL_DATA_ACCESS_DATA_ID, COL_DATA_ACCESS_NAME, COL_DATA_TOKEN_NAMESPACE, COL_USER_NAME, COL_USER_ZONE, GenQueryInp::condInput, MAX_NAME_LEN, MAX_SQL_ROWS, GenQueryInp::maxRows, NULL, rcGenQuery(), GenQueryInp::selectInp, GenQueryInp::sqlCondInp, irods.pypyodbc::status, USER__NULL_INPUT_ERR, ZONE_KW, and zoneHint.

Referenced by printDataAcl().

Here is the call graph for this function:

◆ queryDataObjInColl()

int queryDataObjInColl ( queryHandle_t queryHandle,
char *  collection,
int  flags,
genQueryInp_t genQueryInp,
genQueryOut_t **  genQueryOut,
keyValPair_t condInput 
)

◆ rclCloseCollection()

int rclCloseCollection ( collHandle_t collHandle)

Definition at line 1354 of file miscUtil.cpp.

References clearCollHandle().

Referenced by chksumCollUtil(), cpCollUtil(), getCollUtil(), lsCollUtil(), phymvCollUtil(), replCollUtil(), rsyncCollToCollUtil(), rsyncCollToDirUtil(), and trimCollUtil().

Here is the call graph for this function:

◆ rclInitQueryHandle()

int rclInitQueryHandle ( queryHandle_t queryHandle,
rcComm_t conn 
)

Definition at line 1744 of file miscUtil.cpp.

References QueryHandle::conn, QueryHandle::connType, QueryHandle::genQuery, QueryHandle::getHierForId, NULL, QueryHandle::querySpecColl, RC_COMM, rcGenQuery(), rcGetHierFromLeafId(), rcQuerySpecColl(), and USER__NULL_INPUT_ERR.

Referenced by printLsLong(), and rclOpenCollection().

Here is the call graph for this function:

◆ rclOpenCollection()

◆ rclReadCollection()

int rclReadCollection ( rcComm_t conn,
collHandle_t collHandle,
collEnt_t collEnt 
)

Definition at line 1108 of file miscUtil.cpp.

References QueryHandle::conn, collHandle_t::queryHandle, readCollection(), and irods.pypyodbc::status.

Referenced by chksumCollUtil(), cpCollUtil(), getCollSizeForProgStat(), getCollUtil(), lsCollUtil(), phymvCollUtil(), replCollUtil(), rsyncCollToCollUtil(), rsyncCollToDirUtil(), and trimCollUtil().

Here is the call graph for this function:

◆ readCollection()

◆ readPathnamePatterns()

pathnamePatterns_t* readPathnamePatterns ( char *  buf,
int  buflen 
)

Definition at line 2220 of file miscUtil.cpp.

References buf, LOG_NOTICE, NULL, pathnamePatterns_t::num_patterns, pathnamePatterns_t::pattern_buf, pathnamePatterns_t::patterns, and rodsLog().

Referenced by readPathnamePatternsFromFile().

Here is the call graph for this function:

◆ resolveRodsTarget()

◆ rmdirR()

int rmdirR ( char *  startDir,
char *  destDir 
)

Definition at line 174 of file miscUtil.cpp.

References MAX_NAME_LEN, and rstrcpy().

Here is the call graph for this function:

◆ rmFilesInDir()

int rmFilesInDir ( char *  mydir)

Definition at line 2149 of file miscUtil.cpp.

References irods::experimental::administration::client::v1::exists(), LOG_ERROR, MAX_NAME_LEN, pid_age::p, rodsLogError(), irods.pypyodbc::status, and USER_INPUT_PATH_ERR.

Referenced by initAndClearProcLog().

Here is the call graph for this function:

◆ rmSubDir()

int rmSubDir ( char *  mydir)

Definition at line 2100 of file miscUtil.cpp.

References irods::experimental::administration::client::v1::exists(), LOG_ERROR, MAX_NAME_LEN, pid_age::p, rodsLogError(), irods.pypyodbc::status, and USER_INPUT_PATH_ERR.

Here is the call graph for this function:

◆ setQueryFlag()

◆ setQueryInpForData()

int setQueryInpForData ( int  flags,
genQueryInp_t genQueryInp 
)

◆ setSqlResultValue()

int setSqlResultValue ( sqlResult_t sqlResult,
int  attriInx,
char *  valueStr,
int  rowCnt 
)

Definition at line 778 of file miscUtil.cpp.

References SqlResult::attriInx, SqlResult::len, NULL, rstrcpy(), and SqlResult::value.

Referenced by genQueryOutToCollRes(), and genQueryOutToDataObjRes().

Here is the call graph for this function:

Variable Documentation

◆ Myumask

uint Myumask = 99999999
static

Definition at line 26 of file miscUtil.cpp.

Referenced by myChmod().

◆ NON_ROOT_COLL_CHECK_STR

const char NON_ROOT_COLL_CHECK_STR[] = "<>'/'"

Definition at line 28 of file miscUtil.cpp.

Referenced by getZoneHintForGenQuery(), and queryCollInColl().