summaryrefslogtreecommitdiff
path: root/dbmodule.c
diff options
context:
space:
mode:
authorpaul <paul@7b491191-dbf0-0310-aff6-d879d4d69008>2006-01-23 11:02:54 +0000
committerpaul <paul@7b491191-dbf0-0310-aff6-d879d4d69008>2006-01-23 11:02:54 +0000
commite5bc82ef612a32ce834829973f5009e76f74ec28 (patch)
tree99b0176c752289a4cdf014d7223210d44da8a54f /dbmodule.c
parent5975c8b663d6056608032f8f99dadbbcf55bb63e (diff)
merging git tree
git-svn-id: https://svn.ic-s.nl/svn/dbmail/trunk/dbmail@1958 7b491191-dbf0-0310-aff6-d879d4d69008
Diffstat (limited to 'dbmodule.c')
-rw-r--r--dbmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbmodule.c b/dbmodule.c
index e71a2be8..74ff5fb0 100644
--- a/dbmodule.c
+++ b/dbmodule.c
@@ -45,13 +45,13 @@ int db_load_driver(void)
memset(db, 0, sizeof(db_func_t));
if (strcasecmp(_db_params.driver, "PGSQL") == 0)
- driver = "dbpgsql";
+ driver = "pgsql";
else if (strcasecmp(_db_params.driver, "POSTGRESQL") == 0)
- driver = "dbpgsql";
+ driver = "pgsql";
else if (strcasecmp(_db_params.driver, "MYSQL") == 0)
- driver = "dbmysql";
+ driver = "mysql";
else if (strcasecmp(_db_params.driver, "SQLITE") == 0)
- driver = "dbsqlite";
+ driver = "sqlite";
else
trace(TRACE_FATAL, "db_init: unsupported driver: %s,"
" please choose from MySQL, PGSQL, SQLite",