On Fri, Feb 22, 2008 at 6:51 AM, Michael T. Dean &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 02/22/2008 01:27 AM, Michael T. Dean wrote:<br>
&gt;&gt;&gt;&gt; I have a similar question - but less radical. &nbsp;If I want to leave<br>
&gt;&gt;&gt;&gt; &#39;svn&#39; and go to 0.21-fixes - I assume the two databases are<br>
&gt;&gt;&gt;&gt; currently compatible (same schema).<br>
</div><div class="Ih2E3d">&gt; Check currentDatabaseVersion in mythtv/libs/libmythtv/dbcheck.cpp in the<br>
&gt; -fixes branch and make sure it&#39;s greater than or equal to the version<br>
&gt; you&#39;re currently using. &nbsp;The schema version number appears in the<br>
&gt; automatic backup you get (in trunk/0.21-fixes) before a schema change<br>
&gt; (i.e. mythconverg-&lt;schemaver&gt;-&lt;datetime&gt;.sql (perhaps .gz, too)).<br>
<br>
</div>Also should have mentioned that 0.21-fixes/trunk will try to do the<br>
right thing. &nbsp;I.e. if you have an older schema version than required and<br>
start mythfrontend, it will tell you start mythbackend or mythtv-setup<br>
to upgrade your DB (or use the -u flag to allow mythfrontend to upgrade<br>
the schema). &nbsp;If you have a newer schema version than required,<br>
mythtv-setup/mythbackend/mythfrontend will exit with an error saying you<br>
need to upgrade MythTV.<br>
<br>
In other words, though it doesn&#39;t completely keep you from shooting<br>
yourself in the foot (I&#39;m leaving out instructions for how to do so),<br>
with the automatic backup and the schema version checks/refusal to run<br>
with the wrong schema version, Myth now provides steel-toe boots to help<br>
minimize the damage you&#39;ll do.</blockquote><div><br>Thanks Mike, <br><br>I&#39;ve double checkd in dbcheck.cpp in both versions (0.21 fixes and trunk) that I&#39;ve checked out and both are on 1212 - so I&#39;ll give it a try.&nbsp; I&#39;ve been using trunk (very successfully) for over a year, but thought it might be a good time to take a breather and use a stable release for a while.&nbsp; It seemed like the perfect time to jump off the trunk treadmill, and I was worried that by the time the official release happened trunk may well be on a newer schema and I would have lost my window.&nbsp; Again - I&#39;m assuming (always a bad thing) that there should be no other major &#39;gotchas&#39; going from trunk to fixes (given both are on 1212).<br>
<br>I&#39;m pretty sure I&#39;ll miss the neat features that keep being added to trunk, and like a crack addict will come back to trunk within a month after release though!<br><br>Best regards,<br>Nick<br></div></div>