Project

General

Profile

Actions

Bug #2513

closed

patch to build with MariaDB 10.2

Added by marco over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
07/20/2017
Due date:
% Done:

0%

Estimated time:

Description

Trying to build vdr-epg-daemon with the new version of MariaDB 10.2 causes a build error:

db.c: In member function 'int cDbConnection::errorSql(cDbConnection*, const char*, MYSQL_STMT*, const char*)':
db.c:1379:17: error: 'CR_INVALID_CONN_HANDLE' was not declared in this scope
        error == CR_INVALID_CONN_HANDLE ||
                 ^~~~~~~~~~~~~~~~~~~~~~
db.c:1379:17: note: suggested alternative: 'CR_INVALID_BUFFER_USE'
        error == CR_INVALID_CONN_HANDLE ||
                 ^~~~~~~~~~~~~~~~~~~~~~
                 CR_INVALID_BUFFER_USE
db.c:1383:17: error: 'CR_CONN_UNKNOW_PROTOCOL' was not declared in this scope
        error == CR_CONN_UNKNOW_PROTOCOL ||
                 ^~~~~~~~~~~~~~~~~~~~~~~
db.c:1383:17: note: suggested alternative: 'CR_CONN_UNKNOWN_PROTOCOL'
        error == CR_CONN_UNKNOW_PROTOCOL ||
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 CR_CONN_UNKNOWN_PROTOCOL

In this new version of the library the define CR_CONN_UNKNOW_PROTOCOL was renamed to CR_CONN_UNKNOWN_PROTOCOL and the define CR_INVALID_CONN_HANDLE was dropped. I attached a patch proposal to fix the problem.


Files

Actions #1

Updated by horchi almost 7 years ago

  • Assignee changed from horchi to marco

sorry hab den aktuellen Stand vergessen, ich verwende inzw. auch mariadb und hier läuft es.
Ist zu dem Ticket noch etwas offen oder kann ich es schließen?

Actions #2

Updated by Der_Pit over 6 years ago

Ich hab mir gerade eben den aktuellen git Stand gehholt, und habe noch denselben Fehler.
Das ist auf openSUSE Tumbleweed mit mariadb 10.2.13.

(ausserdem noch Probleme mit epglv/my_global.h - ist aber wohl 'ne andere Baustelle)

Actions #3

Updated by horchi over 6 years ago

  • Status changed from New to Closed

Patch übernommen

Actions

Also available in: Atom PDF