From 2f05a11188e17ef72ec8c1b63a148fcb4940f787 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Sat, 21 Apr 2012 11:26:15 -0500 Subject: [PATCH] fixed uploads in GoogleSQLAdapter, thanks Matt, issue 746 --- VERSION | 2 +- gluon/dal.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 4c040811..46f5fc9a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-04-21 11:10:13) dev +Version 1.99.7 (2012-04-21 11:25:47) dev diff --git a/gluon/dal.py b/gluon/dal.py index a03c2007..658a59ba 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -3639,6 +3639,7 @@ class UseDatabaseStoredFile: self.db.commit() class GoogleSQLAdapter(UseDatabaseStoredFile,MySQLAdapter): + uploads_in_blob = True def __init__(self, db, uri='google:sql://realm:domain/database', pool_size=0, folder=None, db_codec='UTF-8',