Skip to content

Commit fd44e5a

Browse files
committed
set exclusive 已经废弃
1 parent 6326db1 commit fd44e5a

1 file changed

Lines changed: 1 addition & 35 deletions

File tree

grammar.html

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,6 @@ <h3>Commands (Other)</h3>
321321
322322
<a href="#set_default_table_type">SET DEFAULT_TABLE_TYPE</a><br />
323323
324-
<a href="#set_exclusive">SET EXCLUSIVE</a><br />
325-
326324
<a href="#set_ignorecase">SET IGNORECASE</a><br />
327325
328326
<a href="#set_lob_compression_algorithm">SET LOB_COMPRESSION_ALGORITHM</a><br />
@@ -412,8 +410,6 @@ <h3>Commands (Other)</h3>
412410

413411
<a href="#set_default_table_type" >SET DEFAULT_TABLE_TYPE</a><br />
414412

415-
<a href="#set_exclusive" >SET EXCLUSIVE</a><br />
416-
417413
<a href="#set_ignorecase" >SET IGNORECASE</a><br />
418414

419415
<a href="#set_lob_compression_algorithm" >SET LOB_COMPRESSION_ALGORITHM</a><br />
@@ -427,9 +423,9 @@ <h3>Commands (Other)</h3>
427423
<a href="#set_max_memory_undo" >SET MAX_MEMORY_UNDO</a><br />
428424

429425
<a href="#set_max_operation_memory" >SET MAX_OPERATION_MEMORY</a><br />
430-
</td><td class="index">
431426

432427
<a href="#set_mode" >SET MODE</a><br />
428+
</td><td class="index">
433429

434430
<a href="#set_optimize_reuse_results" >SET OPTIMIZE_REUSE_RESULTS</a><br />
435431

@@ -2383,36 +2379,6 @@ <h3 id="set_default_table_type" class="notranslate" onclick="switchBnf(this)">SE
23832379
<p class="notranslate">
23842380
SET DEFAULT_TABLE_TYPE MEMORY</p>
23852381

2386-
<h3 id="set_exclusive" class="notranslate" onclick="switchBnf(this)">SET EXCLUSIVE</h3>
2387-
<!-- railroad-start -->
2388-
<pre name="bnf" style="display: none">
2389-
SET EXCLUSIVE { 0 | 1 | 2 }
2390-
</pre>
2391-
<div name="railroad">
2392-
<table class="railroad"><tr class="railroad"><td class="d"><code class="c">SET EXCLUSIVE</code></td><td class="d"><table class="railroad"><tr class="railroad"><td class="ts"></td><td class="d"><code class="c">0</code></td><td class="te"></td></tr><tr class="railroad"><td class="ks"></td><td class="d"><code class="c">1</code></td><td class="ke"></td></tr><tr class="railroad"><td class="ls"></td><td class="d"><code class="c">2</code></td><td class="le"></td></tr></table></td></tr></table>
2393-
</div>
2394-
<!-- railroad-end -->
2395-
<!-- syntax-start
2396-
<pre class="notranslate">
2397-
SET EXCLUSIVE { 0 | 1 | 2 }
2398-
</pre>
2399-
syntax-end -->
2400-
<p>Switched the database to exclusive mode (1, 2) and back to normal mode (0).
2401-
2402-
In exclusive mode, new connections are rejected, and operations by
2403-
other connections are paused until the exclusive mode is disabled.
2404-
When using the value 1, existing connections stay open.
2405-
When using the value 2, all existing connections are closed
2406-
(and current transactions are rolled back) except the connection
2407-
that executes <code class="notranslate">SET EXCLUSIVE</code>.
2408-
Only the connection that set the exclusive mode can disable it.
2409-
When the connection is closed, it is automatically disabled.
2410-
2411-
Admin rights are required to execute this command.</p>
2412-
<p>Example:</p>
2413-
<p class="notranslate">
2414-
SET EXCLUSIVE 1</p>
2415-
24162382
<h3 id="set_ignorecase" class="notranslate" onclick="switchBnf(this)">SET IGNORECASE</h3>
24172383
<!-- railroad-start -->
24182384
<pre name="bnf" style="display: none">

0 commit comments

Comments
 (0)