From 5517e3e23b3506b254ae8508a76fa49717ccafb1 Mon Sep 17 00:00:00 2001 From: Wang Zhiyong Date: Wed, 24 Jul 2024 08:40:39 +0000 Subject: [PATCH] fix cpplint --- src/cypher/procedure/procedure.cpp | 3 ++- src/cypher/procedure/procedure.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cypher/procedure/procedure.cpp b/src/cypher/procedure/procedure.cpp index 8f4c830c00..a585e29e0c 100644 --- a/src/cypher/procedure/procedure.cpp +++ b/src/cypher/procedure/procedure.cpp @@ -1647,7 +1647,8 @@ void BuiltinProcedure::DbmsMetaRefreshCount(RTContext *ctx, const Record *record ac_db.RefreshCount(); } -void BuiltinProcedure::DbmsSecurityIsDefaultUserPassword(RTContext *ctx, const cypher::Record *record, +void BuiltinProcedure::DbmsSecurityIsDefaultUserPassword(RTContext *ctx, + const cypher::Record *record, const cypher::VEC_EXPR &args, const cypher::VEC_STR &yield_items, std::vector *records) { diff --git a/src/cypher/procedure/procedure.h b/src/cypher/procedure/procedure.h index 6e6d32d7b8..98d2698e98 100644 --- a/src/cypher/procedure/procedure.h +++ b/src/cypher/procedure/procedure.h @@ -732,7 +732,8 @@ static std::vector global_procedures = { Procedure("dbms.meta.refreshCount", BuiltinProcedure::DbmsMetaRefreshCount, Procedure::SIG_SPEC{}, Procedure::SIG_SPEC{{"", {0, lgraph_api::LGraphType::NUL}}}, false, true), - Procedure("dbms.security.isDefaultUserPassword", BuiltinProcedure::DbmsSecurityIsDefaultUserPassword, + Procedure("dbms.security.isDefaultUserPassword", + BuiltinProcedure::DbmsSecurityIsDefaultUserPassword, Procedure::SIG_SPEC{}, Procedure::SIG_SPEC{ {"isDefaultUserPassword", {0, lgraph_api::LGraphType::BOOLEAN}}