Skip to content

chl_mysql_toggle_errors

it4e edited this page Feb 27, 2017 · 1 revision

Name

<chl/mysql.h>

chl_mysql_toggle_errors, CHL MySQL toggle errors

Declaration

void chl_mysql_toggle_errors(char state);

Description

The chl_mysql_toggle_errors function is used to toggle whether to turn on or off automatic MySQL error printing, depending on the value of the state variable. Default is for it to be turned on.

Arguments

  • state: 1 to turn on automatic error printing, 0 to turn it off.

Return value

No return value.


Examples

As CHL is open-source, people are able to contribute with their own APIs, plugins and code which means that CHL is constantly upgraded and provided with new features. Do you have an idea for a new CHL feature and want to contribute?

See contribute.

Setup. API. Tutorial. Examples. FastCGI.

Clone this wiki locally