From 0e4d49570bf862bb598caf61f2b968f9da04cf8c Mon Sep 17 00:00:00 2001 From: proller Date: Tue, 5 Sep 2017 20:13:00 +0300 Subject: [PATCH] LibraryDictionarySource fixes --- dbms/src/Dictionaries/LibraryDictionarySource.h | 2 +- .../tests/external_dictionaries/generate_and_test.py | 12 ++++++------ debian/source/format | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dbms/src/Dictionaries/LibraryDictionarySource.h b/dbms/src/Dictionaries/LibraryDictionarySource.h index 108bae5cd65..fdde72ab7cc 100644 --- a/dbms/src/Dictionaries/LibraryDictionarySource.h +++ b/dbms/src/Dictionaries/LibraryDictionarySource.h @@ -15,7 +15,7 @@ class Logger; namespace DB { -struct CStringsHolder; +class CStringsHolder; /// Allows loading dictionaries from dynamic libraries (.so) /// Experimental version diff --git a/dbms/tests/external_dictionaries/generate_and_test.py b/dbms/tests/external_dictionaries/generate_and_test.py index a51bf9a1f17..097b152b56e 100755 --- a/dbms/tests/external_dictionaries/generate_and_test.py +++ b/dbms/tests/external_dictionaries/generate_and_test.py @@ -389,16 +389,16 @@ def generate_dictionaries(args): '''.format(https_host=args.https_host, https_port=args.https_port, https_path=args.https_path) source_library = ''' - - {filename} - + + {filename} + '''.format(filename=os.path.abspath('../../../build/dbms/tests/external_dictionaries/dictionary_library/libdictionary_library.so')) # Todo? #source_library_c = ''' - # - # {filename} - # + # + # {filename} + # #'''.format(filename=os.path.abspath('../../../build/dbms/tests/external_dictionaries/dict_lib/libdict_library_c.so')) diff --git a/debian/source/format b/debian/source/format index 89ae9db8f88..163aaf8d82b 100644 --- a/debian/source/format +++ b/debian/source/format @@ -1 +1 @@ -3.0 (native) +3.0 (quilt)