Repository navigation
Closed
Description
In file included from /usr/local/include/c++/6.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33:0,
from /usr/local/include/c++/6.2.0/bits/allocator.h:46,
from /usr/local/include/c++/6.2.0/bits/stl_tree.h:64,
from /usr/local/include/c++/6.2.0/map:60,
from /tmp/ClickHouse-1.1.54023-stable/dbms/src/DataStreams/tests/json_streams.cpp:1:
/usr/local/include/c++/6.2.0/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = DB::JSONRowOutputStream; _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}; _Tp = DB::JSONRowOutputStream]’:
/usr/local/include/c++/6.2.0/bits/alloc_traits.h:455:4: required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::construct(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*, _Args&& ...) [with _Up = DB::JSONRowOutputStream; _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}; _Tp = DB::JSONRowOutputStream; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<DB::JSONRowOutputStream>]’
/usr/local/include/c++/6.2.0/bits/shared_ptr_base.h:520:39: required from ‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}; _Tp = DB::JSONRowOutputStream; _Alloc = std::allocator<DB::JSONRowOutputStream>; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/local/include/c++/6.2.0/bits/shared_ptr_base.h:615:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = DB::JSONRowOutputStream; _Alloc = std::allocator<DB::JSONRowOutputStream>; _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/local/include/c++/6.2.0/bits/shared_ptr_base.h:1100:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<DB::JSONRowOutputStream>; _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}; _Tp = DB::JSONRowOutputStream; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/local/include/c++/6.2.0/bits/shared_ptr.h:319:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<DB::JSONRowOutputStream>; _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}; _Tp = DB::JSONRowOutputStream]’
/usr/local/include/c++/6.2.0/bits/shared_ptr.h:619:14: required from ‘std::shared_ptr<_Tp1> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = DB::JSONRowOutputStream; _Alloc = std::allocator<DB::JSONRowOutputStream>; _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}]’
/usr/local/include/c++/6.2.0/bits/shared_ptr.h:635:39: required from ‘std::shared_ptr<_Tp1> std::make_shared(_Args&& ...) [with _Tp = DB::JSONRowOutputStream; _Args = {DB::WriteBufferFromOStream&, DB::Block&, bool}]’
/tmp/ClickHouse-1.1.54023-stable/dbms/src/DataStreams/tests/json_streams.cpp:65:104: required from here
/usr/local/include/c++/6.2.0/ext/new_allocator.h:120:4: error: no matching function for call to ‘DB::JSONRowOutputStream::JSONRowOutputStream(DB::WriteBufferFromOStream&, DB::Block&, bool)’
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/ClickHouse-1.1.54023-stable/dbms/src/DataStreams/tests/json_streams.cpp:16:0:
/tmp/ClickHouse-1.1.54023-stable/dbms/include/DB/DataStreams/JSONRowOutputStream.h:18:2: note: candidate: DB::JSONRowOutputStream::JSONRowOutputStream(DB::WriteBuffer&, const DB::Block&, bool, bool)
JSONRowOutputStream(WriteBuffer & ostr_, const Block & sample_,
^~~~~~~~~~~~~~~~~~~
/tmp/ClickHouse-1.1.54023-stable/dbms/include/DB/DataStreams/JSONRowOutputStream.h:18:2: note: candidate expects 4 arguments, 3 provided
Metadata
Metadata
Assignees
Labels
No labels
Activity
meagon commentedon Oct 18, 2016
i use version 1.1.54023, the master version fixed this issue!
DOCSUP-1380 Document the max_server_memory_usage_to_ram_ratio setting (…