Add workaround to get mysql.data dictionary while adding new pages/fams

This commit is contained in:
2015-09-10 23:02:38 +02:00
parent 7535172d30
commit 0f4ce7c4c9

View File

@@ -91,6 +91,8 @@ class MYSQL_RED_PAGE( MYSQL_RED ):
type( self ).connection.commit()
self.data = self.get_page()
def update_page( self, rev_id=None, page_title=None, status=0 ):
"""
@@ -167,6 +169,8 @@ class MYSQL_RED_FAM( MYSQL_RED ):
type( self ).connection.commit()
self.data = self.get_fam()
def update_fam( self, red_page_id, beginning, ending, status ):
"""
Updates the red fam row in MySQL-Database for given fam_hash