From fac45a6882d622f46f08febdec3f7ad688091457 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Sat, 10 Sep 2016 16:28:02 +0800 Subject: [PATCH] =?UTF-8?q?maat=5Ftest=E4=B8=AD=E5=90=AF=E7=94=A8=E6=B5=81?= =?UTF-8?q?=E5=BC=8F=E6=89=AB=E6=8F=8F=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/maat_test.cpp | 3 +++ test/table_info.conf | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/test/maat_test.cpp b/test/maat_test.cpp index 67158bc..bb3ecc9 100644 --- a/test/maat_test.cpp +++ b/test/maat_test.cpp @@ -513,6 +513,9 @@ int main(int argc,char* argv[]) test_unescape_string_scan(feather,"KEYWORDS_TABLE",&mid); Maat_clean_status(&mid); + test_str_stream_scan(feather,"HTTP_URL", &mid); + Maat_clean_status(&mid); + test_table_conjunction(feather, "HTTP_URL", "HTTP_HOST", &mid); Maat_clean_status(&mid); diff --git a/test/table_info.conf b/test/table_info.conf index 39f7fe9..4e51399 100644 --- a/test/table_info.conf +++ b/test/table_info.conf @@ -8,8 +8,8 @@ #id name type src_charset dst_charset do_merge 0 COMPILE compile GBK GBK no 0 1 GROUP group GBK GBK no 0 -2 HTTP_URL expr UTF8 GBK/BIG5/UNICODE/UTF8/url_encode_gb2312/url_encode_utf8 yes 128 quickon -2 HTTP_HOST expr UTF8 GBK/BIG5/UNICODE/UTF8/url_encode_gb2312/url_encode_utf8 yes 128 quickon +2 HTTP_URL expr UTF8 GBK/BIG5/UNICODE/UTF8/url_encode_gb2312/url_encode_utf8 yes 128 quickoff +2 HTTP_HOST expr UTF8 GBK/BIG5/UNICODE/UTF8/url_encode_gb2312/url_encode_utf8 yes 128 quickoff 3 KEYWORDS_TABLE expr UTF8 GBK/BIG5/UNICODE/UTF8/unicode_ascii_esc/unicode_ascii_aligned/unicode_ncr_dec/unicode_ncr_hex yes 0 4 IP_CONFIG ip GBK GBK no 0 5 CONTENT_SIZE intval GBK GBK no 0