bulk_insert fails with boolean values - Invalid boolean value
-------------------------------------------------------------

                 Key: CORE-4064
                 URL: http://tracker.firebirdsql.org/browse/CORE-4064
             Project: Firebird Core
          Issue Type: Bug
          Components: ISQL
    Affects Versions: 3.0.0
         Environment: linux, amd64
            Reporter: Treeve Jelbert


SQL> set bulk_insert insert into x(a,b,c) values (?,?,?);
BULK> ('f1',true, false)
Invalid boolean value
Stopped prematurely due to error in line 57 with text:
('f1',true, false)
Going to EOF
Command error: set bulk_insert insert into x(a,b,c) values (?,?,?)


inserting single rows works ok.


create table x(
id smallint generated by default as identity,
a varchar(10),
b boolean,
c boolean,
primary key(id) USING INDEX PK_X);
set bulk_insert insert into x(a,b,c) values (?,?,?);
('f1',true, false)
('f2',TRUE, FALSE)
stop


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to