Index: src/libchcore/TSQLiteStatement.cpp
===================================================================
diff -u -N -r1875711000138ff9d4185c2e3e74d455533de8a8 -ra5aa3c3cb78f3767641de2627d1a49a1dc35b429
--- src/libchcore/TSQLiteStatement.cpp	(.../TSQLiteStatement.cpp)	(revision 1875711000138ff9d4185c2e3e74d455533de8a8)
+++ src/libchcore/TSQLiteStatement.cpp	(.../TSQLiteStatement.cpp)	(revision a5aa3c3cb78f3767641de2627d1a49a1dc35b429)
@@ -299,6 +299,16 @@
 		uiValue = GetUInt(iCol);
 	}
 
+	void TSQLiteStatement::GetValue(int iCol, long& lValue)
+	{
+		lValue = GetLong(iCol);
+	}
+
+	void TSQLiteStatement::GetValue(int iCol, unsigned long& ulValue)
+	{
+		ulValue = GetULong(iCol);
+	}
+
 	void TSQLiteStatement::GetValue(int iCol, long long& llValue)
 	{
 		llValue = GetInt64(iCol);