- adjustments to pool stemming from changes made for [ticket:224].
overflow counter should only be decremented if the connection actually
succeeded. added a test script to attempt testing this.
+- fixed mysql reflection of default values to be PassiveDefault
0.2.6
- big overhaul to schema to allow truly composite primary and foreign
else:
argslist = re.findall(r'(\d+)', args)
coltype = coltype(*[int(a) for a in argslist], **kw)
-
- table.append_item(schema.Column(name, coltype,
+
+ colargs= []
+ if default:
+ colargs.append(schema.PassiveDefault(sql.text(default)))
+ table.append_item(schema.Column(name, coltype, *colargs,
**dict(primary_key=primary_key,
nullable=nullable,
- default=default
)))
tabletype = self.moretableinfo(connection, table=table)