From 4776f1d473a615d0f14feed51204bd30485644dc Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Tue, 24 Apr 2012 17:01:01 +0000 Subject: [PATCH] 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 --- reference/mysqlnd_qc/quickstart.xml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/reference/mysqlnd_qc/quickstart.xml b/reference/mysqlnd_qc/quickstart.xml index b20cacf529..162047105b 100644 --- a/reference/mysqlnd_qc/quickstart.xml +++ b/reference/mysqlnd_qc/quickstart.xml @@ -251,6 +251,7 @@ mysqlnd_qc.enable_qc=1 + Using the <literal>MYSQLND_QC_ENABLE_SWITCH</literal> SQL hint + Using the <literal>MYSQLND_QC_DISABLE_SWITCH</literal> SQL hint + Example showing which type of statements are not cached + Enabling caching for all statements using the <literal>mysqlnd_qc.cache_no_table</literal> ini setting + Setting the TTL with the <literal>mysqlnd_qc.ttl</literal> ini setting + Setting TTL with SQL hints + Setting a callback with <function>mysqlnd_qc_set_is_select</function> + Enabling the slam defense mechanism + Collecting a query trace + Setting the backtrace depth with the <literal>mysqlnd_qc.query_trace_bt_depth</literal> ini setting $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 - >mysqlnd_qc.time_statistics + mysqlnd_qc.time_statistics 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) { + Collecting statistics data with the <literal>mysqlnd_qc.time_statistics</literal> ini setting + Example <function>mysqlnd_qc_get_cache_info</function> usage + Example <function>mysqlnd_qc_get_normalized_query_trace_log</function> usage - - Please check the example for details. - + Using a user-defined storage handler