Commit Graph

27 Commits

Author SHA1 Message Date
贺广南 93bac2da93 Merge 'fky@cnch-dev@chore@update-libcxx' into 'cnch-dev'
feat(clickhousech@m-5359000853): update libc++ to support more of C++23

See merge request: !25498
2024-12-04 17:28:49 +08:00
alesapin 2dd3bb644f Add smoke test for local address 2021-05-18 11:35:51 +03:00
Alexey Milovidov 720a2f6162 Fix a bunch of warnings from PVS-Studio 2021-05-08 19:13:10 +03:00
Alexey Milovidov 78d9e4ec23 More fixes for PVS-Studio 2021-05-08 19:12:49 +03:00
Yatsishin Ilya 7b69ef92be gcc old cast check failed 2021-03-10 18:04:34 +03:00
Yatsishin Ilya 71d745b4ec implicit const conversion 2021-03-09 17:31:54 +03:00
Artem Zuikov 51ba12c2c3
Try speedup build (#14809) 2020-09-15 12:55:57 +03:00
alesapin 10c7a6c45e
Add ability to specify Default codec for columns (#14049)
* Add ability to specify DefaultCompression codec which correspond to settings specified in config.xml

* Fix style

* Rename DefaultCompression to simple Default

* Fix compression codec

* Better codec description representation

* Less strange code and one method

* Fix delta
2020-08-28 20:40:45 +03:00
Artem Zuikov becc186c91
Add support for extended precision integers and decimals (#13097) 2020-08-19 14:52:17 +03:00
Alexey Milovidov edd89a8610 Fix half of typos 2020-08-08 03:47:03 +03:00
Nikita Mikhaylov 1d6c2ba689 rewrite other test + remove useless includes 2020-07-29 20:37:57 +03:00
Alexey Milovidov fcdcb3cb1e Remove useless code 2020-07-10 04:58:27 +03:00
Alexey Milovidov c82711b013 Fix build 2020-07-09 07:56:38 +03:00
Azat Khuzhin f3ab0aa081 gtest_compressionCodec: suppress non instantiated gtest warning
gtest reports:

    [ RUN      ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<CodecTestPerformance>
    ../src/Compression/tests/gtest_compressionCodec.cpp:590: Failure
    Parameterized test suite CodecTestPerformance is defined via TEST_P, but never instantiated. None of the test cases will run. Either no INSTANTIATE_TEST_SUITE_P is provided or the only ones provided expand to nothing.

    Ideally, TEST_P definitions should only ever be included as part of binaries that intend to use them. (As opposed to, for example, being placed in a library that may be linked in to get other utilities.)

    To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:

    GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(CodecTestPerformance);
    [  FAILED  ] GoogleTestVerification.UninstantiatedParameterizedTestSuite<CodecTestPerformance> (0 ms)
2020-07-07 02:00:08 +03:00
Azat Khuzhin 0a24d9eabf gtest_compressionCodec: fix lack of operator<< for char8_t 2020-07-06 23:34:40 +03:00
Azat Khuzhin dab5b5ad7b gtest_compressionCodec: use fmt over boost::format
boost::format is not compiled under gcc10:

                     from ../src/Compression/tests/gtest_compressionCodec.cpp:14:
    /usr/include/boost/format/alt_sstream_impl.hpp: In instantiation of ‘boost::io::basic_altstringbuf<Ch, Tr, Alloc>::int_type boost::io::basic_altstringbuf<Ch, Tr, Alloc>::overflow(boost::io::basic_altstringbuf<Ch, Tr, Alloc>::int_type) [with Ch = char; Tr = std::char_traits<char>; Alloc = std::allocator<char>; boost::io::basic_altstringbuf<Ch, Tr, Alloc>::int_type = int]’:
    /usr/include/boost/format/alt_sstream_impl.hpp:227:9:   required from here
    /usr/include/boost/format/alt_sstream_impl.hpp:261:45: error: no matching function for call to ‘std::allocator<char>::allocate(std::size_t&, char*)’
      261 |                     newptr = alloc_.allocate(new_size, is_allocated_? oldptr : 0);

(although this is system-wide boost, it is pretty recent - 1.72)
2020-07-06 23:34:40 +03:00
Azat Khuzhin a276d0da4f gtest_compressionCodec: is_trivial+is_standard_layout over deprecated is_pod 2020-07-06 23:34:40 +03:00
Alexey Milovidov 1462a66d1e Fix typos 2020-06-27 22:05:00 +03:00
Vasily Nemkov 8996f47124 Revived Alexey Milovidov's fixes 2020-06-06 12:52:56 +03:00
Vasily Nemkov 05ae8c405b Fixed using nullptr source and dest buffers in codecs, fixed test 2020-06-05 22:08:52 +03:00
Alexey Milovidov f7398a9c09 Fix clang-tidy 2020-06-04 23:39:26 +03:00
Alexey Milovidov 18999e4e7c Temporarily disable gtest_compressionCodec 2020-06-04 20:56:15 +03:00
Alexey Milovidov f1ee4b85f0 Fix unit test with UBSan 2020-06-02 02:54:17 +03:00
Alexey Milovidov eacff92d0e Progress on task 2020-05-23 22:35:08 +03:00
Alexey Milovidov 99c18c5a09 Check for suspicious codecs #4966 2020-05-04 03:11:49 +03:00
Alexey Milovidov cdeda4ab91 Fix usage of max_parser_depth setting; remove harmful default function arguments 2020-04-16 04:06:10 +03:00
Ivan Lezhankin 06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00