mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 02:43:03 +01:00
Misc
This commit is contained in:
parent
02e9829005
commit
4253fb00a8
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user