Definition at line 399 of file Database.h. References Impala::Util::Channel::Buffer(), ILOG_DEBUG, Impala::Util::Channel::LastSendHadError(), mDataChannel, mDataString, and Impala::Util::Channel::SendRequest(). Referenced by DoMkDirPath(). 00400 { 00401 char* buf = mDataChannel->Buffer(); 00402 sprintf(buf, "domkdirpath \"%s\" \"%s\"\0", dir.c_str(), mDataString.c_str()); 00403 int len = mDataChannel->SendRequest(strlen(buf)+1); 00404 if (mDataChannel->LastSendHadError()) 00405 return ""; 00406 buf[len] = 0; 00407 String res(buf); 00408 ILOG_DEBUG("Got dir [" << res << "]"); 00409 return res; 00410 }
Here is the call graph for this function: ![]()
|