Commit Graph

83 Commits

Author SHA1 Message Date
Alexey Milovidov
48dce81e61 Minor modifications after #6413 2019-08-28 21:54:30 +03:00
alexey-milovidov
33311a9bf1
Merge branch 'master' into atomic_zookeeper2 2019-08-28 21:34:42 +03:00
Alexey Milovidov
285d66cee1 Improve table locks (incomplete) 2019-08-27 23:43:08 +03:00
Nikita Mikhaylov
313f72e41a remove try catch + submodule update 2019-08-13 11:03:31 +03:00
Nikita Mikhaylov
8328a06eec update renaming metadata files 2019-08-12 19:20:31 +03:00
Nikita Mikhaylov
fafbd2b188 fix drop with memory engine 2019-08-12 15:56:10 +03:00
Nikita Mikhaylov
fd4638aa64 drop materialized view fixed 2019-08-12 13:13:03 +03:00
Nikita Mikhaylov
636793fd89 better 2019-08-09 15:56:19 +03:00
Nikita Mikhaylov
596a3fe1a8 better 2019-08-09 15:54:47 +03:00
Nikita Mikhaylov
4c85e9f481 atomic drop table 2019-08-09 14:17:33 +03:00
Ivan Lezhankin
4f6a494af8 Revert references where they were before refactoring. 2019-03-15 19:14:13 +03:00
Ivan Lezhankin
a6ca8bcb10 Merge remote-tracking branch 'upstream/master' into iast-as 2019-03-14 16:05:09 +03:00
bgranvea
2029f71869 support for CREATE OR REPLACE VIEW 2019-03-11 17:50:31 +01:00
Ivan Lezhankin
d1ead22073 Rename As<…> → as<…> 2019-03-11 16:22:51 +03:00
Ivan Lezhankin
1e9f7847dc Merge remote-tracking branch 'upstream/master' into iast-as 2019-03-11 16:11:22 +03:00
Ivan Lezhankin
a7e838e328 Replace all other casts to method IAST::As<Derived>
Also remove some redundant methods like IsIdentifier() et. al.
2019-03-11 15:49:39 +03:00
Alexey Zatelepin
3344955154 separate Read and Write lock holders, better method names 2019-03-07 21:10:21 +03:00
Alexey Zatelepin
ab025805a3 alter intention lock 2019-03-07 20:21:18 +03:00
Alexey Zatelepin
0d7ab9e3ea allow acquiring read lock to a table out of order if it was already locked by the same query [#CLICKHOUSE-3789]
this is important in preventing ALTER deadlocks
2019-02-27 21:34:38 +03:00
alesapin
8bc00f4632 CLICKHOUSE-4229: Fix user forwarding for replicated queries which actually send queries to master node 2018-12-28 19:21:32 +03:00
Ivan
448846fc0d
Merge branch 'master' into CLICKHOUSE-3936 2018-11-28 18:59:57 +03:00
Ivan Lezhankin
8b5a05947c Remove redundant information from RWLock.
And fix broken exception in some race conditions
2018-11-28 18:50:52 +03:00
Alexey Milovidov
cdb272848c Fixed typo in comment [#CLICKHOUSE-2] 2018-11-27 21:44:19 +03:00
Anton Popov
f550b21a8f
Merge branch 'master' into CLICKHOUSE-3527 2018-09-18 21:35:54 +03:00
CurtizJ
3177f3f6a9 update ddl guard 2018-09-18 21:33:15 +03:00
CurtizJ
c1ed0bb86a add setting allow_ddl 2018-09-11 21:37:19 +03:00
Alexey Milovidov
199d8734f9 Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939] 2018-09-07 04:39:48 +03:00
Alexey Milovidov
035c07d01e Fixed error with locking in InterpreterDropQuery [#CLICKHOUSE-3959] 2018-09-04 23:56:09 +03:00
VadimPE
1e208c7186 CLICKHOUSE-3714 fix comment and ';' 2018-08-03 12:54:46 +03:00
VadimPE
b97fa2eb4d CLICKHOUSE-3714 bool ckeck_CanBeDropped -> void ... 2018-08-03 12:39:01 +03:00
Amos Bird
f5764910c4 Fix TRUNCATE command for temporary tables. 2018-07-10 22:25:08 +08:00
Alexey Milovidov
f3d8b4e3cf Merging: Fixed most of problems #2260 2018-06-09 19:03:07 +03:00
Alexey Milovidov
d56c199f07 Merging: Fixed half of problems #2260 2018-06-09 18:48:22 +03:00
zhang2014
fa865636ce ISSUES-2259 add comment & move delete database metadata implementation 2018-05-21 11:38:46 +08:00
zhang2014
c8f655c1aa ISSUES-2259 fix the test after the merge master 2018-05-21 11:38:46 +08:00
zhang2014
6613e56784 ISSUES-2259 support truncate syntax 2018-05-21 11:38:46 +08:00
Vitaliy Lyudvichenko
400ad55754 Support allow_databases in distributed DDL. [#CLICKHOUSE-3]
Resolves #2189
2018-04-17 22:33:58 +03:00
Alexey Zatelepin
2a366afbf5 add shutdowns everywhere [#CLICKHOUSE-3664] 2018-03-24 12:08:32 +00:00
Alexey Milovidov
5ff433b670 Merged Limits to Settings [#CLICKHOUSE-2021] 2018-03-11 03:15:26 +03:00
Nikolai Kochetov
a75e095a80 added data_path and metadata_path to system.tables 2018-02-22 13:03:35 +03:00
alexey-milovidov
d3160393c5
Merge branch 'master' into CLICKHOUSE-3554 2018-02-08 23:07:50 +03:00
alexey-milovidov
a69dd93aab
Update InterpreterDropQuery.cpp 2018-02-08 22:14:22 +03:00
Vitaliy Lyudvichenko
c575a7fe8a Fix DROP of virtual databases. Add requested changes. [#CLICKHOUSE-3554] 2018-02-08 17:17:51 +03:00
zhang2014
982b2ee7ca ISSUES-117 resolve some opinions 2018-02-02 22:20:35 +08:00
zhang2014
4875a80825 Merge branch 'master' into fix/ISSUES-117 2018-02-02 20:21:40 +08:00
Vitaliy Lyudvichenko
a4248ad45c Resolves #1560. Fixed DROP DATABASE. [#CLICKHOUSE-3] 2018-01-30 13:51:19 +03:00
zhang2014
19e7c291db ISSUES-117 support drop temporary table 2018-01-28 00:19:00 +08:00
Alexey Milovidov
5e39b55f60 Added PR changes #1676 2017-12-22 22:20:18 +03:00
Kirill Shvakov
59aa1359c8 Access to TEMPORARY TABLES for read-only users 2017-12-20 09:52:06 +02:00
Vadim Skipin
e0a1e6982b Context parameter added to the IDatabase methods 2017-09-11 21:29:26 +03:00