From 2c5ca5ef53522e540476daf890019d21c7cd13c9 Mon Sep 17 00:00:00 2001 From: "WQY\\qiong" Date: Fri, 9 Jun 2023 09:34:53 +0800 Subject: [PATCH] Add more temp table for calculation --- script/sql/create/32.region.sql | 10 +++++++++- script/sql/drop/32.region.sql | 4 +++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/script/sql/create/32.region.sql b/script/sql/create/32.region.sql index 9f52f6a..588836b 100644 --- a/script/sql/create/32.region.sql +++ b/script/sql/create/32.region.sql @@ -25,9 +25,17 @@ create table temp_node ); -create table temp_link +create table temp_link_1 ( link varchar(32) primary key references _link(id) +, geom geometry not null unique +); + + +create table temp_link_2 +( + link varchar(32) primary key references _link(id) +, geom geometry not null unique ); diff --git a/script/sql/drop/32.region.sql b/script/sql/drop/32.region.sql index 9b38883..8a28409 100644 --- a/script/sql/drop/32.region.sql +++ b/script/sql/drop/32.region.sql @@ -1,6 +1,8 @@ drop table if exists temp_vd_topology; -drop table if exists temp_link; +drop table if exists temp_link_2; + +drop table if exists temp_link_1; drop table if exists temp_node;