diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-10-28 22:38:28 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-10-29 22:50:02 +0100 |
commit | 5b33b1a6b0f251202e89cef436efd4719c3fc0c4 (patch) | |
tree | f1db027a61d86e721415b0becc88c635d97539d5 /emfio | |
parent | 6b367107d7c51fc868ab0a116019ee26408a0395 (diff) |
tdf#137801: Firebird fix warn when changing a table having a field type BLOB
OTableController::alterColumns() from dbaccess/source/ui/tabledesign/TableController.cxx
checks if a column changes with:
if((nType != pField->GetType() ||
sTypeName != pField->GetTypeName() ||
etc
See https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/tabledesign/TableController.cxx?r=585cefd1#1002
So for example for "BLOB" field, LO was comparing "SQL_BLOB" from "sTypeName" with "BLOB" from "pField->GetTypeName()"
In the same way, LO was comparing "SQL_LONG" from "sTypeName" with "INTEGER" from "pField->GetTypeName()"
or "SQL_VARYING" from "sTypeName" with "VARCHAR" from "pField->GetTypeName()"
Change-Id: I3632f3ee5845b4f07d606fddd586951a3deea67f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104979
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'emfio')
0 files changed, 0 insertions, 0 deletions