MCPcopy Create free account
hub / github.com/DeNA/HandlerSocket-Plugin-for-MySQL / mysql_do

Function mysql_do

client/hslongrun.cpp:868–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868void
869mysql_do(MYSQL *db, const char *query)
870{
871 if (mysql_real_query(db, query, strlen(query)) != 0) {
872 fprintf(stderr, "mysql: e=[%s] q=[%s]\n", mysql_error(db), query);
873 fatal_exit("mysql_do");
874 }
875}
876
877void
878hs_longrun_init_table(const config& conf, int num_prepare,

Callers 1

hs_longrun_init_tableFunction · 0.85

Calls 1

fatal_exitFunction · 0.85

Tested by

no test coverage detected