Commit Graph

132 Commits

Author SHA1 Message Date
Alexander Tokmakov
d0b37a5a70 fix 2020-03-24 22:03:37 +03:00
Alexander Tokmakov
01d283c24f Merge branch 'master' into database_atomic 2020-03-24 17:23:18 +03:00
Amos Bird
0744606fc3
DROP VIEW support. (#9831) 2020-03-24 01:28:30 +03:00
Alexander Tokmakov
221bb89343 use renameat2 for metadata 2020-03-23 03:12:13 +03:00
Alexander Tokmakov
615aec8f4d Merge branch 'master' into database_atomic 2020-03-20 03:19:52 +03:00
Alexander Tokmakov
9061b169f7 no delay drop option 2020-03-20 03:07:52 +03:00
Alexey Milovidov
1bd7e594b0 clang-tidy, part 2 2020-03-18 03:57:00 +03:00
Alexander Tokmakov
960ba63104 Merge branch 'master' into database_atomic 2020-03-16 14:38:50 +03:00
Alexander Tokmakov
00b7190003 minor improvements 2020-03-13 18:41:36 +03:00
Alexander Tokmakov
e98d4f4e5e remove isExternalTableExist 2020-03-12 15:36:31 +03:00
Alexander Tokmakov
4972daeaed fixes 2020-03-11 22:10:55 +03:00
Alexander Tokmakov
a4d12b31a1 Merge branch 'master' into split_databases_from_context 2020-03-02 17:57:54 +03:00
Alexey Milovidov
3602126a1e Remove unused ErrorCodes 2020-02-25 17:35:37 +03:00
Alexander Tokmakov
8548089e00 Merge branch 'master' into split_databases_from_context 2020-02-25 15:47:19 +03:00
Vitaly Baranov
543587fc46 Remove ATTACH and DETACH access types, check CREATE and DROP access types instead of them. 2020-02-21 03:27:29 +03:00
Alexander Tokmakov
d710bd1812 better get... methods 2020-02-17 16:52:59 +03:00
Alexander Tokmakov
c479bbe9f9 make Context::getLock() private 2020-02-14 00:00:03 +03:00
Alexander Tokmakov
b6039f8c50 remove tryGetExternalTable 2020-02-12 21:14:12 +03:00
Alexander Tokmakov
18dd0c8f8c move DDLGuard to DatabaseCatalog 2020-02-10 21:31:52 +03:00
Alexander Tokmakov
45338ad9ca fixes 2020-02-10 21:19:35 +03:00
Alexander Tokmakov
869e20d207 move databases from Context to DatabaseCatalog 2020-02-10 17:49:44 +03:00
Alexander Tokmakov
a508c25d05 store temporary tables in DatabaseMemory 2020-02-10 16:36:51 +03:00
Vitaly Baranov
10c912dab2 Rewrite the User class to be controlled by AccessControlManager. 2020-01-31 20:27:32 +03:00
Vitaly Baranov
2aa58193c8 Check access rights via new interface. 2020-01-31 20:27:28 +03:00
Alexander Tokmakov
68f63c4b20 store temporary tables in DatabaseMemory 2020-01-30 22:00:51 +03:00
Vitaly Baranov
e37eda3bdf DROP TEMPORARY TABLE now drops only a temporary table. 2020-01-30 02:41:22 +03:00
Alexander Tokmakov
b82693cb07 fix some tests 2020-01-28 22:39:52 +03:00
Alexander Tokmakov
9d0ac7aae1 better DatabaseAtomic::drop() 2020-01-27 23:31:39 +03:00
Alexander Tokmakov
34e733f06d basic async DROP 2020-01-23 18:15:17 +03:00
Alexander Tokmakov
42296cc80a remove separate getTableName() and getDatabaseName() 2019-12-26 21:11:49 +03:00
Alexander Tokmakov
50200e245b Merge branch 'master' into refactor_databases 2019-12-26 15:00:07 +03:00
Alexander Tokmakov
bab12f4c9c Merge branch 'refactor_databases' into database_atomic_merge_tmp 2019-12-26 00:17:49 +03:00
tavplubix
982da98e60
Update InterpreterDropQuery.cpp 2019-12-25 20:36:13 +03:00
Alexander Tokmakov
01de226df0 abstract path to table data 2019-12-25 19:18:08 +03:00
Alexander Tokmakov
4f58d662f7 make data path relative 2019-12-23 18:20:08 +03:00
Vitaly Baranov
f81d9b4e73 Fix DROP DICTIONARY IF EXISTS db.dict - now it doesn't throw exceptions
even if db doesn't exist.
2019-12-12 21:37:44 +03:00
Alexander Tokmakov
3a4ee4a07c remove separate getTableName() and getDatabaseName() 2019-12-10 23:47:05 +03:00
Alexander Tokmakov
ab4d452145 use UUIDs 2019-11-11 14:59:44 +03:00
Alexander Tokmakov
5059c78e81 Merge branch 'master' into database_atomic 2019-10-29 17:11:08 +03:00
Alexander Tokmakov
80c9b2ec1c make data path relative 2019-10-28 17:16:59 +03:00
alesapin
01e23f0a22 Better load of dictionaries 2019-10-16 20:06:52 +03:00
alesapin
e690a3ca32 Half working code 2019-10-15 21:04:17 +03:00
alesapin
ecde224692 More tests 2019-10-14 12:52:43 +03:00
alesapin
155731a676 Merge branch 'master' into dictionaries_ddl_interpreter 2019-10-14 11:49:18 +03:00
alesapin
967fe64793 Add simpliest tests 2019-10-11 18:22:30 +03:00
alesapin
ae42dc0d4c Attach detach and introspection queries for dictionaries 2019-10-11 16:21:52 +03:00
Vitaly Baranov
18ccb4d64d Move backQuote() and quoteString() to a separate file, use StringRefs. 2019-10-11 00:18:52 +03:00
alesapin
67fc3347c2 Preparing databases for dictionaries 2019-10-10 20:33:01 +03:00
Vasilyev Nikita
5793a02ef9 impr Lazy database 2019-10-01 15:44:17 +03:00
Alexey Milovidov
48dce81e61 Minor modifications after #6413 2019-08-28 21:54:30 +03:00