Skip to content

Commit

Permalink
Config: SQL - update per review
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyaksenov committed Jul 19, 2024
1 parent 390a2c5 commit 427ffba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/reference/configuration/configuration_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4321,7 +4321,7 @@ The ``sql`` section defines configuration parameters related to :ref:`SQL <refer

.. confval:: sql.cache_size

The maximum cache size (in bytes) for :ref:`SQL prepared statements <box-sql_box_prepare>`.
The maximum cache size (in bytes) for all :ref:`SQL prepared statements <box-sql_box_prepare>`.
To see the actual cache size, use :ref:`box.info.sql().cache.size <box_introspection-box_info>`.

|
Expand Down
2 changes: 1 addition & 1 deletion doc/reference/reference_lua/box_sql/prepare.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ box.prepare()
is "shared", that is, there is one cache for
all sessions. However, session X cannot execute a statement prepared by session Y. |br|
For monitoring the cache, see :ref:`box.info().sql <box_introspection-box_info>`. |br|
For changing the cache, see :ref:`(Configuration reference) sql_cache_size <cfg_basic-sql_cache_size>`.
For changing the cache size, use :ref:`sql.cache_size <configuration_reference_sql_cache_size>`.

Prepared statements will "expire" (become invalid) if
any database object is dropped or created or altered --
Expand Down

0 comments on commit 427ffba

Please sign in to comment.