ClickHouse/dbms
Azat Khuzhin 842f4e2ca0 Check column for __getScalar() (avoids assertion)
Can be triggered using the following query:
  CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null();

Trace:
    3. 0x00007ffff6d5d526 __assert_fail (libc.so.6)
    4. 0x00007ffff41fd931 boost::intrusive_ptr<DB::IColumn const>::operator*() const (libclickhouse_functionsd.so)
    5. 0x00007ffff41fcd64 COW<DB::IColumn>::IntrusivePtr<DB::IColumn const>::operator*() const & (libclickhouse_functionsd.so)
    6. 0x00007ffff4dc5944 DB::FunctionGetScalar::getReturnTypeImpl() const (libclickhouse_functionsd.so)

(Even though it is internal I guess it is better to fix it)

Refs: #7392
Cc: @amosbird
2019-11-03 21:44:56 +03:00
..
benchmark
cmake Auto version update to [19.17.1.1] [54428] 2019-10-21 15:48:00 +03:00
programs Enable bracketed paste if possible 2019-10-31 02:33:45 +08:00
src Check column for __getScalar() (avoids assertion) 2019-11-03 21:44:56 +03:00
tests Merge pull request #7366 from achimbab/fixbug_inop 2019-10-31 00:26:22 +03:00
CMakeLists.txt Fix build without submodules (#7295) 2019-10-30 23:34:06 +03:00