Change variable and namespace name in BE (#268)

Change 'palo' to 'doris'
This commit is contained in:
chenhao7253886
2018-11-02 10:22:32 +08:00
committed by morningman
parent ad12d907da
commit 37b4cafe87
923 changed files with 4640 additions and 4640 deletions

View File

@ -24,7 +24,7 @@
using std::string;
namespace palo {
namespace doris {
StringValue FromStdString(const string& str) {
char* ptr = const_cast<char*>(str.c_str());
@ -86,15 +86,15 @@ TEST(StringValueTest, TestCompare) {
int main(int argc, char** argv) {
#if 0
std::string conffile = std::string(getenv("DORIS_HOME")) + "/conf/be.conf";
if (!palo::config::init(conffile.c_str(), false)) {
if (!doris::config::init(conffile.c_str(), false)) {
fprintf(stderr, "error read config file. \n");
return -1;
}
init_glog("be-test");
palo::CpuInfo::Init();
doris::CpuInfo::Init();
#endif
::testing::InitGoogleTest(&argc, argv);
palo::CpuInfo::init();
doris::CpuInfo::init();
return RUN_ALL_TESTS();
}