|
From: <sv...@de...> - 2005-06-07 21:24:24
|
Author: pcamacho
Date: 2005-06-07 17:24:22 -0400 (Tue, 07 Jun 2005)
New Revision: 1257
Modified:
humano2/trunk/core/db/mssql/mssqlComplex.cs
Log:
FIX: for mssql boolean is represented with 0 or 1, not 't' or 'f'
Modified: humano2/trunk/core/db/mssql/mssqlComplex.cs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- humano2/trunk/core/db/mssql/mssqlComplex.cs 2005-06-07 20:49:24 UTC (=
rev 1256)
+++ humano2/trunk/core/db/mssql/mssqlComplex.cs 2005-06-07 21:24:22 UTC (=
rev 1257)
@@ -7,7 +7,7 @@
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
-// $Id: pgsqlComplex.cs 681 2005-04-18 10:38:21Z marijn $
+// $Id$
//
=20
using System;
@@ -883,7 +883,7 @@
override public string GetPertinenceForAttribute(string attribut=
eId)
{
string req =3D "select \"id_entity\" from attribute where \"=
classId\" in (select \"to\" from pertinence where id_entity =3D " + Conve=
rt.ToInt32(attributeId) + ") ";
- req +=3D"and \"isPrimary\"=3D't'"; //Only takes the p=
rimary attribute of the pertinence
+ req +=3D"and \"isPrimary\"=3D1"; //Only takes the pri=
mary attribute of the pertinence
=20
DataTable dt =3D doSelect(req);
if( (dt =3D=3D null) || (dt.Rows.Count =3D=3D 0))
Property changes on: humano2/trunk/core/db/mssql/mssqlComplex.cs
___________________________________________________________________
Name: svn:keywords
+ Id
|