~jbaker/storm/nose_plugin

Viewing all changes in revision 336.

  • Committer: James Henstridge
  • Date: 2009-10-23 01:41:22 UTC
  • mfrom: (335.1.3 storm.bug-457801)
  • Revision ID: james@jamesh.id.au-20091023014122-tv4wz58ekz6pxu92
Always allow the result of min(), max() and sum() to be None.

Previously, if the column the aggregate was being applied to had 
allow_none=False set, and the aggregate evaluated to NULL (e.g. if the 
result set was empty), then a NoneError was raised.
[r=jdo,jkakar] [f=457801]

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: