Add quote arround table name

This commit is contained in:
Cédric Krier committed 2009-10-02 13:11:21 +02:00
1 parent 7eb928752e
commit 68392d192d
1 file changed
+1 -1
+1 -1
View File
@@ -1282,7 +1282,7 @@ class ModelSQL(ModelStorage):
table_query = '(' + table_query + ') AS '
if self._history and context.get('_datetime'):
table_query = self._table + '__history AS '
table_query = '"' + self._table + '__history" AS '
tables = [table_query + '"' + self._table + '"']