Definition at line 449 of file Database.h. References Impala::Util::Channel::Buffer(), ILOG_DEBUG, Impala::Util::Channel::LastSendHadError(), mDataChannel, mDataServer, mDataString, mOverride, and Impala::Util::Channel::SendRequest(). Referenced by GetWritableFile(). 00450 { 00451 char* buf = mDataChannel->Buffer(); 00452 sprintf(buf, "getwritablefile \"%s\" \"%s\" %d %d\0", file.c_str(), 00453 mDataString.c_str(), silent, mOverride); 00454 int len = mDataChannel->SendRequest(strlen(buf)+1); 00455 if (mDataChannel->LastSendHadError()) 00456 return ""; 00457 buf[len] = 0; 00458 String res(buf); 00459 ILOG_DEBUG("Got file [" << res << "] from " << mDataServer); 00460 return res; 00461 }
Here is the call graph for this function:
|