From 4452519c7fe08151665a2c553589333dce46143a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 13 Oct 2006 16:58:55 +0000 Subject: [PATCH] - remove spurious semicomma from Firebird SQL statement (Lele Gaifax) --- lib/sqlalchemy/databases/firebird.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py index cdeede8fa1..fa090a89e5 100644 --- a/lib/sqlalchemy/databases/firebird.py +++ b/lib/sqlalchemy/databases/firebird.py @@ -156,8 +156,8 @@ class FireBirdDialect(ansisql.ANSIDialect): def has_table(self, connection, table_name): tblqry = """\ SELECT count(*) - FROM RDB$RELATION_FIELDS R - WHERE R.RDB$RELATION_NAME=?;""" + FROM RDB$RELATIONS R + WHERE R.RDB$RELATION_NAME=?""" c = connection.execute(tblqry, [table_name.upper()]) row = c.fetchone() -- 2.47.2