mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
The MongoDB Database
4d6ac4793f
The MSVC compiler has warnings which alert users that the behavior of the compiler has changed. In the case of C4383, the compiler used to have non-conforming behavior to C++98. At some point this behavior was fixed. MongoDB's code base should not have any code which would be adversely affected by this change, as the code is also compiled on platforms where the native compiler is conformant to the standard in this point. Therefore it should be safe to disable this warning. The specific warning cautions that a derived class's inline definition of a virtual function will now override a parent's implementation, where formerly it would not. This would happen when the derived class's implementation specified at least one of the parameters `const` (in such a way that the actual signature of the function isn't changed). MSVC incorrectly determines that if there are two functions that differ only in a non-observable `const` specifier, then they would have different signatures, in many circumstances. This would mean that the compiler resorts to treating such functions as overloads. The compiler now behaves correctly for the case of override in a derived class; however, it issues a warning. The warning is irrelevant to us. |
||
---|---|---|
buildscripts | ||
debian | ||
distsrc | ||
docs | ||
etc | ||
jstests | ||
rpm | ||
site_scons | ||
src | ||
.clang-format | ||
.eslintignore | ||
.eslintrc.yml | ||
.gdbinit | ||
.gitattributes | ||
.gitignore | ||
APACHE-2.0.txt | ||
CONTRIBUTING.rst | ||
GNU-AGPL-3.0.txt | ||
README | ||
SConstruct |
MongoDB README Welcome to MongoDB! COMPONENTS mongod - The database server. mongos - Sharding router. mongo - The database shell (uses interactive javascript). UTILITIES mongodump - Create a binary dump of the contents of a database. mongorestore - Restore data from the output created by mongodump. mongoexport - Export the contents of a collection to JSON or CSV. mongoimport - Import data from JSON, CSV or TSV. mongofiles - Put, get and delete files from GridFS. mongostat - Show the status of a running mongod/mongos. bsondump - Convert BSON files into human-readable formats. mongooplog - Poll the oplog and apply to a local server. mongoreplay - Traffic capture and replay tool. mongotop - Track time spent reading and writing data. BUILDING See docs/building.md. RUNNING For command line options invoke: $ ./mongod --help To run a single server database: $ sudo mkdir -p /data/db $ ./mongod $ $ # The mongo javascript shell connects to localhost and test database by default: $ ./mongo > help DRIVERS Client drivers for most programming languages are available at https://docs.mongodb.com/manual/applications/drivers/. Use the shell ("mongo") for administrative tasks. BUG REPORTS See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports. PACKAGING Packages are created dynamically by the package.py script located in the buildscripts directory. This will generate RPM and Debian packages. DOCUMENTATION https://docs.mongodb.com/manual/ CLOUD HOSTED MONGODB https://www.mongodb.com/cloud/atlas MAIL LISTS https://groups.google.com/forum/#!forum/mongodb-user A forum for technical questions about using MongoDB. https://groups.google.com/forum/#!forum/mongodb-dev A forum for technical questions about building and developing MongoDB. LEARN MONGODB https://university.mongodb.com/ LICENSE Most MongoDB source files (src/mongo folder and below) are made available under the terms of the GNU Affero General Public License (GNU AGPLv3). See individual files for details.