8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:43:03 +01:00
This commit is contained in:
asfernandes 2007-10-28 16:11:02 +00:00
parent 02e9829005
commit 4253fb00a8
2 changed files with 3 additions and 3 deletions

View File

@ -540,7 +540,7 @@ UCHAR DataTypeUtil::maxBytesPerChar(UCHAR charSet)
return INTL_charset_lookup(tdbb, charSet)->maxBytesPerChar();
}
USHORT DataTypeUtil::getDialect()
USHORT DataTypeUtil::getDialect() const
{
return (tdbb->tdbb_database->dbb_flags & DBB_DB_SQL_dialect_3) ? 3 : 1;
}

View File

@ -50,7 +50,7 @@ public:
public:
virtual UCHAR maxBytesPerChar(UCHAR charSet) = 0;
virtual USHORT getDialect() = 0; // returns client dialect in DSQL and database dialect in JRD
virtual USHORT getDialect() const = 0; // returns client dialect in DSQL and database dialect in JRD
};
@ -68,7 +68,7 @@ public:
public:
virtual UCHAR maxBytesPerChar(UCHAR charSet);
virtual USHORT getDialect();
virtual USHORT getDialect() const;
private:
thread_db* tdbb;