[interchange] * Add support for QUOTE_IDENTIFIERS, lack pointed out by Peter.

Mike Heins <[email protected]> Tue, 24 May 2016 15:24:32 +0000
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit d904b2190110519610ea6686e633add8a222daa0
Author: Mike Heins <[email protected]>
Date:   Tue May 24 09:40:23 2016 -0400

    * Add support for QUOTE_IDENTIFIERS, lack pointed out by Peter.

 lib/Vend/Table/DBI.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/Vend/Table/DBI.pm b/lib/Vend/Table/DBI.pm
index 0223e8d..518f9ff 100644
--- a/lib/Vend/Table/DBI.pm
+++ b/lib/Vend/Table/DBI.pm
@@ -1908,6 +1908,7 @@ sub set_field {
 
 	my $extra = '';
 	if( my $f = $s->[$CONFIG]{TIMESTAMP_FIELD} and exists $s->[$CONFIG]{NO_UPDATE}{$column} ) {
+		$f = $db->quote_identifier($f) if $config->{QUOTE_IDENTIFIERS};
 		$extra = "$f = $f, ";
 	}