[DBI Backend] Remove unused TableOpTypes.

This commit is contained in:
John Ralls 2018-06-01 13:59:06 -07:00
parent 74cbde2d4f
commit 464fdeeb26
2 changed files with 1 additions and 10 deletions

View File

@ -51,9 +51,7 @@ class GncSqlRow;
*/
enum TableOpType
{
drop = 0,
empty,
backup,
backup = 0,
rollback,
drop_backup
};

View File

@ -672,13 +672,6 @@ GncDbiSqlConnection::table_operation(TableOpType op) noexcept
case drop_backup:
result = table_manage_backup (table, op);
break;
case empty:
result = dbi_conn_queryf (m_conn, "DELETE FROM TABLE %s",
table.c_str());
break;
case drop:
default:
result = dbi_conn_queryf (m_conn, "DROP TABLE %s", table.c_str());
break;
}
}