Avoid bad method call to patchPatch() in DbTestRecorder
Bug: T193995 Change-Id: Ibc480b04463792b7cd720a6eb080e0960a30e440
This commit is contained in:
parent
8e7843197e
commit
ec3289524e
1 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,8 @@ class DbTestRecorder extends TestRecorder {
|
|||
|| !$this->db->tableExists( 'testitem' )
|
||||
) {
|
||||
print "WARNING> `testrun` table not found in database. Trying to create table.\n";
|
||||
$this->db->sourceFile( $this->db->patchPath( 'patch-testrun.sql' ) );
|
||||
$updater = DatabaseUpdater::newForDB( $this->db );
|
||||
$this->db->sourceFile( $updater->patchPath( $this->db, 'patch-testrun.sql' ) );
|
||||
echo "OK, resuming.\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue