From 9a38b08f1de6ce072b6c15f6ad3239ae9171b855 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Fri, 30 Nov 2012 11:38:43 +0200 Subject: [PATCH] amb: added some mdb updating support to test configuration file. --- src/plugins/tests/amb-conf.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/tests/amb-conf.lua b/src/plugins/tests/amb-conf.lua index 64b0733..685c9ce 100644 --- a/src/plugins/tests/amb-conf.lua +++ b/src/plugins/tests/amb-conf.lua @@ -90,11 +90,12 @@ test_handler = function (self, property) print("d.property : " .. d.property) print("d.signature: " .. d.signature) - self.basic_table_name = "foo" - table = self.outputs.test_table print("table name: " .. table.name) + + table:replace({ test_value = property }) + end amb.property { @@ -106,7 +107,7 @@ amb.property { index = { "test_value" }, create = true, columns = { - { "test_value", mdb.unsigned }, + { "test_value", mdb.string, 32 }, } } }, -- 2.7.4