mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added a title to each example that was missing one
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325440 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
07698a4db5
commit
4776f1d473
1 changed files with 15 additions and 4 deletions
|
@ -251,6 +251,7 @@ mysqlnd_qc.enable_qc=1
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Using the <literal>MYSQLND_QC_ENABLE_SWITCH</literal> SQL hint</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -330,6 +331,7 @@ Total time cached query: 0.000098s
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Using the <literal>MYSQLND_QC_DISABLE_SWITCH</literal> SQL hint</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -389,6 +391,7 @@ NULL
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Example showing which type of statements are not cached</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -461,6 +464,7 @@ Total time: 0.000549s
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Enabling caching for all statements using the <literal>mysqlnd_qc.cache_no_table</literal> ini setting</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -561,6 +565,7 @@ Total time: 0.000167s
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Setting the TTL with the <literal>mysqlnd_qc.ttl</literal> ini setting</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -634,6 +639,7 @@ Wall time 14:56:05 - DB row time 2012-01-11 14:56:05
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Setting TTL with SQL hints</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -721,6 +727,7 @@ Script runtime : 3 seconds
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Setting a callback with <function>mysqlnd_qc_set_is_select</function></title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -835,6 +842,7 @@ Cache hit: 1
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Enabling the slam defense mechanism</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.slam_defense=1
|
||||
|
@ -881,6 +889,7 @@ mysqlnd_qc.slam_defense_ttl=1
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Collecting a query trace</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -964,6 +973,7 @@ array(2) {
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Setting the backtrace depth with the <literal>mysqlnd_qc.query_trace_bt_depth</literal> ini setting</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -1043,7 +1053,7 @@ foreach ($summary as $query => $details) {
|
|||
will not collect data unless data collection has been
|
||||
enabled through their corresponding PHP configuration directives. Data collection
|
||||
is disabled by default for performance considerations. It is configurable with the
|
||||
<link linkend="ini.mysqlnd-qc.time-statistics">>mysqlnd_qc.time_statistics</link>
|
||||
<link linkend="ini.mysqlnd-qc.time-statistics">mysqlnd_qc.time_statistics</link>
|
||||
option, which determines if timing information should be collected.
|
||||
Collection of time statistics is enabled by default
|
||||
but only performed if data collection as such has been enabled.
|
||||
|
@ -1053,6 +1063,7 @@ foreach ($summary as $query => $details) {
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Collecting statistics data with the <literal>mysqlnd_qc.time_statistics</literal> ini setting</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -1156,6 +1167,7 @@ array(26) {
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Example <function>mysqlnd_qc_get_cache_info</function> usage</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -1319,6 +1331,7 @@ test|/*qc=on*/SELECT id FROM test WHERE id = 0"]=>
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Example <function>mysqlnd_qc_get_normalized_query_trace_log</function> usage</title>
|
||||
<programlisting role="ini">
|
||||
<![CDATA[
|
||||
mysqlnd_qc.enable_qc=1
|
||||
|
@ -1466,11 +1479,9 @@ array(4) {
|
|||
public functions. Both procedural and object oriented user-defined storage
|
||||
handler must implement the same set of functions.
|
||||
</para>
|
||||
<para>
|
||||
Please check the example for details.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Using a user-defined storage handler</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue