Skip to content

Commit

Permalink
sql: removed redundant parameter in method to schedule sql stats comp…
Browse files Browse the repository at this point in the history
…action

Release note (sql change):
The byte string parameter in the method to schedule sql stats compaction is redundant and has been removed.
  • Loading branch information
surahman committed Jun 13, 2022
1 parent 7377f2d commit 0bc7213
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/generated/sql/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3103,7 +3103,7 @@ table. Returns an error if validation fails.</p>
</span></td></tr>
<tr><td><a name="crdb_internal.round_decimal_values"></a><code>crdb_internal.round_decimal_values(val: <a href="decimal.html">decimal</a>[], scale: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a>[]</code></td><td><span class="funcdesc"><p>This function is used internally to round decimal array values during mutations.</p>
</span></td></tr>
<tr><td><a name="crdb_internal.schedule_sql_stats_compaction"></a><code>crdb_internal.schedule_sql_stats_compaction(session: <a href="bytes.html">bytes</a>) &rarr; <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>This function is used to start a SQL stats compaction job.</p>
<tr><td><a name="crdb_internal.schedule_sql_stats_compaction"></a><code>crdb_internal.schedule_sql_stats_compaction() &rarr; <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>This function is used to start a SQL stats compaction job.</p>
</span></td></tr>
<tr><td><a name="crdb_internal.serialize_session"></a><code>crdb_internal.serialize_session() &rarr; <a href="bytes.html">bytes</a></code></td><td><span class="funcdesc"><p>This function serializes the variables in the current session.</p>
</span></td></tr>
Expand Down
2 changes: 1 addition & 1 deletion pkg/sql/sem/builtins/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -6535,7 +6535,7 @@ table's zone configuration this will return NULL.`,
Category: categorySystemInfo,
},
tree.Overload{
Types: tree.ArgTypes{{"session", types.Bytes}},
Types: tree.ArgTypes{},
ReturnType: tree.FixedReturnType(types.Bool),
Fn: func(evalCtx *eval.Context, args tree.Datums) (tree.Datum, error) {
if evalCtx.SQLStatsController == nil {
Expand Down

0 comments on commit 0bc7213

Please sign in to comment.