diff --git a/geoalchemy2/dialects/sqlite.py b/geoalchemy2/dialects/sqlite.py index 5cc14b97..a939e141 100644 --- a/geoalchemy2/dialects/sqlite.py +++ b/geoalchemy2/dialects/sqlite.py @@ -26,7 +26,7 @@ def load_spatialite(dbapi_conn, connection_record): dbapi_conn.enable_load_extension(True) dbapi_conn.load_extension(os.environ["SPATIALITE_LIBRARY_PATH"]) dbapi_conn.enable_load_extension(False) - dbapi_conn.execute("SELECT InitSpatialMetaDataFull();") + dbapi_conn.execute("SELECT InitSpatialMetaData();") def _get_spatialite_attrs(bind, table_name, col_name):