Oracle 5.0 Reference Manual page 2796

Table of Contents

Advertisement

}
mysqlnd_uh_set_connection_proxy(new proxy());
$mysqli = new mysqli("localhost", "root", "", "test");
$mysqli->query("SELECT 1");
?>
The above example will output:
proxy::simpleCommand(array (
0 => NULL,
1 => 3,
2 => 'SELECT 1',
3 => 13,
4 => false,
5 => false,
))
Command 'MYSQLND_UH_MYSQLND_COM_QUERY'
OK packet 'MYSQLND_UH_MYSQLND_PROT_LAST'
proxy::simpleCommand returns true
:)proxy::simpleCommand(array (
0 => NULL,
1 => 1,
2 => '',
3 => 13,
4 => true,
5 => true,
))
Command 'MYSQLND_UH_MYSQLND_COM_QUIT'
OK packet 'MYSQLND_UH_MYSQLND_PROT_LAST'
proxy::simpleCommand returns true
See Also
mysqlnd_uh_set_connection_proxy
20.7.8.7.45.
MysqlndUhConnection::simpleCommandHandleResponse
Copyright 1997-2012 the PHP Documentation Group. [2230]
MysqlndUhConnection::simpleCommandHandleResponse
Process a response for a basic COM_* command send to the client
Description
public bool MysqlndUhConnection::simpleCommandHandleResponse(
mysqlnd_connection connection,
int ok_packet,
bool silent,
int command,
bool ignore_upsert_status);
Process a response for a basic COM_* command send to the client.
Parameters
connection
ok_packet
silent
command
Mysqlnd user handler plugin (mysqlnd_uh)
Mysqlnd connection handle. Do not modify!
The OK packet type.
Whether mysqlnd may emit errors.
The COM command to process results from.
2776

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents