fixed issue 1152, gae sql varchar limit, and fixed typo in fpdf

This commit is contained in:
mdipierro
2012-11-17 11:46:46 -06:00
parent e3046845bf
commit 019d3e07b5
6 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ class HTML2FPDF(HTMLParser):
def __init__(self, pdf, image_map = None):
HTMLParser.__init__(self)
self.image_map = self.image_map or lambda src: src
self.image_map = image_map or (lambda src: src)
self.style = {}
self.pre = False
self.href = ''
+1 -1
View File
@@ -3970,7 +3970,7 @@ class DatabaseStoredFile:
self.filename = filename
self.mode = mode
if not self.web2py_filesystem:
self.db.executesql("CREATE TABLE IF NOT EXISTS web2py_filesystem (path VARCHAR(512), content LONGTEXT, PRIMARY KEY(path) ) ENGINE=InnoDB;")
self.db.executesql("CREATE TABLE IF NOT EXISTS web2py_filesystem (path VARCHAR(255), content LONGTEXT, PRIMARY KEY(path) ) ENGINE=InnoDB;")
DatabaseStoredFile.web2py_filesystem = True
self.p=0
self.data = ''