Add workaround to get mysql.data dictionary while adding new pages/fams
This commit is contained in:
@@ -91,6 +91,8 @@ class MYSQL_RED_PAGE( MYSQL_RED ):
|
|||||||
|
|
||||||
type( self ).connection.commit()
|
type( self ).connection.commit()
|
||||||
|
|
||||||
|
self.data = self.get_page()
|
||||||
|
|
||||||
|
|
||||||
def update_page( self, rev_id=None, page_title=None, status=0 ):
|
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()
|
type( self ).connection.commit()
|
||||||
|
|
||||||
|
self.data = self.get_fam()
|
||||||
|
|
||||||
def update_fam( self, red_page_id, beginning, ending, status ):
|
def update_fam( self, red_page_id, beginning, ending, status ):
|
||||||
"""
|
"""
|
||||||
Updates the red fam row in MySQL-Database for given fam_hash
|
Updates the red fam row in MySQL-Database for given fam_hash
|
||||||
|
|||||||
Reference in New Issue
Block a user