Commit Graph

32 Commits

Author SHA1 Message Date
Alexey Milovidov
0b90076a36
Revert "Revert "Check stack size in Parser"" 2024-02-27 01:34:50 +03:00
Antonio Andelic
fee1565780
Revert "Check stack size in Parser" 2024-02-21 11:33:08 +01:00
Alexey Milovidov
e2de74cf66 Fix debug 2024-02-19 05:34:40 +01:00
Alexey Milovidov
aa004cabff Fix tests 2024-02-09 02:00:05 +01:00
Alexey Milovidov
7016e1d397 Maybe better 2024-02-07 15:43:58 +01:00
Alexey Milovidov
5b791ddec8 Check stack size in Parser 2024-02-07 04:23:43 +01:00
Alexey Milovidov
88b6b38a74 Check stack size in Parser 2024-02-07 04:21:57 +01:00
Dmitrii Kovalkov
71a6a02e88 fix stdlib compatibility issues 2023-03-29 12:20:27 +03:00
Alexey Milovidov
d8cda3dbb8 Remove PVS-Studio 2023-02-19 23:30:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
Raúl Marín
2fa3c54caa ValuesBlockInputFormat: Adapt to the full tokenizer 2022-10-25 15:22:22 +02:00
Raúl Marín
96a1cb4a79 Fix changes with master 2022-10-14 15:43:06 +02:00
Raúl Marín
801a894385 Final tweaks to reduce the set of changes 2022-10-14 14:07:17 +02:00
Raúl Marín
74c61671e6 Fix bug 2022-10-13 22:19:25 +02:00
Raúl Marín
19310a5877 Replace std::vector with absl inlined_vector 2022-10-13 21:50:11 +02:00
Alexey Milovidov
6df2afb5dd One step backwards 2022-01-09 10:42:06 +03:00
Alexey Milovidov
5e0edd01f1 Prevent excessive backtracking 2022-01-09 07:42:55 +03:00
Alexey Milovidov
da967a555a Trying 2022-01-09 07:42:53 +03:00
Alexey Milovidov
5dc794c939 Another attempt for #20158 2022-01-09 05:45:54 +03:00
Alexey Milovidov
5ba42d690c Avoid exponential backtracking in parser, part 2 2022-01-09 04:28:24 +03:00
Raúl Marín
fc48172980 Expected: Drop duplicates 2021-11-29 19:46:51 +01:00
Raúl Marín
6218fc4ad5 Inline IParser depth 2021-11-29 13:09:53 +01:00
Raúl Marín
740451c723 Inline Expected add 2021-11-29 13:09:53 +01:00
Raúl Marín
e9ae49c68b IParser: Set to vector 2021-11-29 13:09:53 +01:00
Raúl Marín
ac6ccf7d9a Reduce IParser.h dependencies and dependents
533 -> 500 objects on change
Less direct dependencies
2021-11-26 17:19:47 +01:00
Alexey Milovidov
fe6b7c77c7 Rename "common" to "base" 2021-10-02 10:13:14 +03:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 (#25560)
* Add support for darwin-aarch64

* Fix PVS warnings

* Add build configuration

* Fix packager args
2021-06-25 18:21:56 +03:00
Azat Khuzhin
5b3ab48861 More forward declaration for generic headers
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)

And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)

Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).

Approx results (How much units will be recompiled after changing file X?):

- ConnectionTimeouts.h
  - mainline: 100

- Context.h:
  - mainline: ~800
  - patched:  415

- Settings.h:
  - mainline: 900-1K
  - patched:  440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
Artem Zuikov
51ba12c2c3
Try speedup build (#14809) 2020-09-15 12:55:57 +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
Vitaly Baranov
36a5b57ac4 Use "CREATE SETTINGS PROFILE name SETTINGS INHERIT parent" instead of "CREATE SETTINGS PROFILE name SETTINGS PROFILE parent". 2020-04-09 10:22:51 +03:00
Ivan Lezhankin
06446b4f08 dbms/ → src/ 2020-04-03 18:14:31 +03:00