From 027fc48e1a1a29d8210b1e564fd7348cbbd09887 Mon Sep 17 00:00:00 2001 From: Jan Baumgarten Date: Wed, 16 Jul 2025 23:59:40 +0200 Subject: [PATCH] Keep the driver from removing quotes from rdb$field_source, so consumers get qotes if they are necessary. --- IscDbc/IscColumnsResultSet.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/IscDbc/IscColumnsResultSet.cpp b/IscDbc/IscColumnsResultSet.cpp index a2891f96..a4d1603b 100644 --- a/IscDbc/IscColumnsResultSet.cpp +++ b/IscDbc/IscColumnsResultSet.cpp @@ -290,11 +290,14 @@ bool IscColumnsResultSet::getDefSource (int indexIn, int indexTarget) while ( *++beg == ' ' ); while ( *end == ' ' ) end--; - if ( *beg == '\'' && *(beg + 1) != '\'' ) + // This removes quotes that are necessary. So it is commented out. + /* + if (*beg == '\'' && *(beg + 1) != '\'') { ++beg; --end; } + */ *end = '\0';