A new topic, '2.0 RC3 - Issues with commented SQL (inserts)', has been made on 
a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=620.new#new

The text of the topic is shown below:

Hi Nathan,

Here is another thing I found in RC2 and also exists in RC3:

With this test.sql:

Code:
insert into test_table values(1, 'hello');
insert into test_table values(2, 'hello');
--insert into test_table values(3, 'hello');
insert into test_table values(4, 'hello');


with this changeset:
Code:
    <changeSet id="test-inserts" author="alexis" runOnChange="true">
        <delete tableName="test_table"></delete>
        <sqlFile path="test.sql" />
    </changeSet>
If you try to run it, it will fail, even if you put stripComments="true"

Could this be an issue?


On the other hand there was an issue in RC2 that it seems it was fixed in RC3:
Code:
insert into test_table values(1, 'hello');
insert into test_table values(2, 'hello');
/*insert into test_table 
values(3, 'hello');*/
insert into test_table values(4, 'hello');
insert into test_table values(4, 'hello');
insert into test_table values(4, 'hello');
insert into test_table values(4, 'hello');
insert into test_table values(4, 'hello');
insert into test_table values(4, 'hello');
insert into test_table values(4, 'hello');
insert into test_table values(4, 'hello');
/*
insert into test_table values(4, 'hello');
*/
insert into test_table values(5, 'hello');
insert into test_table values(5, 'hello');


If you run this with RC2 none of the key with value 4 is inserted. And it 
didn't run unless you put stripComments="true"

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to