Skip to content

Commit

Permalink
Done DNET-192.
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet committed Oct 20, 2008
1 parent 405b913 commit 8671a47
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Expand Up @@ -275,7 +275,7 @@ public string GetServerVersion()
{
byte[] items = new byte[]
{
IscCodes.isc_info_isc_version,
IscCodes.isc_info_firebird_version,
IscCodes.isc_info_end
};

Expand Down
Expand Up @@ -578,7 +578,7 @@ public virtual string GetServerVersion()
{
byte[] items = new byte[]
{
IscCodes.isc_info_isc_version,
IscCodes.isc_info_firebird_version,
IscCodes.isc_info_end
};

Expand Down
Expand Up @@ -355,7 +355,7 @@ public string GetServerVersion()
{
byte[] items = new byte[]
{
IscCodes.isc_info_isc_version,
IscCodes.isc_info_firebird_version,
IscCodes.isc_info_end
};

Expand Down
5 changes: 1 addition & 4 deletions NETProvider/source/FirebirdSql/Data/Common/IscHelper.cs
Expand Up @@ -126,6 +126,7 @@ public static ArrayList ParseDatabaseInfo(byte[] buffer)
break;

case IscCodes.isc_info_isc_version:
case IscCodes.isc_info_firebird_version:
/* Version identification string of the database implementation:
* • 1 byte containing the number 1
* • 1 byte specifying the length, n, of the following string
Expand Down Expand Up @@ -245,10 +246,6 @@ public static ArrayList ParseDatabaseInfo(byte[] buffer)
// Misc
//

case IscCodes.isc_info_firebird_version:
info.Add(Encoding.Default.GetString(buffer, pos + 2, buffer[pos + 1]));
break;

case IscCodes.isc_info_db_class:
int serverClass = VaxInteger(buffer, pos, length);
if (serverClass == IscCodes.isc_info_db_class_classic_access)
Expand Down

0 comments on commit 8671a47

Please sign in to comment.