tacitknowledge/autopatch — pull request #32 by bradrust (2012-09-27 02:53:12+00:00)
Title: Create systemname patch level row if it doesn't exist

In PatchTable.createPatchStoreIfNeeded, the try-catch is testing for the existence of the patches table itself. However, if the patches tables exists, it does *not* call the createSystemPatchRecord() method to create the patchlevel=0 for systemname.

The pull request just tests if there are any rows in the current patch row (by systemname) and if there are no rows, it calls createSystemPatchRecord().