ClickHouse/dbms/src/DataStreams
proller 4ffbca2d8c Fix warnings (#1406)
* Log query id in executeQuery; Better type mismatch error; change format in report tool

* Better log query_id

* fix message

* Use c++11 thread_local instaed of gcc's __thread

* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]

* Cmake: fix build without downloaded submodules (#1379)

* fix

* ZooKeeper: fixed stack smashing with tryGet()

The tryGet() operation creates a 1MB buffer on stack. This may or
may not work depending on the default stack size for threads,
whether the stack protector is enabled or not, recursion depth,
and the actual value size.

This is probably going to slow down some ZK operations, but I don't
see how else this could work reliably with the existing API.

* increased timeout for test_insertion_sync_fails_with_timeout

* Update CHANGELOG_RU.md

* Update ZooKeeper.cpp

* Fix warnings

* Fixes

* Dont strip debug info from  asan, tsan and other builds except releases

* Fix asan error causd by test 00144

* Fix empty log message (#CLICKHOUSE-3378)
2017-10-25 21:39:10 +03:00
..
tests Fix warnings (#1406) 2017-10-25 21:39:10 +03:00
AddingConstColumnBlockInputStream.h ColumnConst unification (#1011) 2017-07-21 09:35:58 +03:00
AddingDefaultBlockOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
AddingDefaultBlockOutputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
AggregatingBlockInputStream.cpp fix handling of overflow data during external aggregation [#CLICKHOUSE-3133] 2017-07-25 19:56:48 +03:00
AggregatingBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
AggregatingSortedBlockInputStream.cpp Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
AggregatingSortedBlockInputStream.h Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
AsynchronousBlockInputStream.h Revert "Simplification [#CLICKHOUSE-2]." 2017-09-14 23:16:31 +03:00
BinaryRowInputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
BinaryRowInputStream.h translate comments 2017-05-14 19:03:55 +04:00
BinaryRowOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
BinaryRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
BlockExtraInfoInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
BlockInputStreamFromRowInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
BlockInputStreamFromRowInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
BlockIO.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
BlockIO.h Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5] 2017-06-01 13:49:20 +03:00
BlockOutputStreamFromRowOutputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
BlockOutputStreamFromRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
BlocksListBlockInputStream.h translate comments 2017-05-14 19:03:55 +04:00
BlockStreamProfileInfo.cpp fix race condition while initializing BlockStreamProfileInfo [#CLICKHOUSE-3099] 2017-06-26 15:30:35 +03:00
BlockStreamProfileInfo.h fix race condition while initializing BlockStreamProfileInfo [#CLICKHOUSE-3099] 2017-06-26 15:30:35 +03:00
CastTypeBlockInputStream.cpp ColumnConst unification (#1011) 2017-07-21 09:35:58 +03:00
CastTypeBlockInputStream.h Add more clear comments, refined code. [#CLICKHOUSE-2957] 2017-05-22 15:16:21 +04:00
CMakeLists.txt Debian: simpler package (#662) 2017-04-10 20:43:30 +03:00
CollapsingFinalBlockInputStream.cpp removed typeid_cast from IColumn.h 2017-07-13 23:58:19 +03:00
CollapsingFinalBlockInputStream.h Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301]. 2017-09-08 07:10:43 +03:00
CollapsingSortedBlockInputStream.cpp Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
CollapsingSortedBlockInputStream.h Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
ColumnGathererStream.cpp Fixes (#1286) 2017-09-26 23:29:34 +03:00
ColumnGathererStream.h Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
ConcatBlockInputStream.h translate comments 2017-05-14 19:03:55 +04:00
copyData.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
copyData.h translate comments 2017-05-14 19:03:55 +04:00
CountingBlockOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
CountingBlockOutputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
CreatingSetsBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
CreatingSetsBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
CSVRowInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
CSVRowInputStream.h translate comments 2017-05-14 19:03:55 +04:00
CSVRowOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
CSVRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
DistinctBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
DistinctBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
DistinctSortedBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301]. 2017-09-08 07:10:43 +03:00
DistinctSortedBlockInputStream.h Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301]. 2017-09-08 07:10:43 +03:00
EmptyBlockOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
ExpressionBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
ExpressionBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
FilterBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
FilterBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
FilterColumnsBlockInputStream.cpp added throw_if_column_not_found to FilterColumnsBlockInputStream [#CLICKHOUSE-3111] 2017-07-11 20:58:49 +03:00
FilterColumnsBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
ForkBlockInputStreams.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
FormatFactory.cpp Removing dependency on functions from client: bug fixes [#CLICKHOUSE-2]. 2017-07-12 03:42:50 +03:00
FormatFactory.h translate comments 2017-05-14 19:03:55 +04:00
glueBlockInputStreams.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
glueBlockInputStreams.h translate comments 2017-05-14 19:03:55 +04:00
GraphiteRollupSortedBlockInputStream.cpp Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
GraphiteRollupSortedBlockInputStream.h Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
IBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
IBlockInputStream.h use enum class 2017-10-03 22:12:44 +03:00
IBlockOutputStream.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
InputStreamFromASTInsertQuery.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
InputStreamFromASTInsertQuery.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
IProfilingBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301]. 2017-09-08 07:10:43 +03:00
IProfilingBlockInputStream.h Clarifications [#CLICKHOUSE-2]. 2017-09-10 04:39:40 +03:00
IRowInputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
IRowInputStream.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
IRowOutputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
IRowOutputStream.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
isConvertableTypes.cpp removed typeid_cast from IColumn.h 2017-07-13 23:58:19 +03:00
isConvertableTypes.h #215 add tests 2017-04-25 07:57:49 +03:00
JSONCompactRowOutputStream.cpp updated FormatSettingsJSON 2017-07-09 20:16:26 +03:00
JSONCompactRowOutputStream.h Fixed build after merge [#CLICKHOUSE-3]. 2017-07-10 07:10:25 +03:00
JSONEachRowRowInputStream.cpp Update JSONEachRowRowInputStream.cpp 2017-10-23 20:47:33 +03:00
JSONEachRowRowInputStream.h updated FormatSettingsJSON 2017-07-09 20:16:26 +03:00
JSONEachRowRowOutputStream.cpp updated FormatSettingsJSON 2017-07-09 20:16:26 +03:00
JSONEachRowRowOutputStream.h Fixed build after merge [#CLICKHOUSE-3]. 2017-07-10 07:10:39 +03:00
JSONRowOutputStream.cpp Fixed error [#CLICKHOUSE-3191]. 2017-08-01 00:39:24 +03:00
JSONRowOutputStream.h updated FormatSettingsJSON 2017-07-09 20:16:26 +03:00
LazyBlockInputStream.h Added description of possible race condition [#CLICKHOUSE-2]. 2017-09-10 06:17:05 +03:00
LimitBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
LimitBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
LimitByBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
LimitByBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
MarkInCompressedFile.h translate comments 2017-05-14 19:03:55 +04:00
MaterializingBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
MaterializingBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
MaterializingBlockOutputStream.cpp Miscellaneous [#CLICKHOUSE-2]. 2017-07-17 01:41:15 +03:00
MaterializingBlockOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
MergeSortingBlockInputStream.cpp fix sorting when all columns are const [#CLICKHOUSE-3062] 2017-06-09 09:13:20 +03:00
MergeSortingBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
MergingAggregatedBlockInputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
MergingAggregatedBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
MergingAggregatedMemoryEfficientBlockInputStream.cpp Moved code to cpp [#CLICKHOUSE-2]. 2017-04-08 04:32:05 +03:00
MergingAggregatedMemoryEfficientBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
MergingSortedBlockInputStream.cpp Fixed build in clang with raised up inline-depth [#CLICKHOUSE-2]. 2017-09-15 15:17:01 +03:00
MergingSortedBlockInputStream.h Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
narrowBlockInputStreams.cpp Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2]. 2017-09-10 02:17:38 +03:00
narrowBlockInputStreams.h translate comments 2017-05-14 19:03:55 +04:00
NativeBlockInputStream.cpp Removed very old protocol compatibility features [#CLICKHOUSE-2]. 2017-08-16 23:27:35 +03:00
NativeBlockInputStream.h Removed very old protocol compatibility features [#CLICKHOUSE-2]. 2017-08-16 23:27:35 +03:00
NativeBlockOutputStream.cpp Removed very old protocol compatibility features [#CLICKHOUSE-2]. 2017-08-16 23:27:35 +03:00
NativeBlockOutputStream.h Removed very old protocol compatibility features [#CLICKHOUSE-2]. 2017-08-16 23:27:35 +03:00
NullableAdapterBlockInputStream.cpp dbms: fix build with OS X built-in clang 2017-10-13 18:12:29 -07:00
NullableAdapterBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
NullAndDoCopyBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
NullBlockInputStream.h LibDictionarySource : First lib dictionary version with only uint64 type support (#1150) 2017-09-05 04:08:26 +03:00
NullBlockOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
ODBCDriverBlockOutputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
ODBCDriverBlockOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
OneBlockInputStream.h LibDictionarySource : First lib dictionary version with only uint64 type support (#1150) 2017-09-05 04:08:26 +03:00
OwningBlockInputStream.h Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171) 2017-10-12 22:36:27 +03:00
ParallelAggregatingBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
ParallelAggregatingBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
ParallelInputsProcessor.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
PartialSortingBlockInputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
PartialSortingBlockInputStream.h Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301]. 2017-09-08 05:29:47 +03:00
PrettyBlockOutputStream.cpp Fixed error [#CLICKHOUSE-3191]. 2017-08-01 00:39:24 +03:00
PrettyBlockOutputStream.h Removing dependency on functions from client: bug fixes [#CLICKHOUSE-2]. 2017-07-12 03:42:50 +03:00
PrettyCompactBlockOutputStream.cpp Removing dependency on functions from client: preparation [#CLICKHOUSE-2]. 2017-07-12 03:42:50 +03:00
PrettyCompactBlockOutputStream.h Removing dependency on functions from client: preparation [#CLICKHOUSE-2]. 2017-07-12 03:42:50 +03:00
PrettySpaceBlockOutputStream.cpp Allow compile on 32bit systems (#1175) 2017-09-01 20:21:03 +03:00
PrettySpaceBlockOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
ProhibitColumnsBlockOutputStream.cpp Miscellaneous [#CLICKHOUSE-2]. 2017-07-11 04:20:40 +03:00
ProhibitColumnsBlockOutputStream.h Miscellaneous [#CLICKHOUSE-2]. 2017-07-11 04:20:40 +03:00
PushingToViewsBlockOutputStream.h IStorage: allow notification on dependency change 2017-10-10 08:33:00 -07:00
QueueBlockIOStream.h translate comments 2017-05-14 19:03:55 +04:00
RemoteBlockInputStream.cpp dbms: fix build with OS X built-in clang 2017-10-13 18:12:29 -07:00
RemoteBlockInputStream.h Fixed bad translation [#CLICKHOUSE-2]. 2017-08-18 22:30:39 +03:00
RemoteBlockOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
RemoteBlockOutputStream.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
RemoveColumnsBlockInputStream.h Miscellaneous [#CLICKHOUSE-2]. 2017-07-17 01:41:15 +03:00
ReplacingSortedBlockInputStream.cpp Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
ReplacingSortedBlockInputStream.h Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
SquashingBlockInputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
SquashingBlockInputStream.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
SquashingBlockOutputStream.cpp Removing dependency on functions from client: bug fixes [#CLICKHOUSE-2]. 2017-07-12 03:42:50 +03:00
SquashingBlockOutputStream.h Removing dependency on functions from client: bug fixes [#CLICKHOUSE-2]. 2017-07-12 03:42:50 +03:00
SquashingTransform.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
SquashingTransform.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
SummingSortedBlockInputStream.cpp SummingSortedBlockInputStream: use a separate structure for MapDescription 2017-10-13 21:51:03 +03:00
SummingSortedBlockInputStream.h SummingSortedBlockInputStream: use a separate structure for MapDescription 2017-10-13 21:51:03 +03:00
TabSeparatedBlockOutputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
TabSeparatedBlockOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
TabSeparatedRawRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
TabSeparatedRowInputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
TabSeparatedRowInputStream.h translate comments 2017-05-14 19:03:55 +04:00
TabSeparatedRowOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
TabSeparatedRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
TotalsHavingBlockInputStream.cpp Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
TotalsHavingBlockInputStream.h Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301]. 2017-09-08 06:47:27 +03:00
TSKVRowInputStream.cpp Fixed inserting wrong default value for Enums [#CLICKHOUSE-3270]. 2017-09-02 00:37:57 +03:00
TSKVRowInputStream.h translate comments 2017-05-14 19:03:55 +04:00
TSKVRowOutputStream.cpp Fixed error [#CLICKHOUSE-3191]. 2017-08-01 00:39:24 +03:00
TSKVRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
UnionBlockInputStream.h Unification [#CLICKHOUSE-2]. 2017-09-15 15:16:12 +03:00
ValuesRowInputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
ValuesRowInputStream.h Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
ValuesRowOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
ValuesRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00
verbosePrintString.cpp Attempt to improve performance [#CLICKHOUSE-3]. 2017-07-23 09:53:28 +03:00
verbosePrintString.h Small refinements [#CLICKHOUSE-2]. 2017-06-01 16:41:58 +03:00
VerticalRowOutputStream.cpp Removed obsolete code [#CLICKHOUSE-3270]. 2017-09-01 21:21:01 +03:00
VerticalRowOutputStream.h Format Vertical: added support for totals, extremes and output_format_pretty_max_rows [#CLICKHOUSE-3014]. 2017-05-22 22:00:45 +03:00
XMLRowOutputStream.cpp Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
XMLRowOutputStream.h translate comments 2017-05-14 19:03:55 +04:00