mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-09-04 22:30:36 +00:00
Rewrite database access layer.
This commit is contained in:
@@ -195,7 +195,7 @@ static int init_mysql_database (CcnetSession *session)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_POSTGRESQL
|
||||
#if 0
|
||||
|
||||
static int init_pgsql_database (CcnetSession *session)
|
||||
{
|
||||
@@ -263,7 +263,7 @@ load_database_config (CcnetSession *session)
|
||||
ret = init_mysql_database (session);
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_POSTGRESQL
|
||||
#if 0
|
||||
else if (strncasecmp (engine, DB_PGSQL, sizeof(DB_PGSQL)) == 0) {
|
||||
ccnet_debug ("Use database PostgreSQL\n");
|
||||
ret = init_pgsql_database (session);
|
||||
|
Reference in New Issue
Block a user