diff options
Diffstat (limited to 'mg_db_gd_mysql.c')
-rw-r--r-- | mg_db_gd_mysql.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mg_db_gd_mysql.c b/mg_db_gd_mysql.c index 8acda12..5c4dc46 100644 --- a/mg_db_gd_mysql.c +++ b/mg_db_gd_mysql.c @@ -632,8 +632,6 @@ mgDbGd::RemoveFromCollection (const string Name, const vector<mgItem*>&items, mg bool mgDbGd::FieldExists(string table, string field) { - if (!Connect()) - return false; char *b; asprintf(&b,"DESCRIBE %s %s",table.c_str(),field.c_str()); mgQuery q(m_db,b); |