[chronojump] yomoClientSQLGenerator destroy tables deletes tests
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] yomoClientSQLGenerator destroy tables deletes tests
- Date: Tue, 26 Feb 2019 09:06:14 +0000 (UTC)
commit 361100f8585273b9636893dad23e8f0808e9fa1c
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Feb 26 09:45:00 2019 +0100
yomoClientSQLGenerator destroy tables deletes tests
exhibitions/yomoClientSQLGenerator.cs | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/exhibitions/yomoClientSQLGenerator.cs b/exhibitions/yomoClientSQLGenerator.cs
index 77bd320e..818a3143 100644
--- a/exhibitions/yomoClientSQLGenerator.cs
+++ b/exhibitions/yomoClientSQLGenerator.cs
@@ -100,7 +100,16 @@ class YomoClientGenerator
private void destroyOldData()
{
- string str = "DELETE FROM session";
+ string str = "DELETE FROM jump";
+ executeQuery(dbcmd, str);
+
+ str = "DELETE FROM run";
+ executeQuery(dbcmd, str);
+
+ str = "DELETE FROM encoder";
+ executeQuery(dbcmd, str);
+
+ str = "DELETE FROM session";
executeQuery(dbcmd, str);
str = "DELETE FROM personSession77";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]