summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-07-20 04:25:34 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-07-20 07:55:03 +0200
commit1b796287df8b3dc40ddd905c6f4822c53b36f9b1 (patch)
tree423a60a976989e8c67887956d6b14cac79adb44d /editeng
parent553c128e3fdc4b9612c1150b30d7b89df2ae6fdd (diff)
tdf#162111: promote integer types automatically
The problem was, that importing an HTML table into Firebird, and creating a primary key, called OParameterUpdateHelper::updateInt for each record's primary key field. Since commit c07548447a564b2d142cc439a124b76e6a71dfbd (Related: tdf#108057 Use autoincrement for automatically added primary key, 2024-03-20), the type of autocreated primary key in Firebird databases is SQL_INT64, and before this change, OPreparedStatement::setInt failed when the real field's type wasn't strictly SQL_LONG. This allows Firebird SDBC's integral OPreparedStatement::set* methods to promote to larger numeric types capable to represent the values. Change-Id: I7615c8e9ffa29271d04cf264bb950cb76946dfd6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170787 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'editeng')
0 files changed, 0 insertions, 0 deletions