Skip to content

Commit

Permalink
Merge pull request FederatedAI#3093 from FederatedAI/master-fix
Browse files Browse the repository at this point in the history
fix mysql storage table bug
  • Loading branch information
dylan-fan authored Sep 13, 2021
2 parents 6d82aeb + 1603433 commit 2c39286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fate_arch/storage/mysql/_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_options(self):
return self._options

def count(self, **kwargs):
sql = 'select count(*) from {}'.format(self._address._name)
sql = 'select count(*) from {}'.format(self._address.name)
try:
self.cur.execute(sql)
self.con.commit()
Expand Down

0 comments on commit 2c39286

Please sign in to comment.