/usr/share/doc/cl-sql/html/in-transaction-p.html is in cl-sql 6.7.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>IN-TRANSACTION-P</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="CLSQL Users' Guide" /><link rel="up" href="ref-transaction.html" title="Transaction Handling" /><link rel="prev" href="rollback.html" title="ROLLBACK" /><link rel="next" href="add-transaction-commit-hook.html" title="ADD-TRANSACTION-COMMIT-HOOK" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">IN-TRANSACTION-P</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rollback.html">Prev</a> </td><th width="60%" align="center">Transaction Handling</th><td width="20%" align="right"> <a accesskey="n" href="add-transaction-commit-hook.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="in-transaction-p"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>IN-TRANSACTION-P — A predicate for testing whether a transaction is currently in progress.<strong>Function</strong></p></div><div class="refsect1"><a id="idp74938576"></a><h2>Syntax</h2><pre class="synopsis">
<code class="function">in-transaction-p</code> &key <em class="replaceable"><code>database</code></em> => <span class="returnvalue">result</span></pre></div><div class="refsect1"><a id="idp74941648"></a><h2>Arguments and Values</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>database</code></em></span></dt><dd><p>A
<a class="glossterm" href="glossary.html#gloss-database-object"><em class="glossterm">database
object</em></a>. This will default to the value
of <span class="symbol">*default-database*</span>.</p></dd><dt><span class="term"><em class="parameter"><code>result</code></em></span></dt><dd><p>A Boolean.</p></dd></dl></div></div><div class="refsect1"><a id="idp74948528"></a><h2>Description</h2><p>A predicate to test whether
<em class="parameter"><code>database</code></em>, which defaults to
<span class="symbol">*default-database*</span>, is currently within the
scope of a transaction.
</p></div><div class="refsect1"><a id="idp74951040"></a><h2>Examples</h2><pre class="screen">
(in-transaction-p)
=> NIL
(start-transaction)
=> NIL
(in-transaction-p)
=> T
(commit)
=> NIL
(in-transaction-p)
=> NIL
</pre></div><div class="refsect1"><a id="idp74952768"></a><h2>Side Effects</h2><p>
None.
</p></div><div class="refsect1"><a id="idp74954112"></a><h2>Affected by</h2><p>
None.
</p></div><div class="refsect1"><a id="idp74955456"></a><h2>Exceptional Situations</h2><p>
None.
</p></div><div class="refsect1"><a id="idp74956800"></a><h2>See Also</h2><table border="0" summary="Simple list" class="simplelist"><tr><td><a class="link" href="start-transaction.html" title="START-TRANSACTION"><code class="function">start-transaction</code></a></td></tr><tr><td><a class="link" href="commit.html" title="COMMIT"><code class="function">commit</code></a></td></tr><tr><td><a class="link" href="rollback.html" title="ROLLBACK"><code class="function">rollback</code></a></td></tr><tr><td><a class="link" href="set-autocommit.html" title="SET-AUTOCOMMIT"><code class="function">set-autocommit</code></a></td></tr></table></div><div class="refsect1"><a id="idp74963408"></a><h2>Notes</h2><p>
<code class="function">in-transaction-p</code> is a <span class="application"><span class="emphasis"><em>CLSQL</em></span></span> extension.
</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rollback.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ref-transaction.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="add-transaction-commit-hook.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ROLLBACK </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> ADD-TRANSACTION-COMMIT-HOOK</td></tr></table></div></body></html>
|