annotate oracle_schema.patch @ 514:ea547649a1b8

fix case in oracle queries
author catherine.devlin@gmail.com
date Tue, 02 Nov 2010 04:14:00 -0400
parents 0b71da565ebe
children
rev   line source
447
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
1 171c171,174
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
2 < schema[table_key] = Table(table_name, cursor, owner)
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
3 ---
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
4 > try:
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
5 > schema[table_key] = Table(table_name, cursor, owner)
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
6 > except Exception, e:
0b71da565ebe added gerald patches
catherine@dellzilla
parents:
diff changeset
7 > LOG.warning('Failed to get metadata for table %s.%s: %s' % (owner, table_name, str(e)))