From: <car...@us...> - 2004-08-05 11:12:23
|
Update of /cvsroot/firebird/NETProvider/NETProvider_17/source/FirebirdSql.Data.Firebird/DbSchema In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2045 Modified Files: FbDbSchema.cs Log Message: 2004-08-05 Carlos Guzman Alvarez <car...@te...> * FirebirdSql.Data.Firebird/DbSchema/FbDbSchema.cs: - Added a little hack for the Tables schema restrictions. Index: FbDbSchema.cs =================================================================== RCS file: /cvsroot/firebird/NETProvider/NETProvider_17/source/FirebirdSql.Data.Firebird/DbSchema/FbDbSchema.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -b -U3 -r1.5 -r1.6 --- FbDbSchema.cs 1 Aug 2004 12:26:44 -0000 1.5 +++ FbDbSchema.cs 5 Aug 2004 11:12:13 -0000 1.6 @@ -122,12 +122,17 @@ { if (restrictions[i] != null) { + if (i == 1 && (this.schemaName == "Tables")) + { } + else + { FbParameter p = schema.Parameters.Add(String.Format("@p{0}", index++), restrictions[i].ToString()); p.FbDbType = FbDbType.VarChar; p.Size = 255; } } } + } return schema; } |