()
| 62 | |
| 63 | #[test] |
| 64 | fn test_drop_schema_if_exists() { |
| 65 | let fixture = get_shared_fixture(); |
| 66 | |
| 67 | let test_schema = "if_exists_test_schema"; |
| 68 | |
| 69 | // Test DROP SCHEMA IF EXISTS on existing schema - should succeed |
| 70 | fixture.assert_query_succeeds(&format!("CREATE SCHEMA IF NOT EXISTS {}", test_schema)); |
| 71 | |
| 72 | fixture.assert_query_succeeds(&format!("DROP SCHEMA IF EXISTS {}", test_schema)); |
| 73 | |
| 74 | // Test DROP SCHEMA IF EXISTS on non-existent schema - should succeed |
| 75 | fixture.assert_query_succeeds("DROP SCHEMA IF EXISTS nonexistent_schema"); |
| 76 | } |
| 77 | |
| 78 | #[test] |
| 79 | fn test_ddl_error_cases() { |
nothing calls this directly
no test coverage detected