Returns RPL query type (original) (raw)

mysqli::rpl_query_type

mysqli_rpl_query_type

(PHP 5, PHP 7)

mysqli::rpl_query_type -- mysqli_rpl_query_type — Returns RPL query type

Description

Object oriented style

public mysqli::rpl_query_type ( string $query ) : int

Procedural style

mysqli_rpl_query_type ( mysqli $link , string $query ) : int

Returns MYSQLI_RPL_MASTER,MYSQLI_RPL_SLAVE or**MYSQLI_RPL_ADMIN** depending on a query type.INSERT, UPDATE and similar are_master_ queries, SELECT is_slave_, and FLUSH,REPAIR and similar are admin.

Warning

This function is currently not documented; only its argument list is available.

Warning

This function has been_DEPRECATED_ and REMOVED as of PHP 5.3.0.