server/sources/native.py
branchstable
changeset 5168 1ab032df5ca3
parent 5131 88b5ca8da928
child 5214 3285b6e3b930
--- a/server/sources/native.py	Tue Apr 06 19:27:47 2010 +0200
+++ b/server/sources/native.py	Tue Apr 06 19:42:37 2010 +0200
@@ -669,6 +669,15 @@
             pass
         return None
 
+    def make_temp_table_name(self, table):
+        try: # XXX remove this once 
+            return self.dbhelper.temporary_table_name(table)
+        except AttributeError:
+            import warnings
+            warnings.warn('Please hg up logilab.database')
+            return table
+
+
     def temp_table_def(self, selected, sol, table):
         return make_schema(selected, sol, table, self.dbhelper.TYPE_MAPPING)