Roxen.git / server / etc / modules / DBManager.pmod

version» Context lines:

Roxen.git/server/etc/modules/DBManager.pmod:738:    "the MariaDB .frm file")) {    // Errors 185 and 190:    // "Incompatible key or row definition between the MariaDB .frm "    // "file and the information in the storage engine. You have to "    // "dump and restore the table to fix this"    werror("DBManager: Basic repair of table %O failed:\n"    "%s\n"    "DBManager: Retrying with forced use of .frm file.\n",    table, describe_error(err));    sql->query("REPAIR TABLE `" + table + "` USE_FRM"); -  } else { +  } else if (err) {    throw(err);    }    }    }    werror("DBManager: MySQL upgrade done.\n");    }    }       void synch_mysql_perms()    {
Roxen.git/server/etc/modules/DBManager.pmod:2910:    query("INSERT INTO db_backups (db,tbl,directory,whn) "    "VALUES ('docs','docs','"+getcwd()+"/etc/docs','"+time()+"')");    }       // Start the backup timers when we have finished booting.    call_out(start_backup_timers, 0);       return;    };    +  if (err) {    werror( describe_backtrace( err ) ); -  +  } else { +  werror("DBManager: Internal error; something threw a %O.\n", err);    } -  + }