mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:00:16 +08:00
DBO_TYPE is used in different contexts, not only as deprecated column name for engine.
This commit is contained in:
@ -291,8 +291,8 @@ const
|
|||||||
SContainsNulCharGrid = 'This cell contains NUL characters. They have been converted to ASCII spaces (SP). Press ESC to cancel editing.';
|
SContainsNulCharGrid = 'This cell contains NUL characters. They have been converted to ASCII spaces (SP). Press ESC to cancel editing.';
|
||||||
|
|
||||||
DBO_NAME = 'Name';
|
DBO_NAME = 'Name';
|
||||||
|
DBO_TYPE = 'Type';
|
||||||
DBO_ENGINE = 'Engine';
|
DBO_ENGINE = 'Engine';
|
||||||
DBO_ENGINE_DEPRECATED = 'Type';
|
|
||||||
DBO_VERSION = 'Version';
|
DBO_VERSION = 'Version';
|
||||||
DBO_ROWFORMAT = 'Row_format';
|
DBO_ROWFORMAT = 'Row_format';
|
||||||
DBO_ROWS = 'Rows';
|
DBO_ROWS = 'Rows';
|
||||||
|
@ -253,7 +253,7 @@ begin
|
|||||||
if ds.FindField(DBO_ENGINE) <> nil then
|
if ds.FindField(DBO_ENGINE) <> nil then
|
||||||
engine := ds.FieldByName(DBO_ENGINE).AsString
|
engine := ds.FieldByName(DBO_ENGINE).AsString
|
||||||
else
|
else
|
||||||
engine := ds.FieldByName(DBO_ENGINE_DEPRECATED).AsString;
|
engine := ds.FieldByName(DBO_TYPE).AsString;
|
||||||
comboEngine.ItemIndex := comboEngine.Items.IndexOf(engine);
|
comboEngine.ItemIndex := comboEngine.Items.IndexOf(engine);
|
||||||
if ds.FindField(DBO_COLLATION) <> nil then
|
if ds.FindField(DBO_COLLATION) <> nil then
|
||||||
comboCollation.ItemIndex := comboCollation.Items.IndexOf(ds.FieldByName(DBO_COLLATION).AsString);
|
comboCollation.ItemIndex := comboCollation.Items.IndexOf(ds.FieldByName(DBO_COLLATION).AsString);
|
||||||
|
Reference in New Issue
Block a user