Skip to content

Commit 7a1b1a2

Browse files
committed
Firebird driver: Introduced virtual property for future override of identifire length
1 parent 1166bee commit 7a1b1a2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Orm/Xtensive.Orm.Firebird/Sql.Drivers.Firebird/v2_5/ServerInfoProvider.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,13 @@ namespace Xtensive.Sql.Drivers.Firebird.v2_5
1111
{
1212
internal class ServerInfoProvider : Info.ServerInfoProvider
1313
{
14-
private const int MaxIdentifierLength = 30;
14+
private const int Fb25MaxIdentifierLength = 30;
1515
private const int DoNotKnow = int.MaxValue;
1616
private const int MaxCharLength = 2000; // physical constraint=32762, but because of http://tracker.firebirdsql.org/browse/CORE-1117;
1717
// The limit is 64kB for statement text, 64kB for compiled BLR and 48kB for execution plan.
1818
private const int MaxTextLength = int.MaxValue;
1919

20-
private readonly string databaseName;
21-
private readonly string defaultSchemaName;
20+
protected virtual int MaxIdentifierLength => Fb25MaxIdentifierLength;
2221

2322
public override EntityInfo GetCollationInfo()
2423
{

0 commit comments

Comments
 (0)