Files
documentdb/internal
Ayush Saluja d853734052 Merged PR 1460382: empty collection name check
### Does this PR have any customer impact?

### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc)

### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes)

### Are you introducing any new config? If yes, do you have tests with and without them being set?

### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md))

### Description

empty collection name check

----
#### AI description  (iteration 1)
#### PR Classification
Bug fix to handle empty collection names.

#### PR Summary
This pull request adds checks to ensure that collection names are not empty, preventing invalid namespace errors.
- `src/metadata/collection.c`: Added a check to report an error if the collection name is empty.
- `src/commands/find_and_modify.c`: Added a check to report an error if the collection name is empty.

Related work items: #3463176
2024-10-03 10:48:48 +03:00
..