mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
Merged patch set from Piotr Sarna: This series addresses issue #6700 again (it was reopened), by forbidding all non-local schema changes to be performed from within the database via CQL interface. These changes are dangerous since they are not directly propagated to other nodes. Tests: unit(dev) Fixes #6700 Piotr Sarna (4): test: make schema changes in query_processor_test global cql3: refuse to change schema internally for distributed tables test: expand testing internal schema changes cql3: add explanatory comments to execute_internal cql3/query_processor.hh | 13 ++++++++++++- cql3/statements/alter_table_statement.cc | 6 ------ cql3/statements/schema_altering_statement.cc | 15 +++++++++++++++ test/boost/cql_query_test.cc | 8 ++++++-- test/boost/query_processor_test.cc | 16 ++++++++-------- 5 files changed, 41 insertions(+), 17 deletions(-)