Skip to content

Commit b19a9f4

Browse files
akoclaude
andcommitted
fix: re-set constant before second DROP syntax demo
The integration test fails because the second DROP CONSTANT example tries to drop an already-removed override. Re-set the value first. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e267598 commit b19a9f4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mdl-examples/doctype-tests/14-project-settings-examples.mdl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ ALTER SETTINGS DROP CONSTANT 'MyModule.ServerUrl' IN CONFIGURATION 'Default';
8484

8585
/**
8686
* Example 3.3: Alternative syntax for removing a constant override
87+
* (Re-set the value first so there is something to drop)
8788
*/
89+
ALTER SETTINGS CONSTANT 'MyModule.ServerUrl' VALUE 'kafka:9092'
90+
IN CONFIGURATION 'Default';
8891
ALTER SETTINGS CONSTANT 'MyModule.ServerUrl' DROP IN CONFIGURATION 'Default';
8992

9093
-- MARK: Create / Drop Configuration

0 commit comments

Comments
 (0)