1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-17 07:40:25 +00:00

Only mysql can use config option 'create_tables'.

This commit is contained in:
cuihaikuo
2018-07-09 15:18:06 +08:00
parent 6eab55e149
commit 7c09f53be6
5 changed files with 8 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ seaf_share_manager_new (SeafileSession *seaf)
int
seaf_share_manager_start (SeafShareManager *mgr)
{
if (!mgr->seaf->create_tables)
if (!mgr->seaf->create_tables && seaf_db_type (mgr->seaf->db) == SEAF_DB_TYPE_MYSQL)
return 0;
SeafDB *db = mgr->seaf->db;