Subject: | Support for SET GENERATOR (Firebird 2.1) |
Date: | Fri, 24 Jul 2009 15:49:05 +0200 |
To: | bug-DBD-InterBase [...] rt.cpan.org |
From: | Bram Stappers <bram.stappers [...] gmail.com> |
Info
DBD-InterBase-0.48
Perl:
This is perl, v5.8.8 built for MSWin32-x86-multi-thread
(with 12 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Binary build 824 [287188] provided by ActiveState http://www.ActiveState.com
Built Sep 3 2008 11:14:55
System:
FB2PATH=C:\Program Files\Firebird\Firebird_2_1\bin (Firebird 2.1.0.17798)
OS=Windows_NT (WinXP Pro SP 2)
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f07
Problem
When running trying to perform the following query
SET GENERATOR CodingRule_ID_Generator TO 410
for a generator that was created as
CREATE GENERATOR CodingRule_ID_Generator;
I get
DBD::InterBase::db prepare failed: Statement type is not implemented
in this version of DBD::InterBase
Fix
--- dbdimp.c 2009-07-24 15:33:21.000000000 +0200
+++ dbdimp.c.new 2009-07-24 15:33:17.000000000 +0200
@@ -906,6 +906,7 @@
break;
case isc_info_sql_stmt_ddl:
+ case isc_info_sql_stmt_set_generator:
case isc_info_sql_stmt_exec_procedure:
/* no count_item to gather */
break;