[SERVER-4394] Constraints for collection names Created: 30/Nov/11 Updated: 10/Dec/14 Resolved: 13/Mar/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 2.0.1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Uladzimir Mihura | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
ALL |
||
| Participants: |
| Description |
|
In the http://www.mongodb.org/display/DOCS/Collections
Use $ in name:
Use UTF-8 characters when creating collection:
Use UTF-8 characters when renaming collection:
Inserting into collection with name in UTF-8:
Dropping collection with name in UTF-8:
In Java, Python and PHP it is impossible to create collection with name in UTF-8, but it's possible to use such characters in rename and drop. |
| Comments |
| Comment by Uladzimir Mihura [ 13/Mar/13 ] | |||||||||||||||||||||||||||||||
|
Tried with master brach too:
No issues. Ticket can be closed. Thank you Tad! -vova | |||||||||||||||||||||||||||||||
| Comment by Tad Marshall [ 11/Mar/13 ] | |||||||||||||||||||||||||||||||
|
Testing these cases in Windows in today's master branch, I can't duplicate any of the bugs. There seems to be some confusion between capital and small Cyrillic collection names in the last case; he tries to drop a "capital" name, gets "false" (not dropped) and sees that a "small" one still exists. Comments are from Unicode document ISO10646-01-0000-33FF.pdf:
We don't do case folding on collection names.
I agree, this seems closable. |