From d96ffa130e8771adbbd717b92751d1c336db00ec Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Sun, 26 Feb 2012 16:19:40 +0000 Subject: [PATCH] Added file missed in r17588. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17589 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- .../contrib/gis/db/backends/mysql/compiler.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 django/contrib/gis/db/backends/mysql/compiler.py diff --git a/django/contrib/gis/db/backends/mysql/compiler.py b/django/contrib/gis/db/backends/mysql/compiler.py new file mode 100644 index 0000000000..4d2d78a81d --- /dev/null +++ b/django/contrib/gis/db/backends/mysql/compiler.py @@ -0,0 +1,22 @@ +from django.contrib.gis.db.models.sql.compiler import GeoSQLCompiler as BaseGeoSQLCompiler +from django.db.backends.mysql import compiler + +SQLCompiler = compiler.SQLCompiler + +class GeoSQLCompiler(BaseGeoSQLCompiler, SQLCompiler): + pass + +class SQLInsertCompiler(compiler.SQLInsertCompiler, GeoSQLCompiler): + pass + +class SQLDeleteCompiler(compiler.SQLDeleteCompiler, GeoSQLCompiler): + pass + +class SQLUpdateCompiler(compiler.SQLUpdateCompiler, GeoSQLCompiler): + pass + +class SQLAggregateCompiler(compiler.SQLAggregateCompiler, GeoSQLCompiler): + pass + +class SQLDateCompiler(compiler.SQLDateCompiler, GeoSQLCompiler): + pass