mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2281
This commit is contained in:
parent
2b69fa01d3
commit
e1c335bf20
|
@ -14,7 +14,7 @@ int DB_CONN::open(char* dbname, char* dbpassword) {
|
||||||
mysql = mysql_init(0);
|
mysql = mysql_init(0);
|
||||||
if (!mysql) return 0;
|
if (!mysql) return 0;
|
||||||
mysql = mysql_real_connect(mysql, 0, 0, dbpassword, dbname, 0, 0, 0);
|
mysql = mysql_real_connect(mysql, 0, 0, dbpassword, dbname, 0, 0, 0);
|
||||||
return (mysql != 0);
|
return (mysql == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DB_CONN::close() {
|
void DB_CONN::close() {
|
||||||
|
|
Loading…
Reference in New Issue