stc_db_initialize_once();
+#ifndef TIZEN_TV_EXT
EXEC(STC_ERROR_NONE, table_statistics_prepare(database));
EXEC(STC_ERROR_NONE, table_restrictions_prepare(database));
EXEC(STC_ERROR_NONE, table_counters_prepare(database));
+#endif
EXEC(STC_ERROR_NONE, table_firewall_prepare(database));
EXEC(STC_ERROR_NONE, stc_init_db_guard());
return TRUE; //LCOV_EXCL_LINE
}
+#ifndef TIZEN_TV_EXT
table_statistics_finalize();
table_restrictions_finalize();
table_counters_finalize();
+#endif
table_firewall_finalize();
sqlite3_close(database);