diff --git a/reference/mysqli/functions/mysqli-get-cache-stats.xml b/reference/mysqli/functions/mysqli-get-cache-stats.xml deleted file mode 100644 index 96b0bddf4b..0000000000 --- a/reference/mysqli/functions/mysqli-get-cache-stats.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - mysqli_get_cache_stats - Returns client Zval cache statistics - - - - - This function has been REMOVED as of PHP 5.4.0. - - - - - &reftitle.description; - - arraymysqli_get_cache_stats - - - - Returns an empty array. - &mysqli.available.mysqlnd; - - - - - &reftitle.parameters; - - - - &reftitle.returnvalues; - - Returns an empty array on success, &false; otherwise. - - - - - &reftitle.changelog; - - - - - - &Version; - &Description; - - - - - 5.4.0 - - The mysqli_get_cache_stats was removed. - - - - 5.3.0 - - The mysqli_get_cache_stats was added as stub. - - - - - - - - - - - diff --git a/reference/mysqli/mysqli/set-local-infile-default.xml b/reference/mysqli/mysqli/set-local-infile-default.xml deleted file mode 100644 index 5f336bdbdd..0000000000 --- a/reference/mysqli/mysqli/set-local-infile-default.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - mysqli::set_local_infile_default - mysqli_set_local_infile_default - Unsets user defined handler for load local infile command - - - - &reftitle.description; - &style.oop; - - public voidmysqli::set_local_infile_default - - - &style.procedural; - - voidmysqli_set_local_infile_default - mysqlilink - - - - Deactivates a LOAD DATA INFILE LOCAL handler previously - set with mysqli_set_local_infile_handler. - - - - - &reftitle.parameters; - - - &mysqli.link.description; - - - - - - &reftitle.returnvalues; - - &return.void; - - - - - &reftitle.examples; - See mysqli_set_local_infile_handler examples - - - - &reftitle.seealso; - - - mysqli_set_local_infile_handler - - - - - - - diff --git a/reference/mysqli/mysqli/set-local-infile-handler.xml b/reference/mysqli/mysqli/set-local-infile-handler.xml deleted file mode 100644 index 115c6fce51..0000000000 --- a/reference/mysqli/mysqli/set-local-infile-handler.xml +++ /dev/null @@ -1,205 +0,0 @@ - - - - - mysqli::set_local_infile_handler - mysqli_set_local_infile_handler - Set callback function for LOAD DATA LOCAL INFILE command - - - - &reftitle.description; - &style.oop; - - public boolmysqli::set_local_infile_handler - callableread_func - - &style.procedural; - - boolmysqli_set_local_infile_handler - mysqlilink - callableread_func - - - Set callback function for LOAD DATA LOCAL INFILE command - - - The callbacks task is to read input from the file specified in the - LOAD DATA LOCAL INFILE and to reformat it into - the format understood by LOAD DATA INFILE. - - - - The returned data needs to match the format specified in the - LOAD DATA - - - - - &reftitle.parameters; - - - &mysqli.link.description; - - read_func - - - A callback function or object method taking the following parameters: - - - - stream - A PHP stream associated with the SQL commands INFILE - - - &buffer - A string buffer to store the rewritten input into - - - buflen - The maximum number of characters to be stored in the buffer - - - &errormsg - If an error occurs you can store an error message in here - - - - - - - - The callback function should return the number of characters stored - in the buffer or a negative value if an error - occurred. - - - - - &reftitle.returnvalues; - - &return.success; - - - - - &reftitle.examples; - - <methodname>mysqli::set_local_infile_handler</methodname> example - &style.oop; - -real_connect("localhost","root","","test"); - - function callme($stream, &$buffer, $buflen, &$errmsg) - { - $buffer = fgets($stream); - - echo $buffer; - - // convert to upper case and replace "," delimiter with [TAB] - $buffer = strtoupper(str_replace(",", "\t", $buffer)); - - return strlen($buffer); - } - - - echo "Input:\n"; - - $db->set_local_infile_handler("callme"); - $db->query("LOAD DATA LOCAL INFILE 'input.txt' INTO TABLE t1"); - $db->set_local_infile_default(); - - $res = $db->query("SELECT * FROM t1"); - - echo "\nResult:\n"; - while ($row = $res->fetch_assoc()) { - echo join(",", $row)."\n"; - } -?> -]]> - - &style.procedural; - - -]]> - - &examples.outputs; - - - - - - - - &reftitle.seealso; - - - mysqli_set_local_infile_default - - - - - - - diff --git a/reference/mysqli/summary.xml b/reference/mysqli/summary.xml index d73faaa5c6..a68a5cc5d2 100644 --- a/reference/mysqli/summary.xml +++ b/reference/mysqli/summary.xml @@ -194,12 +194,6 @@ N/A Returns client per-process statistics. &mysqli.available.mysqlnd; - - mysqli::get_cache_stats - mysqli_get_cache_stats - N/A - Returns client Zval cache statistics. &mysqli.available.mysqlnd; - mysqli::get_server_info mysqli_get_server_info @@ -313,18 +307,6 @@ N/A Sets the default client character set - - mysqli::set_local_infile_default - mysqli_set_local_infile_default - N/A - Unsets user defined handler for load local infile command - - - mysqli::set_local_infile_handler - mysqli_set_local_infile_handler - N/A - Set callback function for LOAD DATA LOCAL INFILE command - mysqli::ssl_set mysqli_ssl_set diff --git a/reference/mysqli/versions.xml b/reference/mysqli/versions.xml index fefcca3eda..306cf299c9 100644 --- a/reference/mysqli/versions.xml +++ b/reference/mysqli/versions.xml @@ -19,7 +19,6 @@ - @@ -40,7 +39,6 @@ - @@ -75,7 +73,6 @@ - @@ -95,11 +92,7 @@ - - - - @@ -176,8 +169,6 @@ - -