Pike v8.0 release 1738

Method Sql.mysql()->fix_query_charset()


Method fix_query_charset

protected array(string(8bit)) fix_query_charset(string query, string|void charset)

Returns

Returns an array:

Array
string 0

The adjusted query.

string|zero 1

The charset to restore after performing the query (if any). This is only set when charset has been set.