Changeset: 8951649d61dd for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8951649d61dd
Modified Files:
sql/test/BugTracker-2009/Tests/decimal_needs_truncation.SF-2605686.sql
sql/test/BugTracker-2009/Tests/prepare_commit_execute.SF-2606020.sql
sql/test/BugTracker-2009/Tests/prepare_decimal_bug.SF-2831994.sql
Branch: Aug2011
Log Message:
fix/approve some tests wrt prepared ids
diffs (40 lines):
diff --git
a/sql/test/BugTracker-2009/Tests/decimal_needs_truncation.SF-2605686.sql
b/sql/test/BugTracker-2009/Tests/decimal_needs_truncation.SF-2605686.sql
--- a/sql/test/BugTracker-2009/Tests/decimal_needs_truncation.SF-2605686.sql
+++ b/sql/test/BugTracker-2009/Tests/decimal_needs_truncation.SF-2605686.sql
@@ -7,7 +7,7 @@ insert into testdec values (0.12345);
select * from testdec;
PREPARE INSERT INTO testdec (testdec) values (?);
-exec 0(0.12345);
+exec 6(0.12345);
select * from testdec;
diff --git
a/sql/test/BugTracker-2009/Tests/prepare_commit_execute.SF-2606020.sql
b/sql/test/BugTracker-2009/Tests/prepare_commit_execute.SF-2606020.sql
--- a/sql/test/BugTracker-2009/Tests/prepare_commit_execute.SF-2606020.sql
+++ b/sql/test/BugTracker-2009/Tests/prepare_commit_execute.SF-2606020.sql
@@ -3,11 +3,11 @@ create table pce (i int, s string);
commit;
start transaction;
prepare insert into pce (i,s) values (?,?);
-exec 0(1,'test 1');
+exec 2(1,'test 1');
select * from pce;
commit;
start transaction;
-exec 0(2,'test 2');
+exec 2(2,'test 2');
select * from pce;
commit;
drop table pce;
diff --git a/sql/test/BugTracker-2009/Tests/prepare_decimal_bug.SF-2831994.sql
b/sql/test/BugTracker-2009/Tests/prepare_decimal_bug.SF-2831994.sql
--- a/sql/test/BugTracker-2009/Tests/prepare_decimal_bug.SF-2831994.sql
+++ b/sql/test/BugTracker-2009/Tests/prepare_decimal_bug.SF-2831994.sql
@@ -4,6 +4,6 @@ create table "test2831994" (
"value2" DECIMAL (5, 5)
);
prepare insert into "test2831994"("id","value","value2") values (?, ?, ?);
-exec 0 (3,0.0,2.34);
+exec 2 (3,0.0,2.34);
select * from test2831994;
drop table test2831994;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list