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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user