mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2156
This commit is contained in:
parent
ebb52e62d5
commit
5ffa2048f7
|
@ -221,6 +221,8 @@ int boinc_db_insert_id() {
|
||||||
void boinc_db_print_error(char* p) {
|
void boinc_db_print_error(char* p) {
|
||||||
if (mysql) {
|
if (mysql) {
|
||||||
fprintf(stderr, "%s: Database error: %s\n", p, mysql_error(mysql));
|
fprintf(stderr, "%s: Database error: %s\n", p, mysql_error(mysql));
|
||||||
|
} else {
|
||||||
|
fprintf(stderr, "%s: Database error\n", p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue