Home | History | Annotate | Download | only in sql

Lines Matching refs:journal

675   // Should have both a main database file and a journal file because
677 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal"));
679 ASSERT_TRUE(base::PathExists(journal));
683 EXPECT_FALSE(base::PathExists(journal));
700 // Cause the journal file to be created. If the default
705 base::FilePath journal(db_path().value() + FILE_PATH_LITERAL("-journal"));
709 // read access for the database and journal.
711 ASSERT_TRUE(base::PathExists(journal));
716 EXPECT_TRUE(file_util::GetPosixFilePermissions(journal, &mode));
720 // changed for both the main database and the journal.
725 ASSERT_TRUE(base::PathExists(journal));
730 EXPECT_TRUE(file_util::GetPosixFilePermissions(journal, &mode));
738 ASSERT_FALSE(base::PathExists(journal));
743 // Verify that journal creation inherits the restriction.
745 ASSERT_TRUE(base::PathExists(journal));
747 EXPECT_TRUE(file_util::GetPosixFilePermissions(journal, &mode));