diff options
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1395,6 +1395,9 @@ int cEpgd::checkProcedure(const char* name, cDBS::ProcType type, cDbProcedure* f asprintf(¶m, "%s.md5", name); p = fp ? fp : new cDbProcedure(connection, name, type); + if (!connection || !connection->getMySql()) + return fail; + if (p->created()) { getParameter("epgd", param, md5); |