<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 9:41 AM, Edward Wang <span dir="ltr"><<a href="mailto:git@videolan.org" target="_blank">git@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":266" class="a3s" style="overflow:hidden"> dropMediaTableQuery(db);<br>
createMediaTableQuery(db);<br>
}<br>
+ // Upgrade incrementally from oldVersion to newVersion<br>
+ for(int i = oldVersion+1; i <= newVersion; i++) {</div></blockquote></div><br><br></div><div class="gmail_extra">Isn't the database dropped and recreated anyway before the loop?<br></div></div>