﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
4429	Mythmusic DBError reported when importing a CD	Roo <roo.watt@…>	paulh	"[15223] makes sure that the compilation flag is updated when metadata is updated.

The numRowsAffected check is causing a DBError to be reported if the UPDATE did not affect/change any rows.

As per: http://doc.trolltech.com/3.3/qsqlquery.html#numRowsAffected
{{{
If the query is not active (isActive() returns FALSE), -1 is returned.
}}}

So it seems the simple fix is to remove the ""|| query.numRowsAffected() <= 0"" test.

Attached is a patch to do just that."	defect	closed	minor	0.21	mythmusic	head	medium	fixed			0
