Re: MythTV 29 uploaded

トップ ページ

このメッセージに返信
著者: Nick Morrott
日付:  
To: dmo-discussion
題目: Re: MythTV 29 uploaded
On 3 August 2017 at 08:10, Stephan Seitz
<stse+debian@???> wrote:
> On Do, Aug 03, 2017 at 01:03:43 +1000, Craig Sanders wrote:
>>
>> I'm having a look at that code now, and can't see it doing more than the
>> following yet (but it would be nice to get confirmation beore i run it :)
>
>
> I think I did the same thing.
>
>>    INSERT INTO settings (value, data, hostname) VALUES ('DBSchemaVer',
>> '1347', NULL);

>
>
> Shouldn’t this be UPDATE instead of INSERT?


The DBSchemaVer row in the settings table is DELETEd prior to the
INSERT with the updated schema version.

Cheers,
Nick