Patterns in static

Apophenia

Macros | Functions
apop_db_mysql.c File Reference

Macros

#define Areweconected(retval)
 
#define Apop_mstopif(cond, returnop, str)
 
#define check_and_clean(do_if_failure)
 

Functions

apop_dataapop_mysql_mixed_query (char const *intypes, char const *query)
 

Detailed Description

This file is included directly into apop_db.c. It is read only if APOP_USE_MYSQL is defined.

Macro Definition Documentation

#define Apop_mstopif (   cond,
  returnop,
  str 
)
Value:
Apop_stopif(cond, returnop, 0, \
str "\n mySQL/mariadb error %u: %s\n", mysql_errno (mysql_db), mysql_error (mysql_db));
#define Apop_stopif(test, onfail, level,...)
Definition: apop.h:1004
#define Areweconected (   retval)
Value:
Apop_stopif(!mysql_db, return retval, 0, \
"No connection to a mySQL/mariadb database. apop_db_open() failure?");
#define Apop_stopif(test, onfail, level,...)
Definition: apop.h:1004
#define check_and_clean (   do_if_failure)
Value:
Apop_mstopif( mysql_errno (conn), \
if (out) do_if_failure; return NULL, \
"mysql_fetch_row() failed"); \
return out; \

Autogenerated by doxygen on Sun Oct 26 2014 (Debian 0.999b+ds3-2).