From 2cb2523b6a1e1f8000be69da3bdd4919859cee96 Mon Sep 17 00:00:00 2001 From: Nelson-He Date: Wed, 30 Nov 2022 16:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0namespace=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wasm/wasm_executor--1.0.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wasm/wasm_executor--1.0.sql b/wasm/wasm_executor--1.0.sql index ebaccd1..f5fc822 100644 --- a/wasm/wasm_executor--1.0.sql +++ b/wasm/wasm_executor--1.0.sql @@ -12,7 +12,8 @@ CREATE TABLE wasm.instances( ); CREATE TABLE wasm.exported_functions( - instanceid bigint, + instanceid bigint, + namespace text, funcname text, inputs text, outputs text @@ -113,7 +114,7 @@ BEGIN -- Insert the wasm information to gloable table INSERT INTO wasm.instances SELECT id, wasm_file FROM wasm_get_instances() WHERE id = current_instance_id; - INSERT INTO wasm.exported_functions SELECT current_instance_id, funcname, inputs, outputs FROM wasm_get_exported_functions(current_instance_id); + INSERT INTO wasm.exported_functions SELECT current_instance_id, namespace, funcname, inputs, outputs FROM wasm_get_exported_functions(current_instance_id); -- Generate functions for each exported functions from the WebAssembly instance. FOR -- Gitee