Package: dbconfig-common
Version: 1.8.29+etch1
Severity: minor
Tags: patch
Hi,
it looks like initial data in the db-test-mysql-2.1 example is wrong:
the version number inserted into the database is 2.0 and not 2.1.
The number is correctly changed on upgrade from db-test-mysql-2.0,
but a fresh install of db-test-mysql-2.1 will end up with '2.0'
in the database.
Patch attached; I'm just learning dbconfig-common so I hope I didn't
miss something obvious :)
Cheers,
--
Niko Tyni [EMAIL PROTECTED]
--- examples/db-test-mysql-2.1/mysql.sql 2007/04/25 19:17:00 1.1
+++ examples/db-test-mysql-2.1/mysql.sql 2007/04/25 19:17:05
@@ -10,4 +10,4 @@
insert into foo values (1, 'foo');
insert into foo values (2, 'bar');
delete from mytable;
-insert into mytable values ('2.0');
+insert into mytable values ('2.1');