Commit 89b48397 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

ZMySQLDA: ROCKSDB does not support the create option 'TEMPORARY'

parent 93295ca5
...@@ -599,12 +599,12 @@ class DB(TM): ...@@ -599,12 +599,12 @@ class DB(TM):
return create_sql return create_sql
name_new = '`_%s_new`' % name name_new = '`_%s_new`' % name
self.query('CREATE TEMPORARY TABLE %s %s' self.query('CREATE TABLE %s %s'
% (name_new, create_sql[m.end():])) % (name_new, create_sql[m.end():]))
try: try:
new_list, new_set, new_default = self._getTableSchema(name_new) new_list, new_set, new_default = self._getTableSchema(name_new)
finally: finally:
self.query("DROP TEMPORARY TABLE " + name_new) self.query("DROP TABLE " + name_new)
src = [] src = []
q = src.append q = src.append
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment