From c4130498c08552242797a698309af43ed5fff50c Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Wed, 1 Aug 2007 00:12:42 +0000 Subject: Promoted format_table_seq from mysql to ansisql. Formats a fully qualified table reference as a quoted sequence, suitable for '.'.joining or whatever. [ticket:666] --- lib/sqlalchemy/databases/mysql.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/sqlalchemy/databases/mysql.py') diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index d25d3d041..331b672bd 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1535,16 +1535,6 @@ class MySQLIdentifierPreparer(ansisql.ANSIIdentifierPreparer): # just leave everything as-is. return value - def format_table_seq(self, table, use_schema=True): - """Format table name and schema as a tuple.""" - - if use_schema and getattr(table, 'schema', None): - return (self.quote_identifier(table.schema), - self.format_table(table, use_schema=False)) - else: - return (self.format_table(table, use_schema=False), ) - - class MySQLCharsetOnConnect(object): """Use an alternate connection character set automatically.""" -- cgit v1.2.1