From 471a6b42d098b1e6f487b2d448caa0663c9cef90 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 12 May 2016 23:43:43 -0400 Subject: [PATCH] Mysql: rename field 'long' --- gramps/plugins/database/dbapi_support/mysql.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/plugins/database/dbapi_support/mysql.py b/gramps/plugins/database/dbapi_support/mysql.py index a4f6417ed..d50fa3e24 100644 --- a/gramps/plugins/database/dbapi_support/mysql.py +++ b/gramps/plugins/database/dbapi_support/mysql.py @@ -31,6 +31,7 @@ class MySQL: query = query.replace("REAL", "DOUBLE") query = query.replace("change", "change_") query = query.replace("desc", "desc_") + query = query.replace(" long ", " long_ ") ## LIMIT offset, count ## count can be -1, for all ## LIMIT -1