Definition at line 357 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(). 00358 { 00359 char* buf = mDataChannel->Buffer(); 00360 sprintf(buf, "domkdirpath \"%s\" \"%s\"\0", dir.c_str(), mDataString.c_str()); 00361 int len = mDataChannel->SendRequest(strlen(buf)+1); 00362 if (mDataChannel->LastSendHadError()) 00363 return ""; 00364 buf[len] = 0; 00365 String res(buf); 00366 ILOG_DEBUG("Got dir [" << res << "]"); 00367 return res; 00368 }
Here is the call graph for this function:
|