dbms: fixed build [#CONV-6561].

This commit is contained in:
Alexey Milovidov 2013-01-23 18:57:46 +00:00
parent c4b52f7232
commit 866fde533e

View File

@ -36,8 +36,8 @@ int main(int argc, char ** argv)
DB::loadMetadata(context);
context.addDatabase("system");
context.addTable("system", "one", new DB::StorageSystemOne("one"));
context.addTable("system", "numbers", new DB::StorageSystemNumbers("numbers"));
context.addTable("system", "one", (new DB::StorageSystemOne("one"))->thisPtr());
context.addTable("system", "numbers", (new DB::StorageSystemNumbers("numbers"))->thisPtr());
context.setCurrentDatabase("default");
DB::ReadBufferFromIStream in(std::cin);