Exemplo n.º 1
0
 def execute(self, table: SymbolTable, tree):
     super().execute(table, tree)
     result_name = self.name.execute(table, tree)
     table.set_current_db(result_name)
     return True
Exemplo n.º 2
0
 def execute(self, table: SymbolTable, tree):
     super().execute(table, tree)
     result_name = self.name.execute(table, tree)
     table.set_current_db(result_name)
     return "You are using \'" + str(result_name) + "\' DB"