diff options
Diffstat (limited to 'mg_thread_sync.c')
-rw-r--r-- | mg_thread_sync.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mg_thread_sync.c b/mg_thread_sync.c index 85b55a6..710eb1c 100644 --- a/mg_thread_sync.c +++ b/mg_thread_sync.c @@ -1,6 +1,4 @@ -#include <mysql/mysql.h> - #include "mg_thread_sync.h" #include "mg_sync.h" @@ -49,15 +47,10 @@ bool mgThreadSync::Sync(char * const * path_argv, bool delete_missing ) void mgThreadSync::Action() { - mysql_thread_init(); - if( m_path ) { - mgSync s; + mgDbGd s(true); s.Sync( m_path, m_delete ); } - - mysql_thread_end(); } - |