Commit Graph

27 Commits

Author SHA1 Message Date
Pavel Kruglov
70b51133c1 Try to simplify code 2021-08-09 18:01:08 +03:00
Pavel Kruglov
0662df8b76 Fix performance with JIT, add arguments to function isSuitableForShortCircuitArgumentsExecution 2021-08-09 17:54:14 +03:00
Pavel Kruglov
e792fa588f Mark all Functions as sutable or not for executing as short circuit arguments 2021-08-09 17:50:09 +03:00
Nikolai Kochetov
dbaa6ffc62 Rename ContextConstPtr to ContextPtr. 2021-06-01 15:20:52 +03:00
tavplubix
e9ff0b6d70
Merge pull request #23657 from kssenii/poco-file-to-std-fs
Poco::File to std::filesystem
2021-05-31 23:17:02 +03:00
Alexander Kuzmenkov
3f57fc085b remove mutable context references from functions interface
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00
kssenii
984d82c3f2 Update DiskLocal 2021-04-29 02:00:04 +03:00
kssenii
3386dc32d3 Change in Functions/* 2021-04-29 00:38:58 +03:00
Ivan
495c6e03aa
Replace all Context references with std::weak_ptr (#22297)
* Replace all Context references with std::weak_ptr

* Fix shared context captured by value

* Fix build

* Fix Context with named sessions

* Fix copy context

* Fix gcc build

* Merge with master and fix build

* Fix gcc-9 build
2021-04-11 02:33:54 +03:00
Nikita Mikhailov
7c5d845866 refactor function 2021-02-16 15:37:49 +03:00
keenwolf
c56750c9ce Remove ErrorCodes unused 2021-01-23 21:43:27 +08:00
keenwolf
1543829259 Clean some comments 2021-01-23 16:53:43 +08:00
keenwolf
8461e89645 Remove getArgumentsThatAreAlwaysConstant, also add 2 testcases 2021-01-22 11:43:31 +08:00
keenwolf
47fb320651 Do little fix for Style check 2021-01-19 14:04:25 +08:00
keenwolf
8463835c41 Remove extra semicolon 2021-01-19 11:47:40 +08:00
keenwolf
2379902e2a Return data type revise 2021-01-17 14:27:18 +08:00
keenwolf
fe78b31ed4 Move register to the Misc group 2021-01-16 20:35:41 +08:00
keenwolf
77e74b397c Add file access check, also give another read method in comments for reference 2021-01-16 18:43:56 +08:00
keenwolf
29aa0da28c Make filepath check done but with infile func, need to modify the ld path 2021-01-16 14:55:59 +08:00
keenwolf
2d22772455 Handle with context pass 2021-01-16 11:27:31 +08:00
keenwolf
d98cac0dd3 Add another method for reading file at once to avoid frequently realloc and mem move 2021-01-15 14:27:38 +08:00
keenwolf
4b6cc4ea4b Add Function to read file as a String, Using ReadBuffer. 2021-01-14 23:48:38 +08:00
keenwolf
53e483d36c Small fix 2021-01-14 20:09:13 +08:00
keenwolf
791a4cfb52 Small fix 2021-01-14 19:46:19 +08:00
keenwolf
e95b8089cd Make code clean including properly exception handle 2021-01-14 18:44:16 +08:00
root
701b61dced Function arguments declaration Upgrade with super class 2021-01-14 13:36:22 +08:00
root
66e1072c2c Add the function to read file as a String. 2021-01-14 00:46:55 +08:00