| 789 | struct BuildInfoCmd { |
| 790 | static const char* name; |
| 791 | static Future<Reference<ExtMsgReply>> call(Reference<ExtConnection> ec, |
| 792 | Reference<ExtMsgQuery> query, |
| 793 | Reference<ExtMsgReply> reply) { |
| 794 | // clang-format off |
| 795 | reply->addDocument(BSON( |
| 796 | "version" << EXT_SERVER_VERSION << |
| 797 | "gitVersion" << getGitVersion() << |
| 798 | "OpenSSLVersion" << "" << |
| 799 | "sysInfo" << "<string>" << |
| 800 | "loaderFlags" << "<string>" << |
| 801 | "compilerFlags" << "<string>" << |
| 802 | "allocator" << "<string>" << |
| 803 | "versionArray" << EXT_SERVER_VERSION_ARRAY << |
| 804 | "javascriptEngine" << "<string>" << |
| 805 | "bits" << 64 << |
| 806 | "debug" << false << |
| 807 | "maxBsonObjectSize"<< 16777216 << |
| 808 | "ok" << 1.0 |
| 809 | )); |
| 810 | // clang-format on |
| 811 | return reply; |
| 812 | } |
| 813 | }; |
| 814 | REGISTER_CMD(BuildInfoCmd, "buildinfo"); |
| 815 |
nothing calls this directly
no test coverage detected