Skip to content

Commit 548a662

Browse files
bikramSingh91facebook-github-bot
authored andcommitted
Update coding style to include debug prefix for query configs (facebookincubator#10934)
Summary: Pull Request resolved: facebookincubator#10934 Reviewed By: xiaoxmeng Differential Revision: D62252128 Pulled By: bikramSingh91 fbshipit-source-id: 12acd1ed611a1cf0df4728d1333eef76940ff9a9
1 parent a29760f commit 548a662

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CODING_STYLE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ line width, indentation and ordering (for includes, using directives and etc). 
6262
their public APIs. Only use test methods in rare edge cases where this is not
6363
possible. For example, MemoryAllocator::testingSetFailureInjection() is used
6464
to to inject various memory allocation failures to test error handling paths.
65+
* Use the **debug** prefix for query configs that are intended for debugging
66+
purposes only. These configs may enable expensive checks or disable selective
67+
code paths, and are not recommended for use in production environments. For
68+
example, `debug_disable_expression_with_peeling` is used to disable peeling
69+
optimization employed in expression evaluation.
6570

6671
## Comments
6772

0 commit comments

Comments
 (0)