[chronojump] Minor change
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Minor change
- Date: Fri, 13 Jan 2017 13:09:14 +0000 (UTC)
commit deaaceefe1a091c3a34ea401935de6ee67144e09
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Jan 13 13:56:34 2017 +0100
Minor change
src/sqlite/jumpRj.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/sqlite/jumpRj.cs b/src/sqlite/jumpRj.cs
index 5bc40ea..6090bd5 100644
--- a/src/sqlite/jumpRj.cs
+++ b/src/sqlite/jumpRj.cs
@@ -60,9 +60,11 @@ class SqliteJumpRj : SqliteJump
public static int Insert (bool dbconOpened, string tableName, string uniqueID, int personID, int
sessionID, string type, double tvMax, double tcMax, double fall, double weight, string description, double
tvAvg, double tcAvg, string tvString, string tcString, int jumps, double time, string limited, string
angleString, int simulated )
{
+ Console.WriteLine("At SQL insert RJ");
+
if(! dbconOpened)
Sqlite.Open();
-
+
if(uniqueID == "-1")
uniqueID = "NULL";
@@ -77,8 +79,6 @@ class SqliteJumpRj : SqliteJump
Util.ConvertToPoint(tvString) + "\", \"" + Util.ConvertToPoint(tcString) +
"\", " +
jumps + ", " + Util.ConvertToPoint(time) + ", \"" + limited + "\", \"" +
angleString + "\", " + simulated +")" ;
LogB.SQL(dbcmd.CommandText.ToString());
-
- LogB.Information("SQL going to insert RJ, status: " + dbcon.State.ToString());
dbcmd.ExecuteNonQuery();
//int myLast = dbcon.LastInsertRowId;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]