Project

General

Profile

Bug #2514 ยป vdr-epg2vdr-mariadb-fix-build.patch

marco, 07/20/2017 06:29 PM

View differences:

vdr-plugin-epg2vdr-1.1.73/lib/db.c 2017-07-14 17:59:34.634451604 +0200
if (error == CR_SERVER_LOST ||
error == CR_SERVER_GONE_ERROR ||
// for compatibility with newer versions of MariaDB library
#ifdef CR_INVALID_CONN_HANDLE
error == CR_INVALID_CONN_HANDLE ||
#endif
error == CR_COMMANDS_OUT_OF_SYNC ||
error == CR_SERVER_LOST_EXTENDED ||
error == CR_STMT_CLOSED ||
// for compatibility with newer versions of MariaDB library
#ifdef CR_CONN_UNKNOW_PROTOCOL
error == CR_CONN_UNKNOW_PROTOCOL ||
#else
error == CR_CONN_UNKNOWN_PROTOCOL ||
#endif
error == CR_UNSUPPORTED_PARAM_TYPE ||
error == CR_NO_PREPARE_STMT ||
error == CR_SERVER_HANDSHAKE_ERR ||
    (1-1/1)