Added replicaton listener library from https://github.com/SponsorPay/mysql-replication-listener and first prototype implementation for table replication consistency module

This commit is contained in:
Jan Lindström
2013-06-21 09:11:57 +03:00
parent 0fed3d624e
commit bc3a104e3f
176 changed files with 23519 additions and 0 deletions

View File

@ -0,0 +1,53 @@
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
SET(CMAKE_C_COMPILER_ARG1 "")
SET(CMAKE_C_COMPILER_ID "GNU")
SET(CMAKE_C_COMPILER_VERSION "4.7.2")
SET(CMAKE_C_PLATFORM_ID "Linux")
SET(CMAKE_AR "/usr/bin/ar")
SET(CMAKE_RANLIB "/usr/bin/ranlib")
SET(CMAKE_LINKER "/usr/bin/ld")
SET(CMAKE_COMPILER_IS_GNUCC 1)
SET(CMAKE_C_COMPILER_LOADED 1)
SET(CMAKE_COMPILER_IS_MINGW )
SET(CMAKE_COMPILER_IS_CYGWIN )
IF(CMAKE_COMPILER_IS_CYGWIN)
SET(CYGWIN 1)
SET(UNIX 1)
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
SET(CMAKE_C_COMPILER_ENV_VAR "CC")
IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_C_COMPILER_ID_RUN 1)
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
SET(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
SET(CMAKE_C_SIZEOF_DATA_PTR "8")
SET(CMAKE_C_COMPILER_ABI "ELF")
SET(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
IF(CMAKE_C_SIZEOF_DATA_PTR)
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
IF(CMAKE_C_COMPILER_ABI)
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
ENDIF(CMAKE_C_COMPILER_ABI)
IF(CMAKE_C_LIBRARY_ARCHITECTURE)
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
ENDIF()
SET(CMAKE_C_HAS_ISYSROOT "")
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")

View File

@ -0,0 +1,54 @@
SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
SET(CMAKE_CXX_COMPILER_ARG1 "")
SET(CMAKE_CXX_COMPILER_ID "GNU")
SET(CMAKE_CXX_COMPILER_VERSION "4.7.2")
SET(CMAKE_CXX_PLATFORM_ID "Linux")
SET(CMAKE_AR "/usr/bin/ar")
SET(CMAKE_RANLIB "/usr/bin/ranlib")
SET(CMAKE_LINKER "/usr/bin/ld")
SET(CMAKE_COMPILER_IS_GNUCXX 1)
SET(CMAKE_CXX_COMPILER_LOADED 1)
SET(CMAKE_COMPILER_IS_MINGW )
SET(CMAKE_COMPILER_IS_CYGWIN )
IF(CMAKE_COMPILER_IS_CYGWIN)
SET(CYGWIN 1)
SET(UNIX 1)
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
SET(CMAKE_CXX_LINKER_PREFERENCE 30)
SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
SET(CMAKE_CXX_SIZEOF_DATA_PTR "8")
SET(CMAKE_CXX_COMPILER_ABI "ELF")
SET(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
IF(CMAKE_CXX_SIZEOF_DATA_PTR)
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
IF(CMAKE_CXX_COMPILER_ABI)
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
ENDIF(CMAKE_CXX_COMPILER_ABI)
IF(CMAKE_CXX_LIBRARY_ARCHITECTURE)
SET(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
ENDIF()
SET(CMAKE_CXX_HAS_ISYSROOT "")
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")

View File

@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jan/skysql/skygateway/replication_listener")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jan/skysql/skygateway/replication_listener")
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@ -0,0 +1,526 @@
The system is: Linux - 3.5.0-28-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/gcc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2105707460/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2105707460.dir/build.make CMakeFiles/cmTryCompileExec2105707460.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2105707460.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2105707460.dir/testCCompiler.c.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec2105707460
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2105707460.dir/link.txt --verbose=1
/usr/bin/gcc CMakeFiles/cmTryCompileExec2105707460.dir/testCCompiler.c.o -o cmTryCompileExec2105707460 -rdynamic
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2521112262/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2521112262.dir/build.make CMakeFiles/cmTryCompileExec2521112262.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec2521112262
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2521112262.dir/link.txt --verbose=1
/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2521112262 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2521112262' '-rdynamic' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2521112262 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec2521112262/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec2521112262.dir/build.make CMakeFiles/cmTryCompileExec2521112262.dir/build]
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building C object CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTryCompileExec2521112262]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2521112262.dir/link.txt --verbose=1]
ignore line: [/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2521112262 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/gcc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2521112262' '-rdynamic' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2521112262 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
arg [--sysroot=/] ==> ignore
arg [--build-id] ==> ignore
arg [--no-add-needed] ==> ignore
arg [--as-needed] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec2521112262] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
arg [CMakeFiles/cmTryCompileExec2521112262.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse dir [/lib/../lib] ==> [/lib]
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
implicit libs: [c]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec1202011939/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1202011939.dir/build.make CMakeFiles/cmTryCompileExec1202011939.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec1202011939.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1202011939.dir/testCXXCompiler.cxx.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec1202011939
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1202011939.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTryCompileExec1202011939.dir/testCXXCompiler.cxx.o -o cmTryCompileExec1202011939 -rdynamic
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2613189232/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2613189232.dir/build.make CMakeFiles/cmTryCompileExec2613189232.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTryCompileExec2613189232
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2613189232.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec2613189232 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2613189232' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2613189232 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec2613189232/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec2613189232.dir/build.make CMakeFiles/cmTryCompileExec2613189232.dir/build]
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building CXX object CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTryCompileExec2613189232]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2613189232.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec2613189232 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2613189232' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2613189232 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
arg [--sysroot=/] ==> ignore
arg [--build-id] ==> ignore
arg [--no-add-needed] ==> ignore
arg [--as-needed] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec2613189232] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
arg [CMakeFiles/cmTryCompileExec2613189232.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse dir [/lib/../lib] ==> [/lib]
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;c]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
The system is: Linux - 3.5.0-28-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/gcc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec783074562/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec783074562.dir/build.make CMakeFiles/cmTryCompileExec783074562.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec783074562.dir/testCCompiler.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec783074562.dir/testCCompiler.c.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec783074562
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec783074562.dir/link.txt --verbose=1
/usr/bin/gcc CMakeFiles/cmTryCompileExec783074562.dir/testCCompiler.c.o -o cmTryCompileExec783074562 -rdynamic
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2061131830/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2061131830.dir/build.make CMakeFiles/cmTryCompileExec2061131830.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o
/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec2061131830
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2061131830.dir/link.txt --verbose=1
/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2061131830 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2061131830' '-rdynamic' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2061131830 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec2061131830/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec2061131830.dir/build.make CMakeFiles/cmTryCompileExec2061131830.dir/build]
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building C object CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/gcc -o CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTryCompileExec2061131830]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2061131830.dir/link.txt --verbose=1]
ignore line: [/usr/bin/gcc -v CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec2061131830 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/gcc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec2061131830' '-rdynamic' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec2061131830 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
arg [--sysroot=/] ==> ignore
arg [--build-id] ==> ignore
arg [--no-add-needed] ==> ignore
arg [--as-needed] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec2061131830] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
arg [CMakeFiles/cmTryCompileExec2061131830.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [--no-as-needed] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse dir [/lib/../lib] ==> [/lib]
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
implicit libs: [c]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec2243505706/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2243505706.dir/build.make CMakeFiles/cmTryCompileExec2243505706.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2243505706.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2243505706.dir/testCXXCompiler.cxx.o -c /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec2243505706
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2243505706.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTryCompileExec2243505706.dir/testCXXCompiler.cxx.o -o cmTryCompileExec2243505706 -rdynamic
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec1843686029/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1843686029.dir/build.make CMakeFiles/cmTryCompileExec1843686029.dir/build
make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTryCompileExec1843686029
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1843686029.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec1843686029 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1843686029' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec1843686029 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o
make[1]: Leaving directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp'
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:/usr/bin/make "cmTryCompileExec1843686029/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec1843686029.dir/build.make CMakeFiles/cmTryCompileExec1843686029.dir/build]
ignore line: [make[1]: Entering directory `/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp']
ignore line: [/usr/bin/cmake -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building CXX object CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTryCompileExec1843686029]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1843686029.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec1843686029 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-2ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.7/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1843686029' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.7/collect2 --sysroot=/ --build-id --no-add-needed --as-needed --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTryCompileExec1843686029 /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.7 -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../.. CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/collect2] ==> ignore
arg [--sysroot=/] ==> ignore
arg [--build-id] ==> ignore
arg [--no-add-needed] ==> ignore
arg [--as-needed] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-export-dynamic] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec1843686029] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/../lib] ==> dir [/lib/../lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..]
arg [CMakeFiles/cmTryCompileExec1843686029.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [-lc] ==> lib [c]
arg [-lgcc_s] ==> lib [gcc_s]
arg [-lgcc] ==> lib [gcc]
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/crtend.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
remove lib [gcc_s]
remove lib [gcc]
remove lib [gcc_s]
remove lib [gcc]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.7]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib] ==> [/usr/lib]
collapse dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse dir [/lib/../lib] ==> [/lib]
collapse dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse dir [/usr/lib/../lib] ==> [/usr/lib]
collapse dir [/usr/lib/gcc/x86_64-linux-gnu/4.7/../../..] ==> [/usr/lib]
implicit libs: [stdc++;m;c]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]

View File

@ -0,0 +1,15 @@
SET(CMAKE_SYSTEM "Linux-3.5.0-28-generic")
SET(CMAKE_SYSTEM_NAME "Linux")
SET(CMAKE_SYSTEM_VERSION "3.5.0-28-generic")
SET(CMAKE_SYSTEM_PROCESSOR "x86_64")
SET(CMAKE_HOST_SYSTEM "Linux-3.5.0-28-generic")
SET(CMAKE_HOST_SYSTEM_NAME "Linux")
SET(CMAKE_HOST_SYSTEM_VERSION "3.5.0-28-generic")
SET(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
SET(CMAKE_CROSSCOMPILING "FALSE")
SET(CMAKE_SYSTEM_LOADED 1)

View File

@ -0,0 +1,361 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__)
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_C = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
#elif defined(__IBMC__)
# if defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
# else
# if __IBMC__ >= 800
# define COMPILER_ID "XL"
# else
# define COMPILER_ID "VisualAge"
# endif
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__PATHSCALE__)
# define COMPILER_ID "PathScale"
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI_DSP"
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
SHARC (21000) DSPs */
# define COMPILER_ID "ADSP"
/* IAR Systems compiler for embedded systems.
http://www.iar.com
Not supported yet by CMake
#elif defined(__IAR_SYSTEMS_ICC__)
# define COMPILER_ID "IAR" */
/* sdcc, the small devices C compiler for embedded systems,
http://sdcc.sourceforge.net */
#elif defined(SDCC)
# define COMPILER_ID "SDCC"
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
# if defined(_SGI_COMPILER_VERSION)
/* _SGI_COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
# else
/* _COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
# endif
/* This compiler is either not known or is too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__sgi)
# define COMPILER_ID "MIPSpro"
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
# define PLATFORM_ID "Haiku"
/* Haiku also defines __BEOS__ so we must
put it prior to the check for __BEOS__
*/
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#else /* unknown platform */
# define PLATFORM_ID ""
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM)
# define ARCHITECTURE_ID "ARM"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID ""
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number components. */
#ifdef COMPILER_VERSION_MAJOR
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
(void)argv;
return require;
}
#endif

Binary file not shown.

View File

@ -0,0 +1,344 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__)
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
#elif defined(__IBMCPP__)
# if defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
# else
# if __IBMCPP__ >= 800
# define COMPILER_ID "XL"
# else
# define COMPILER_ID "VisualAge"
# endif
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(__PATHSCALE__)
# define COMPILER_ID "PathScale"
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI_DSP"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
SHARC (21000) DSPs */
# define COMPILER_ID "ADSP"
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
# if defined(_SGI_COMPILER_VERSION)
/* _SGI_COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
# else
/* _COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
# endif
/* This compiler is either not known or is too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__sgi)
# define COMPILER_ID "MIPSpro"
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
# define PLATFORM_ID "Haiku"
/* Haiku also defines __BEOS__ so we must
put it prior to the check for __BEOS__
*/
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#else /* unknown platform */
# define PLATFORM_ID ""
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM)
# define ARCHITECTURE_ID "ARM"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID ""
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number components. */
#ifdef COMPILER_VERSION_MAJOR
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
(void)argv;
return require;
}

Binary file not shown.

View File

@ -0,0 +1,65 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# The generator used is:
SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
SET(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"CMakeFiles/CMakeCCompiler.cmake"
"CMakeFiles/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeSystem.cmake"
"CMakeLists.txt"
"mysql2lucene/CMakeLists.txt"
"/usr/share/cmake-2.8/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-2.8/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-2.8/Modules/CMakeClDeps.cmake"
"/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake-2.8/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake-2.8/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-2.8/Modules/CMakeParseImplicitLinkInfo.cmake"
"/usr/share/cmake-2.8/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeTestCompilerCommon.cmake"
"/usr/share/cmake-2.8/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-2.8/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
"/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
)
# The corresponding makefile is:
SET(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
SET(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/CMakeDirectoryInformation.cmake"
"mysql2lucene/CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
SET(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/basic-1.dir/DependInfo.cmake"
"CMakeFiles/basic-2.dir/DependInfo.cmake"
"CMakeFiles/jan_test.dir/DependInfo.cmake"
"mysql2lucene/CMakeFiles/mysql2lucene.dir/DependInfo.cmake"
)

View File

@ -0,0 +1,215 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# The main recursive all target
all:
.PHONY : all
# The main recursive preinstall target
preinstall:
.PHONY : preinstall
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/jan/Downloads/mysql-replication-listener-master/examples
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/jan/Downloads/mysql-replication-listener-master/examples
#=============================================================================
# Target rules for target CMakeFiles/basic-1.dir
# All Build rule for target.
CMakeFiles/basic-1.dir/all:
$(MAKE) -f CMakeFiles/basic-1.dir/build.make CMakeFiles/basic-1.dir/depend
$(MAKE) -f CMakeFiles/basic-1.dir/build.make CMakeFiles/basic-1.dir/build
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
@echo "Built target basic-1"
.PHONY : CMakeFiles/basic-1.dir/all
# Include target in all.
all: CMakeFiles/basic-1.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/basic-1.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/basic-1.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
.PHONY : CMakeFiles/basic-1.dir/rule
# Convenience name for target.
basic-1: CMakeFiles/basic-1.dir/rule
.PHONY : basic-1
# clean rule for target.
CMakeFiles/basic-1.dir/clean:
$(MAKE) -f CMakeFiles/basic-1.dir/build.make CMakeFiles/basic-1.dir/clean
.PHONY : CMakeFiles/basic-1.dir/clean
# clean rule for target.
clean: CMakeFiles/basic-1.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/basic-2.dir
# All Build rule for target.
CMakeFiles/basic-2.dir/all:
$(MAKE) -f CMakeFiles/basic-2.dir/build.make CMakeFiles/basic-2.dir/depend
$(MAKE) -f CMakeFiles/basic-2.dir/build.make CMakeFiles/basic-2.dir/build
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 2
@echo "Built target basic-2"
.PHONY : CMakeFiles/basic-2.dir/all
# Include target in all.
all: CMakeFiles/basic-2.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/basic-2.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/basic-2.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
.PHONY : CMakeFiles/basic-2.dir/rule
# Convenience name for target.
basic-2: CMakeFiles/basic-2.dir/rule
.PHONY : basic-2
# clean rule for target.
CMakeFiles/basic-2.dir/clean:
$(MAKE) -f CMakeFiles/basic-2.dir/build.make CMakeFiles/basic-2.dir/clean
.PHONY : CMakeFiles/basic-2.dir/clean
# clean rule for target.
clean: CMakeFiles/basic-2.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/jan_test.dir
# All Build rule for target.
CMakeFiles/jan_test.dir/all:
$(MAKE) -f CMakeFiles/jan_test.dir/build.make CMakeFiles/jan_test.dir/depend
$(MAKE) -f CMakeFiles/jan_test.dir/build.make CMakeFiles/jan_test.dir/build
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 3
@echo "Built target jan_test"
.PHONY : CMakeFiles/jan_test.dir/all
# Include target in all.
all: CMakeFiles/jan_test.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/jan_test.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 1
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/jan_test.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
.PHONY : CMakeFiles/jan_test.dir/rule
# Convenience name for target.
jan_test: CMakeFiles/jan_test.dir/rule
.PHONY : jan_test
# clean rule for target.
CMakeFiles/jan_test.dir/clean:
$(MAKE) -f CMakeFiles/jan_test.dir/build.make CMakeFiles/jan_test.dir/clean
.PHONY : CMakeFiles/jan_test.dir/clean
# clean rule for target.
clean: CMakeFiles/jan_test.dir/clean
.PHONY : clean
#=============================================================================
# Directory level rules for directory mysql2lucene
# Convenience name for "all" pass in the directory.
mysql2lucene/all: mysql2lucene/CMakeFiles/mysql2lucene.dir/all
.PHONY : mysql2lucene/all
# Convenience name for "clean" pass in the directory.
mysql2lucene/clean: mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
.PHONY : mysql2lucene/clean
# Convenience name for "preinstall" pass in the directory.
mysql2lucene/preinstall:
.PHONY : mysql2lucene/preinstall
#=============================================================================
# Target rules for target mysql2lucene/CMakeFiles/mysql2lucene.dir
# All Build rule for target.
mysql2lucene/CMakeFiles/mysql2lucene.dir/all:
$(MAKE) -f mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make mysql2lucene/CMakeFiles/mysql2lucene.dir/depend
$(MAKE) -f mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make mysql2lucene/CMakeFiles/mysql2lucene.dir/build
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 4 5 6 7 8
@echo "Built target mysql2lucene"
.PHONY : mysql2lucene/CMakeFiles/mysql2lucene.dir/all
# Build rule for subdir invocation for target.
mysql2lucene/CMakeFiles/mysql2lucene.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 5
$(MAKE) -f CMakeFiles/Makefile2 mysql2lucene/CMakeFiles/mysql2lucene.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles 0
.PHONY : mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
# Convenience name for target.
mysql2lucene: mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
.PHONY : mysql2lucene
# clean rule for target.
mysql2lucene/CMakeFiles/mysql2lucene.dir/clean:
$(MAKE) -f mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
.PHONY : mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
# clean rule for target.
clean: mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
.PHONY : clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@ -0,0 +1,4 @@
/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/basic-1.dir
/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/basic-2.dir
/home/jan/Downloads/mysql-replication-listener-master/examples/CMakeFiles/jan_test.dir
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir

View File

@ -0,0 +1,206 @@
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-1.cpp
binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/binlog_api.h
include/access_method_factory.h
binlog_driver.h
include/binlog_driver.h
include/basic_content_handler.h
binlog_event.h
include/binlog_event.h
include/basic_transaction_parser.h
list
-
boost/cstdint.hpp
-
binlog_event.h
include/binlog_event.h
basic_content_handler.h
include/basic_content_handler.h
iostream
-
include/binlog_api.h
iosfwd
-
boost/iostreams/categories.hpp
-
boost/iostreams/positioning.hpp
-
boost/iostreams/concepts.hpp
-
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
list
-
cassert
-
binlog_event.h
include/binlog_event.h
binlog_driver.h
include/binlog_driver.h
tcp_driver.h
include/tcp_driver.h
file_driver.h
include/file_driver.h
basic_content_handler.h
include/basic_content_handler.h
basic_transaction_parser.h
include/basic_transaction_parser.h
field_iterator.h
include/field_iterator.h
rowset.h
include/rowset.h
access_method_factory.h
include/access_method_factory.h
gtid.h
include/gtid.h
include/binlog_driver.h
binlog_event.h
include/binlog_event.h
protocol.h
include/protocol.h
gtid.h
include/gtid.h
include/binlog_event.h
boost/cstdint.hpp
-
list
-
boost/asio.hpp
-
boost/function.hpp
-
vector
-
include/bounded_buffer.h
boost/circular_buffer.hpp
-
boost/thread/mutex.hpp
-
boost/thread/condition.hpp
-
boost/thread/thread.hpp
-
boost/progress.hpp
-
boost/bind.hpp
-
include/field_iterator.h
binlog_event.h
include/binlog_event.h
value.h
include/value.h
row_of_fields.h
include/row_of_fields.h
vector
-
include/file_driver.h
iostream
-
fstream
-
sys/types.h
-
sys/stat.h
-
unistd.h
-
binlog_api.h
include/binlog_api.h
binlog_driver.h
include/binlog_driver.h
protocol.h
include/protocol.h
include/gtid.h
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
include/protocol.h
boost/asio.hpp
-
list
-
binlog_event.h
include/binlog_event.h
include/resultset_iterator.h
iostream
-
boost/iterator/iterator_facade.hpp
-
boost/asio.hpp
-
value.h
include/value.h
rowset.h
include/rowset.h
row_of_fields.h
include/row_of_fields.h
include/row_of_fields.h
vector
-
iostream
-
value.h
include/value.h
include/rowset.h
field_iterator.h
include/field_iterator.h
resultset_iterator.h
include/resultset_iterator.h
boost/function.hpp
-
boost/iterator.hpp
-
include/tcp_driver.h
binlog_driver.h
include/binlog_driver.h
bounded_buffer.h
include/bounded_buffer.h
protocol.h
include/protocol.h
boost/asio.hpp
-
boost/thread.hpp
-
gtid.h
include/gtid.h
include/value.h
boost/cstdint.hpp
-
protocol.h
include/protocol.h
boost/any.hpp
-
iostream
-

View File

@ -0,0 +1,22 @@
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-1.dir/basic-1.cpp.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
)
# The include file search paths:
SET(CMAKE_C_TARGET_INCLUDE_PATH
"include"
"/include"
)
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})

View File

@ -0,0 +1,102 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
# Include any dependencies generated for this target.
include examples/CMakeFiles/basic-1.dir/depend.make
# Include the progress variables for this target.
include examples/CMakeFiles/basic-1.dir/progress.make
# Include the compile flags for this target's objects.
include examples/CMakeFiles/basic-1.dir/flags.make
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: examples/CMakeFiles/basic-1.dir/flags.make
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: examples/basic-1.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/CMakeFiles/basic-1.dir/basic-1.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/basic-1.dir/basic-1.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp
examples/CMakeFiles/basic-1.dir/basic-1.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/basic-1.dir/basic-1.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp > CMakeFiles/basic-1.dir/basic-1.cpp.i
examples/CMakeFiles/basic-1.dir/basic-1.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/basic-1.dir/basic-1.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/basic-1.cpp -o CMakeFiles/basic-1.dir/basic-1.cpp.s
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires:
.PHONY : examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires
$(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides.build
.PHONY : examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.provides.build: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
# Object files for target basic-1
basic__1_OBJECTS = \
"CMakeFiles/basic-1.dir/basic-1.cpp.o"
# External object files for target basic-1
basic__1_EXTERNAL_OBJECTS =
examples/basic-1: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
examples/basic-1: examples/CMakeFiles/basic-1.dir/build.make
examples/basic-1: examples/CMakeFiles/basic-1.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable basic-1"
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/basic-1.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
examples/CMakeFiles/basic-1.dir/build: examples/basic-1
.PHONY : examples/CMakeFiles/basic-1.dir/build
examples/CMakeFiles/basic-1.dir/requires: examples/CMakeFiles/basic-1.dir/basic-1.cpp.o.requires
.PHONY : examples/CMakeFiles/basic-1.dir/requires
examples/CMakeFiles/basic-1.dir/clean:
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -P CMakeFiles/basic-1.dir/cmake_clean.cmake
.PHONY : examples/CMakeFiles/basic-1.dir/clean
examples/CMakeFiles/basic-1.dir/depend:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-1.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : examples/CMakeFiles/basic-1.dir/depend

View File

@ -0,0 +1,10 @@
FILE(REMOVE_RECURSE
"CMakeFiles/basic-1.dir/basic-1.cpp.o"
"basic-1.pdb"
"basic-1"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/basic-1.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)

View File

@ -0,0 +1,21 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-1.cpp
include/access_method_factory.h
include/basic_content_handler.h
include/basic_transaction_parser.h
include/binlog_api.h
include/binlog_driver.h
include/binlog_event.h
include/bounded_buffer.h
include/field_iterator.h
include/file_driver.h
include/gtid.h
include/protocol.h
include/resultset_iterator.h
include/row_of_fields.h
include/rowset.h
include/tcp_driver.h
include/value.h

View File

@ -0,0 +1,21 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: examples/basic-1.cpp
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/access_method_factory.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/basic_content_handler.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/basic_transaction_parser.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/binlog_api.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/binlog_driver.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/binlog_event.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/bounded_buffer.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/field_iterator.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/file_driver.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/gtid.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/protocol.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/resultset_iterator.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/row_of_fields.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/rowset.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/tcp_driver.h
examples/CMakeFiles/basic-1.dir/basic-1.cpp.o: include/value.h

View File

@ -0,0 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# compile CXX with /usr/bin/c++
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
CXX_DEFINES =

View File

@ -0,0 +1 @@
/usr/bin/c++ CMakeFiles/basic-1.dir/basic-1.cpp.o -o basic-1 -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib -lboost_system -lreplication -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib

View File

@ -0,0 +1,2 @@
CMAKE_PROGRESS_1 = 1

View File

@ -0,0 +1,212 @@
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-2.cpp
binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/binlog_api.h
iostream
-
map
-
string
-
include/access_method_factory.h
binlog_driver.h
include/binlog_driver.h
include/basic_content_handler.h
binlog_event.h
include/binlog_event.h
include/basic_transaction_parser.h
list
-
boost/cstdint.hpp
-
binlog_event.h
include/binlog_event.h
basic_content_handler.h
include/basic_content_handler.h
iostream
-
include/binlog_api.h
iosfwd
-
boost/iostreams/categories.hpp
-
boost/iostreams/positioning.hpp
-
boost/iostreams/concepts.hpp
-
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
list
-
cassert
-
binlog_event.h
include/binlog_event.h
binlog_driver.h
include/binlog_driver.h
tcp_driver.h
include/tcp_driver.h
file_driver.h
include/file_driver.h
basic_content_handler.h
include/basic_content_handler.h
basic_transaction_parser.h
include/basic_transaction_parser.h
field_iterator.h
include/field_iterator.h
rowset.h
include/rowset.h
access_method_factory.h
include/access_method_factory.h
gtid.h
include/gtid.h
include/binlog_driver.h
binlog_event.h
include/binlog_event.h
protocol.h
include/protocol.h
gtid.h
include/gtid.h
include/binlog_event.h
boost/cstdint.hpp
-
list
-
boost/asio.hpp
-
boost/function.hpp
-
vector
-
include/bounded_buffer.h
boost/circular_buffer.hpp
-
boost/thread/mutex.hpp
-
boost/thread/condition.hpp
-
boost/thread/thread.hpp
-
boost/progress.hpp
-
boost/bind.hpp
-
include/field_iterator.h
binlog_event.h
include/binlog_event.h
value.h
include/value.h
row_of_fields.h
include/row_of_fields.h
vector
-
include/file_driver.h
iostream
-
fstream
-
sys/types.h
-
sys/stat.h
-
unistd.h
-
binlog_api.h
include/binlog_api.h
binlog_driver.h
include/binlog_driver.h
protocol.h
include/protocol.h
include/gtid.h
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
include/protocol.h
boost/asio.hpp
-
list
-
binlog_event.h
include/binlog_event.h
include/resultset_iterator.h
iostream
-
boost/iterator/iterator_facade.hpp
-
boost/asio.hpp
-
value.h
include/value.h
rowset.h
include/rowset.h
row_of_fields.h
include/row_of_fields.h
include/row_of_fields.h
vector
-
iostream
-
value.h
include/value.h
include/rowset.h
field_iterator.h
include/field_iterator.h
resultset_iterator.h
include/resultset_iterator.h
boost/function.hpp
-
boost/iterator.hpp
-
include/tcp_driver.h
binlog_driver.h
include/binlog_driver.h
bounded_buffer.h
include/bounded_buffer.h
protocol.h
include/protocol.h
boost/asio.hpp
-
boost/thread.hpp
-
gtid.h
include/gtid.h
include/value.h
boost/cstdint.hpp
-
protocol.h
include/protocol.h
boost/any.hpp
-
iostream
-

View File

@ -0,0 +1,22 @@
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-2.dir/basic-2.cpp.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
)
# The include file search paths:
SET(CMAKE_C_TARGET_INCLUDE_PATH
"include"
"/include"
)
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})

View File

@ -0,0 +1,102 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
# Include any dependencies generated for this target.
include examples/CMakeFiles/basic-2.dir/depend.make
# Include the progress variables for this target.
include examples/CMakeFiles/basic-2.dir/progress.make
# Include the compile flags for this target's objects.
include examples/CMakeFiles/basic-2.dir/flags.make
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: examples/CMakeFiles/basic-2.dir/flags.make
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: examples/basic-2.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/CMakeFiles/basic-2.dir/basic-2.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/basic-2.dir/basic-2.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp
examples/CMakeFiles/basic-2.dir/basic-2.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/basic-2.dir/basic-2.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp > CMakeFiles/basic-2.dir/basic-2.cpp.i
examples/CMakeFiles/basic-2.dir/basic-2.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/basic-2.dir/basic-2.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/basic-2.cpp -o CMakeFiles/basic-2.dir/basic-2.cpp.s
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires:
.PHONY : examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires
$(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides.build
.PHONY : examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.provides.build: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
# Object files for target basic-2
basic__2_OBJECTS = \
"CMakeFiles/basic-2.dir/basic-2.cpp.o"
# External object files for target basic-2
basic__2_EXTERNAL_OBJECTS =
examples/basic-2: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
examples/basic-2: examples/CMakeFiles/basic-2.dir/build.make
examples/basic-2: examples/CMakeFiles/basic-2.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable basic-2"
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/basic-2.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
examples/CMakeFiles/basic-2.dir/build: examples/basic-2
.PHONY : examples/CMakeFiles/basic-2.dir/build
examples/CMakeFiles/basic-2.dir/requires: examples/CMakeFiles/basic-2.dir/basic-2.cpp.o.requires
.PHONY : examples/CMakeFiles/basic-2.dir/requires
examples/CMakeFiles/basic-2.dir/clean:
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -P CMakeFiles/basic-2.dir/cmake_clean.cmake
.PHONY : examples/CMakeFiles/basic-2.dir/clean
examples/CMakeFiles/basic-2.dir/depend:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/basic-2.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : examples/CMakeFiles/basic-2.dir/depend

View File

@ -0,0 +1,10 @@
FILE(REMOVE_RECURSE
"CMakeFiles/basic-2.dir/basic-2.cpp.o"
"basic-2.pdb"
"basic-2"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/basic-2.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)

View File

@ -0,0 +1,21 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/basic-2.cpp
include/access_method_factory.h
include/basic_content_handler.h
include/basic_transaction_parser.h
include/binlog_api.h
include/binlog_driver.h
include/binlog_event.h
include/bounded_buffer.h
include/field_iterator.h
include/file_driver.h
include/gtid.h
include/protocol.h
include/resultset_iterator.h
include/row_of_fields.h
include/rowset.h
include/tcp_driver.h
include/value.h

View File

@ -0,0 +1,21 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: examples/basic-2.cpp
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/access_method_factory.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/basic_content_handler.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/basic_transaction_parser.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/binlog_api.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/binlog_driver.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/binlog_event.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/bounded_buffer.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/field_iterator.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/file_driver.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/gtid.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/protocol.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/resultset_iterator.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/row_of_fields.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/rowset.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/tcp_driver.h
examples/CMakeFiles/basic-2.dir/basic-2.cpp.o: include/value.h

View File

@ -0,0 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# compile CXX with /usr/bin/c++
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
CXX_DEFINES =

View File

@ -0,0 +1 @@
/usr/bin/c++ CMakeFiles/basic-2.dir/basic-2.cpp.o -o basic-2 -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib -lboost_system -lreplication -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib

View File

@ -0,0 +1,2 @@
CMAKE_PROGRESS_1 = 2

View File

@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@ -0,0 +1,240 @@
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/jan/Downloads/mysql-replication-listener-master/examples/jan_test.cpp
binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/binlog_api.h
my_pthread.h
/home/jan/Downloads/mysql-replication-listener-master/examples/my_pthread.h
listener_exception.h
/home/jan/Downloads/mysql-replication-listener-master/examples/listener_exception.h
table_replication_consistency.h
/home/jan/Downloads/mysql-replication-listener-master/examples/table_replication_consistency.h
getopt.h
-
iostream
-
iomanip
-
map
-
sstream
-
stdlib.h
-
errno.h
-
string.h
-
regex.h
-
algorithm
-
include/access_method_factory.h
binlog_driver.h
include/binlog_driver.h
include/basic_content_handler.h
binlog_event.h
include/binlog_event.h
include/basic_transaction_parser.h
list
-
boost/cstdint.hpp
-
binlog_event.h
include/binlog_event.h
basic_content_handler.h
include/basic_content_handler.h
iostream
-
include/binlog_api.h
iosfwd
-
boost/iostreams/categories.hpp
-
boost/iostreams/positioning.hpp
-
boost/iostreams/concepts.hpp
-
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
list
-
cassert
-
binlog_event.h
include/binlog_event.h
binlog_driver.h
include/binlog_driver.h
tcp_driver.h
include/tcp_driver.h
file_driver.h
include/file_driver.h
basic_content_handler.h
include/basic_content_handler.h
basic_transaction_parser.h
include/basic_transaction_parser.h
field_iterator.h
include/field_iterator.h
rowset.h
include/rowset.h
access_method_factory.h
include/access_method_factory.h
gtid.h
include/gtid.h
include/binlog_driver.h
binlog_event.h
include/binlog_event.h
protocol.h
include/protocol.h
gtid.h
include/gtid.h
include/binlog_event.h
boost/cstdint.hpp
-
list
-
boost/asio.hpp
-
boost/function.hpp
-
vector
-
include/bounded_buffer.h
boost/circular_buffer.hpp
-
boost/thread/mutex.hpp
-
boost/thread/condition.hpp
-
boost/thread/thread.hpp
-
boost/progress.hpp
-
boost/bind.hpp
-
include/field_iterator.h
binlog_event.h
include/binlog_event.h
value.h
include/value.h
row_of_fields.h
include/row_of_fields.h
vector
-
include/file_driver.h
iostream
-
fstream
-
sys/types.h
-
sys/stat.h
-
unistd.h
-
binlog_api.h
include/binlog_api.h
binlog_driver.h
include/binlog_driver.h
protocol.h
include/protocol.h
include/gtid.h
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
include/listener_exception.h
sstream
-
boost/system/system_error.hpp
-
include/protocol.h
boost/asio.hpp
-
list
-
binlog_event.h
include/binlog_event.h
include/resultset_iterator.h
iostream
-
boost/iterator/iterator_facade.hpp
-
boost/asio.hpp
-
value.h
include/value.h
rowset.h
include/rowset.h
row_of_fields.h
include/row_of_fields.h
include/row_of_fields.h
vector
-
iostream
-
value.h
include/value.h
include/rowset.h
field_iterator.h
include/field_iterator.h
resultset_iterator.h
include/resultset_iterator.h
boost/function.hpp
-
boost/iterator.hpp
-
include/table_replication_consistency.h
include/tcp_driver.h
binlog_driver.h
include/binlog_driver.h
bounded_buffer.h
include/bounded_buffer.h
protocol.h
include/protocol.h
boost/asio.hpp
-
boost/thread.hpp
-
gtid.h
include/gtid.h
include/value.h
boost/cstdint.hpp
-
protocol.h
include/protocol.h
boost/any.hpp
-
iostream
-

View File

@ -0,0 +1,22 @@
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/jan_test.dir/jan_test.cpp.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
)
# The include file search paths:
SET(CMAKE_C_TARGET_INCLUDE_PATH
"include"
"/include"
)
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})

View File

@ -0,0 +1,102 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
# Include any dependencies generated for this target.
include examples/CMakeFiles/jan_test.dir/depend.make
# Include the progress variables for this target.
include examples/CMakeFiles/jan_test.dir/progress.make
# Include the compile flags for this target's objects.
include examples/CMakeFiles/jan_test.dir/flags.make
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: examples/CMakeFiles/jan_test.dir/flags.make
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: examples/jan_test.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/CMakeFiles/jan_test.dir/jan_test.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/jan_test.dir/jan_test.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp
examples/CMakeFiles/jan_test.dir/jan_test.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/jan_test.dir/jan_test.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp > CMakeFiles/jan_test.dir/jan_test.cpp.i
examples/CMakeFiles/jan_test.dir/jan_test.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/jan_test.dir/jan_test.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/jan_test.cpp -o CMakeFiles/jan_test.dir/jan_test.cpp.s
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires:
.PHONY : examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires
$(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides.build
.PHONY : examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.provides.build: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
# Object files for target jan_test
jan_test_OBJECTS = \
"CMakeFiles/jan_test.dir/jan_test.cpp.o"
# External object files for target jan_test
jan_test_EXTERNAL_OBJECTS =
examples/jan_test: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
examples/jan_test: examples/CMakeFiles/jan_test.dir/build.make
examples/jan_test: examples/CMakeFiles/jan_test.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable jan_test"
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/jan_test.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
examples/CMakeFiles/jan_test.dir/build: examples/jan_test
.PHONY : examples/CMakeFiles/jan_test.dir/build
examples/CMakeFiles/jan_test.dir/requires: examples/CMakeFiles/jan_test.dir/jan_test.cpp.o.requires
.PHONY : examples/CMakeFiles/jan_test.dir/requires
examples/CMakeFiles/jan_test.dir/clean:
cd /home/jan/skysql/skygateway/replication_listener/examples && $(CMAKE_COMMAND) -P CMakeFiles/jan_test.dir/cmake_clean.cmake
.PHONY : examples/CMakeFiles/jan_test.dir/clean
examples/CMakeFiles/jan_test.dir/depend:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/jan_test.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : examples/CMakeFiles/jan_test.dir/depend

View File

@ -0,0 +1,10 @@
FILE(REMOVE_RECURSE
"CMakeFiles/jan_test.dir/jan_test.cpp.o"
"jan_test.pdb"
"jan_test"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/jan_test.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)

View File

@ -0,0 +1,23 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/jan_test.cpp
include/access_method_factory.h
include/basic_content_handler.h
include/basic_transaction_parser.h
include/binlog_api.h
include/binlog_driver.h
include/binlog_event.h
include/bounded_buffer.h
include/field_iterator.h
include/file_driver.h
include/gtid.h
include/listener_exception.h
include/protocol.h
include/resultset_iterator.h
include/row_of_fields.h
include/rowset.h
include/table_replication_consistency.h
include/tcp_driver.h
include/value.h

View File

@ -0,0 +1,23 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: examples/jan_test.cpp
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/access_method_factory.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/basic_content_handler.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/basic_transaction_parser.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/binlog_api.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/binlog_driver.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/binlog_event.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/bounded_buffer.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/field_iterator.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/file_driver.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/gtid.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/listener_exception.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/protocol.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/resultset_iterator.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/row_of_fields.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/rowset.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/table_replication_consistency.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/tcp_driver.h
examples/CMakeFiles/jan_test.dir/jan_test.cpp.o: include/value.h

View File

@ -0,0 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# compile CXX with /usr/bin/c++
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
CXX_DEFINES =

View File

@ -0,0 +1 @@
/usr/bin/c++ CMakeFiles/jan_test.dir/jan_test.cpp.o -o jan_test -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib -lboost_system -lreplication -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib

View File

@ -0,0 +1,2 @@
CMAKE_PROGRESS_1 = 3

View File

@ -0,0 +1 @@
3

View File

@ -0,0 +1,13 @@
project(examples)
link_directories(${PROJECT_BUILD_DIR}/lib)
include_directories(${PROJECT_BUILD_DIR}/include)
# Create build rules for all the simple examples that only require a
# single file.
foreach(prog basic-1 basic-2 jan_test)
ADD_EXECUTABLE(${prog} ${prog}.cpp)
TARGET_LINK_LIBRARIES(${prog} boost_system replication)
endforeach()
add_subdirectory(mysql2lucene EXCLUDE_FROM_ALL)

View File

@ -0,0 +1,315 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
/usr/bin/cmake -i .
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: install/local
.PHONY : install/local/fast
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: install/strip
.PHONY : install/strip/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target package
package: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackConfig.cmake
.PHONY : package
# Special rule for the target package
package/fast: package
.PHONY : package/fast
# Special rule for the target package_source
package_source:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/jan/skysql/skygateway/replication_listener/CPackSourceConfig.cmake
.PHONY : package_source
# Special rule for the target package_source
package_source/fast: package_source
.PHONY : package_source/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles /home/jan/skysql/skygateway/replication_listener/examples/CMakeFiles/progress.marks
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
examples/CMakeFiles/basic-1.dir/rule:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/basic-1.dir/rule
.PHONY : examples/CMakeFiles/basic-1.dir/rule
# Convenience name for target.
basic-1: examples/CMakeFiles/basic-1.dir/rule
.PHONY : basic-1
# fast build rule for target.
basic-1/fast:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/build
.PHONY : basic-1/fast
# Convenience name for target.
examples/CMakeFiles/basic-2.dir/rule:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/basic-2.dir/rule
.PHONY : examples/CMakeFiles/basic-2.dir/rule
# Convenience name for target.
basic-2: examples/CMakeFiles/basic-2.dir/rule
.PHONY : basic-2
# fast build rule for target.
basic-2/fast:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/build
.PHONY : basic-2/fast
# Convenience name for target.
examples/CMakeFiles/jan_test.dir/rule:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/CMakeFiles/jan_test.dir/rule
.PHONY : examples/CMakeFiles/jan_test.dir/rule
# Convenience name for target.
jan_test: examples/CMakeFiles/jan_test.dir/rule
.PHONY : jan_test
# fast build rule for target.
jan_test/fast:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/build
.PHONY : jan_test/fast
basic-1.o: basic-1.cpp.o
.PHONY : basic-1.o
# target to build an object file
basic-1.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.o
.PHONY : basic-1.cpp.o
basic-1.i: basic-1.cpp.i
.PHONY : basic-1.i
# target to preprocess a source file
basic-1.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.i
.PHONY : basic-1.cpp.i
basic-1.s: basic-1.cpp.s
.PHONY : basic-1.s
# target to generate assembly for a file
basic-1.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-1.dir/build.make examples/CMakeFiles/basic-1.dir/basic-1.cpp.s
.PHONY : basic-1.cpp.s
basic-2.o: basic-2.cpp.o
.PHONY : basic-2.o
# target to build an object file
basic-2.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.o
.PHONY : basic-2.cpp.o
basic-2.i: basic-2.cpp.i
.PHONY : basic-2.i
# target to preprocess a source file
basic-2.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.i
.PHONY : basic-2.cpp.i
basic-2.s: basic-2.cpp.s
.PHONY : basic-2.s
# target to generate assembly for a file
basic-2.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/basic-2.dir/build.make examples/CMakeFiles/basic-2.dir/basic-2.cpp.s
.PHONY : basic-2.cpp.s
jan_test.o: jan_test.cpp.o
.PHONY : jan_test.o
# target to build an object file
jan_test.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.o
.PHONY : jan_test.cpp.o
jan_test.i: jan_test.cpp.i
.PHONY : jan_test.i
# target to preprocess a source file
jan_test.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.i
.PHONY : jan_test.cpp.i
jan_test.s: jan_test.cpp.s
.PHONY : jan_test.s
# target to generate assembly for a file
jan_test.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/CMakeFiles/jan_test.dir/build.make examples/CMakeFiles/jan_test.dir/jan_test.cpp.s
.PHONY : jan_test.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... basic-1"
@echo "... basic-2"
@echo "... edit_cache"
@echo "... install"
@echo "... install/local"
@echo "... install/strip"
@echo "... jan_test"
@echo "... list_install_components"
@echo "... package"
@echo "... package_source"
@echo "... rebuild_cache"
@echo "... basic-1.o"
@echo "... basic-1.i"
@echo "... basic-1.s"
@echo "... basic-2.o"
@echo "... basic-2.i"
@echo "... basic-2.s"
@echo "... jan_test.o"
@echo "... jan_test.i"
@echo "... jan_test.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@ -0,0 +1,36 @@
#include "binlog_api.h"
/**
@file basic-1
@author Mats Kindahl <mats.kindahl@oracle.com>
This is a basic example that just opens a binary log either from a
file or a server and print out what events are found. It uses a
simple event loop and checks information in the events using a
switch.
*/
using mysql::Binary_log;
using mysql::system::create_transport;
int main(int argc, char** argv) {
if (argc != 2) {
std::cerr << "Usage: basic-2 <uri>" << std::endl;
exit(2);
}
Binary_log binlog(create_transport(argv[1]));
binlog.connect();
Binary_log_event *event;
while (true) {
int result = binlog.wait_for_next_event(&event);
if (result == ERR_EOF)
break;
std::cout << "Found event of type "
<< event->get_event_type()
<< std::endl;
}
}

View File

@ -0,0 +1,94 @@
#include "binlog_api.h"
#include <iostream>
#include <map>
#include <string>
/*
Here is a basic system using the event loop to fetch context events
and store them in an associative array.
*/
using mysql::Binary_log;
using mysql::system::create_transport;
using mysql::system::get_event_type_str;
using mysql::User_var_event;
/**
* Class to maintain variable values.
*/
template <class AssociativeContainer>
class Save_variables : public Content_handler {
public:
Save_variables(AssociativeContainer& container)
: m_var(container)
{
}
Binary_log_event *process_event(User_var_event *event) {
m_var[event->name] = event->value;
return NULL;
}
private:
AssociativeContainer &m_var;
};
template <class AssociativeContainer>
class Replace_variables : public Content_handler {
public:
Replace_variables(AssociativeContainer& variables)
: m_var(variables)
{
}
Binary_log_event *process_event(Query_event *event) {
std::string *query = &event->query;
size_t start, end = 0;
while (true) {
start = query->find_first_of("@", end);
if (start == std::string::npos)
break;
end = query->find_first_not_of("abcdefghijklmnopqrstuvwxyz", start+1);
std::string key = query->substr(start + 1, end - start - 1);
query->replace(start, end - start, "'" + m_var[key] + "'");
}
return event;
}
private:
AssociativeContainer &m_var;
};
int main(int argc, char** argv) {
typedef std::map<std::string, std::string> Map;
if (argc != 2) {
std::cerr << "Usage: basic-2 <uri>" << std::endl;
exit(2);
}
Binary_log binlog(create_transport(argv[1]));
binlog.connect();
binlog.set_position(4);
Map variables;
Save_variables<Map> save_variables(variables);
binlog.content_handler_pipeline()->push_back(&save_variables);
Replace_variables<Map> replace_variables(variables);
binlog.content_handler_pipeline()->push_back(&replace_variables);
while (true) {
Binary_log_event *event;
int result = binlog.wait_for_next_event(&event);
if (result == ERR_EOF)
break;
switch (event->get_event_type()) {
case QUERY_EVENT:
std::cout << static_cast<Query_event*>(event)->query
<< std::endl;
break;
}
}
}

View File

@ -0,0 +1,39 @@
# Install script for directory: /home/jan/skysql/skygateway/replication_listener/examples
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
IF(BUILD_TYPE)
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
ELSE(BUILD_TYPE)
SET(CMAKE_INSTALL_CONFIG_NAME "")
ENDIF(BUILD_TYPE)
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
# Set the component getting installed.
IF(NOT CMAKE_INSTALL_COMPONENT)
IF(COMPONENT)
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
ELSE(COMPONENT)
SET(CMAKE_INSTALL_COMPONENT)
ENDIF(COMPONENT)
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
# Install shared libraries without execute permission?
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
SET(CMAKE_INSTALL_SO_NO_EXE "1")
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)

View File

@ -0,0 +1,197 @@
#include "binlog_api.h"
#include "my_pthread.h"
#include "listener_exception.h"
#include "table_replication_consistency.h"
#include <getopt.h>
#include <iostream>
#include <iomanip>
#include <map>
#include <sstream>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <regex.h>
#include <algorithm>
using mysql::Binary_log;
using mysql::system::create_transport;
using namespace std;
using namespace mysql::system;
void* binlog_reader(void * arg)
{
replication_listener_t *rlt = (replication_listener_t*)arg;
char *uri = rlt->server_url;
map<int, string> tid2tname;
map<int, string>::iterator tb_it;
pthread_t id = pthread_self();
string database_dot_table;
const char* server_type;
Gtid gtid(0,1,31);
try {
Binary_log binlog(create_transport(uri));
binlog.connect(gtid);
server_type = binlog.get_mysql_server_type_str();
cout << "Server " << uri << " type: " << server_type << endl;
Binary_log_event *event;
while (true) {
Log_event_header *lheader;
int result = binlog.wait_for_next_event(&event);
if (result == ERR_EOF)
break;
lheader = event->header();
switch(event->get_event_type()) {
case QUERY_EVENT: {
Query_event *qevent = dynamic_cast<Query_event *>(event);
std::cout << "Thread: " << id << " server_id " << lheader->server_id
<< " position " << lheader->next_position << " : Found event of type "
<< event->get_event_type()
<< " txt " << get_event_type_str(event->get_event_type())
<< " query " << qevent->query << " db " << qevent->db_name
<< std::endl;
break;
}
case GTID_EVENT_MARIADB:
case GTID_EVENT_MYSQL:
{
Gtid_event *gevent = dynamic_cast<Gtid_event *>(event);
std::cout << "Thread: " << id << " server_id " << lheader->server_id
<< " position " << lheader->next_position << " : Found event of type "
<< event->get_event_type()
<< " txt " << get_event_type_str(event->get_event_type())
<< " GTID " << gevent->domain_id << "-" << gevent->server_id << "-" << gevent->sequence_number
<< std::endl;
break;
}
case TABLE_MAP_EVENT: {
Table_map_event *table_map_event= dynamic_cast<Table_map_event*>(event);
database_dot_table= table_map_event->db_name;
database_dot_table.append(".");
database_dot_table.append(table_map_event->table_name);
tid2tname[table_map_event->table_id]= database_dot_table;
break;
}
case WRITE_ROWS_EVENT:
case UPDATE_ROWS_EVENT:
case DELETE_ROWS_EVENT:
{
Row_event *revent = dynamic_cast<Row_event*>(event);
tb_it= tid2tname.begin();
tb_it= tid2tname.find(revent->table_id);
if (tb_it != tid2tname.end())
{
database_dot_table= tb_it->second;
}
std::cout << "Thread: " << id << " server_id " << lheader->server_id
<< " position " << lheader->next_position << " : Found event of type "
<< event->get_event_type()
<< " txt " << get_event_type_str(event->get_event_type())
<< " table " << revent->table_id
<< " tb " << database_dot_table
<< std::endl;
break;
}
default:
break;
} // switch
} // while
} // try
catch(ListenerException e)
{
std::cerr << "Listener exception: " << e.what() << std::endl;
}
catch(boost::system::error_code e)
{
std::cerr << "Listener system error: " << e.message() << std::endl;
}
// Try and catch all exceptions
catch(std::exception const& e)
{
std::cerr << "Listener other error: " << e.what() << std::endl;
}
// Rest of them
catch(...)
{
std::cerr << "Unknown exception: " << std::endl;
// Re-Throw this one.
// It was not handled so you want to make sure it is handled correctly by
// the OS. So just allow the exception to keep propagating.
throw;
}
pthread_exit(NULL);
return NULL;
}
int main(int argc, char** argv) {
int number_of_args = argc;
int i=0,k=0;
pthread_t *tid=NULL;
char *uri;
replication_listener_t *mrl;
int err=0;
tid = (pthread_t*)malloc(sizeof(pthread_t) * argc);
mrl = (replication_listener_t*)calloc(argc, sizeof(replication_listener_t));
if (argc < 2) {
std::cerr << "Usage: basic-2 <uri>" << std::endl;
exit(2);
}
argc =0;
while(argc != number_of_args)
{
uri= argv[argc++];
if ( strncmp("mysql://", uri, 8) == 0)
{
mrl[i].server_url = uri;
if (argc == 1) {
mrl[i].is_master = 1;
}
err = pthread_create(&(tid[i++]), NULL, &binlog_reader, (void *)&mrl[i]);
if (err ) {
perror(NULL);
break;
}
}
}//end of outer while loop
for(k=0; k < i; k++)
{
err = pthread_join(tid[k], (void **)&(mrl[k]));
if (err) {
perror(NULL);
}
}
exit(0);
}

View File

@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/jan/skysql/skygateway/replication_listener")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/jan/skysql/skygateway/replication_listener")
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@ -0,0 +1,244 @@
#IncludeRegexLine: ^[ ]*#[ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/main.cpp
stdlib.h
-
boost/foreach.hpp
-
binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
table_update.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
table_delete.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
table_insert.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
table_index.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
string
-
binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
binlog_event.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_event.h
map
-
basic_content_handler.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/basic_content_handler.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
string
-
binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
string
-
binlog_api.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/binlog_api.h
include/access_method_factory.h
binlog_driver.h
include/binlog_driver.h
include/basic_content_handler.h
binlog_event.h
include/binlog_event.h
include/basic_transaction_parser.h
list
-
boost/cstdint.hpp
-
binlog_event.h
include/binlog_event.h
basic_content_handler.h
include/basic_content_handler.h
iostream
-
include/binlog_api.h
iosfwd
-
boost/iostreams/categories.hpp
-
boost/iostreams/positioning.hpp
-
boost/iostreams/concepts.hpp
-
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
list
-
cassert
-
binlog_event.h
include/binlog_event.h
binlog_driver.h
include/binlog_driver.h
tcp_driver.h
include/tcp_driver.h
file_driver.h
include/file_driver.h
basic_content_handler.h
include/basic_content_handler.h
basic_transaction_parser.h
include/basic_transaction_parser.h
field_iterator.h
include/field_iterator.h
rowset.h
include/rowset.h
access_method_factory.h
include/access_method_factory.h
gtid.h
include/gtid.h
include/binlog_driver.h
binlog_event.h
include/binlog_event.h
protocol.h
include/protocol.h
gtid.h
include/gtid.h
include/binlog_event.h
boost/cstdint.hpp
-
list
-
boost/asio.hpp
-
boost/function.hpp
-
vector
-
include/bounded_buffer.h
boost/circular_buffer.hpp
-
boost/thread/mutex.hpp
-
boost/thread/condition.hpp
-
boost/thread/thread.hpp
-
boost/progress.hpp
-
boost/bind.hpp
-
include/field_iterator.h
binlog_event.h
include/binlog_event.h
value.h
include/value.h
row_of_fields.h
include/row_of_fields.h
vector
-
include/file_driver.h
iostream
-
fstream
-
sys/types.h
-
sys/stat.h
-
unistd.h
-
binlog_api.h
include/binlog_api.h
binlog_driver.h
include/binlog_driver.h
protocol.h
include/protocol.h
include/gtid.h
boost/asio.hpp
-
boost/function.hpp
-
boost/bind.hpp
-
include/protocol.h
boost/asio.hpp
-
list
-
binlog_event.h
include/binlog_event.h
include/resultset_iterator.h
iostream
-
boost/iterator/iterator_facade.hpp
-
boost/asio.hpp
-
value.h
include/value.h
rowset.h
include/rowset.h
row_of_fields.h
include/row_of_fields.h
include/row_of_fields.h
vector
-
iostream
-
value.h
include/value.h
include/rowset.h
field_iterator.h
include/field_iterator.h
resultset_iterator.h
include/resultset_iterator.h
boost/function.hpp
-
boost/iterator.hpp
-
include/tcp_driver.h
binlog_driver.h
include/binlog_driver.h
bounded_buffer.h
include/bounded_buffer.h
protocol.h
include/protocol.h
boost/asio.hpp
-
boost/thread.hpp
-
gtid.h
include/gtid.h
include/value.h
boost/cstdint.hpp
-
protocol.h
include/protocol.h
boost/any.hpp
-
iostream
-

View File

@ -0,0 +1,27 @@
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o"
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o"
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o"
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o"
"/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp" "/home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
"/home/jan/skysql/skygateway/replication_listener/src/CMakeFiles/replication_static.dir/DependInfo.cmake"
)
# The include file search paths:
SET(CMAKE_C_TARGET_INCLUDE_PATH
"include"
"/include"
)
SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})

View File

@ -0,0 +1,210 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
# Include any dependencies generated for this target.
include examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/depend.make
# Include the progress variables for this target.
include examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/progress.make
# Include the compile flags for this target's objects.
include examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/main.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_1)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/main.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/main.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp > CMakeFiles/mysql2lucene.dir/main.cpp.i
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/main.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/main.cpp -o CMakeFiles/mysql2lucene.dir/main.cpp.s
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires:
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides.build
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/table_delete.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_2)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_delete.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_delete.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp > CMakeFiles/mysql2lucene.dir/table_delete.cpp.i
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_delete.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_delete.cpp -o CMakeFiles/mysql2lucene.dir/table_delete.cpp.s
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires:
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides.build
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/table_index.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_3)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_index.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_index.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp > CMakeFiles/mysql2lucene.dir/table_index.cpp.i
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_index.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_index.cpp -o CMakeFiles/mysql2lucene.dir/table_index.cpp.s
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires:
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides.build
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/table_insert.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_4)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_insert.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_insert.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp > CMakeFiles/mysql2lucene.dir/table_insert.cpp.i
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_insert.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_insert.cpp -o CMakeFiles/mysql2lucene.dir/table_insert.cpp.s
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires:
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides.build
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/flags.make
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_update.cpp
$(CMAKE_COMMAND) -E cmake_progress_report /home/jan/skysql/skygateway/replication_listener/CMakeFiles $(CMAKE_PROGRESS_5)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/mysql2lucene.dir/table_update.cpp.o -c /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/mysql2lucene.dir/table_update.cpp.i"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -E /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp > CMakeFiles/mysql2lucene.dir/table_update.cpp.i
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/mysql2lucene.dir/table_update.cpp.s"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && /usr/bin/c++ $(CXX_DEFINES) $(CXX_FLAGS) -S /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/table_update.cpp -o CMakeFiles/mysql2lucene.dir/table_update.cpp.s
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires:
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires
$(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides.build
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.provides.build: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
# Object files for target mysql2lucene
mysql2lucene_OBJECTS = \
"CMakeFiles/mysql2lucene.dir/main.cpp.o" \
"CMakeFiles/mysql2lucene.dir/table_delete.cpp.o" \
"CMakeFiles/mysql2lucene.dir/table_index.cpp.o" \
"CMakeFiles/mysql2lucene.dir/table_insert.cpp.o" \
"CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
# External object files for target mysql2lucene
mysql2lucene_EXTERNAL_OBJECTS =
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make
examples/mysql2lucene/mysql2lucene: lib/libreplication.a
examples/mysql2lucene/mysql2lucene: /usr/lib/libboost_system-mt.so
examples/mysql2lucene/mysql2lucene: /usr/lib/libboost_thread-mt.so
examples/mysql2lucene/mysql2lucene: /usr/lib/libmysqlclient_r.so
examples/mysql2lucene/mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable mysql2lucene"
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/mysql2lucene.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build: examples/mysql2lucene/mysql2lucene
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o.requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o.requires
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/requires
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean:
cd /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene && $(CMAKE_COMMAND) -P CMakeFiles/mysql2lucene.dir/cmake_clean.cmake
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/clean
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/depend:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene /home/jan/skysql/skygateway/replication_listener /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/depend

View File

@ -0,0 +1,14 @@
FILE(REMOVE_RECURSE
"CMakeFiles/mysql2lucene.dir/main.cpp.o"
"CMakeFiles/mysql2lucene.dir/table_delete.cpp.o"
"CMakeFiles/mysql2lucene.dir/table_index.cpp.o"
"CMakeFiles/mysql2lucene.dir/table_insert.cpp.o"
"CMakeFiles/mysql2lucene.dir/table_update.cpp.o"
"mysql2lucene.pdb"
"mysql2lucene"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/mysql2lucene.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)

View File

@ -0,0 +1,88 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/main.cpp
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
include/access_method_factory.h
include/basic_content_handler.h
include/basic_transaction_parser.h
include/binlog_api.h
include/binlog_driver.h
include/binlog_event.h
include/bounded_buffer.h
include/field_iterator.h
include/file_driver.h
include/gtid.h
include/protocol.h
include/resultset_iterator.h
include/row_of_fields.h
include/rowset.h
include/tcp_driver.h
include/value.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/globals.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.cpp
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
include/access_method_factory.h
include/basic_content_handler.h
include/basic_transaction_parser.h
include/binlog_api.h
include/binlog_driver.h
include/binlog_event.h
include/bounded_buffer.h
include/field_iterator.h
include/file_driver.h
include/protocol.h
include/resultset_iterator.h
include/row_of_fields.h
include/rowset.h
include/tcp_driver.h
include/value.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.cpp
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_index.h
include/basic_content_handler.h
include/binlog_event.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/globals.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.cpp
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
include/access_method_factory.h
include/basic_content_handler.h
include/basic_transaction_parser.h
include/binlog_api.h
include/binlog_driver.h
include/binlog_event.h
include/bounded_buffer.h
include/field_iterator.h
include/file_driver.h
include/protocol.h
include/resultset_iterator.h
include/row_of_fields.h
include/rowset.h
include/tcp_driver.h
include/value.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_delete.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_insert.h
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.cpp
/home/jan/Downloads/mysql-replication-listener-master/examples/mysql2lucene/table_update.h
include/access_method_factory.h
include/basic_content_handler.h
include/basic_transaction_parser.h
include/binlog_api.h
include/binlog_driver.h
include/binlog_event.h
include/bounded_buffer.h
include/field_iterator.h
include/file_driver.h
include/protocol.h
include/resultset_iterator.h
include/row_of_fields.h
include/rowset.h
include/tcp_driver.h
include/value.h

View File

@ -0,0 +1,88 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/main.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_delete.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_index.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_insert.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: examples/mysql2lucene/table_update.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/access_method_factory.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/basic_content_handler.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/basic_transaction_parser.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/binlog_api.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/binlog_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/binlog_event.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/bounded_buffer.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/field_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/file_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/gtid.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/protocol.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/resultset_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/row_of_fields.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/rowset.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/tcp_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o: include/value.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/globals.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/table_delete.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: examples/mysql2lucene/table_delete.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/access_method_factory.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/basic_content_handler.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/basic_transaction_parser.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/binlog_api.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/binlog_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/binlog_event.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/bounded_buffer.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/field_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/file_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/protocol.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/resultset_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/row_of_fields.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/rowset.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/tcp_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o: include/value.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/table_index.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: examples/mysql2lucene/table_index.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: include/basic_content_handler.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o: include/binlog_event.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/globals.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/table_insert.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: examples/mysql2lucene/table_insert.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/access_method_factory.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/basic_content_handler.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/basic_transaction_parser.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/binlog_api.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/binlog_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/binlog_event.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/bounded_buffer.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/field_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/file_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/protocol.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/resultset_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/row_of_fields.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/rowset.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/tcp_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o: include/value.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_delete.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_insert.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_update.cpp
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: examples/mysql2lucene/table_update.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/access_method_factory.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/basic_content_handler.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/basic_transaction_parser.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/binlog_api.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/binlog_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/binlog_event.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/bounded_buffer.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/field_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/file_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/protocol.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/resultset_iterator.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/row_of_fields.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/rowset.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/tcp_driver.h
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o: include/value.h

View File

@ -0,0 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# compile CXX with /usr/bin/c++
CXX_FLAGS = -I/home/jan/skysql/skygateway/replication_listener/include -I/include
CXX_DEFINES =

View File

@ -0,0 +1 @@
/usr/bin/c++ CMakeFiles/mysql2lucene.dir/main.cpp.o CMakeFiles/mysql2lucene.dir/table_delete.cpp.o CMakeFiles/mysql2lucene.dir/table_index.cpp.o CMakeFiles/mysql2lucene.dir/table_insert.cpp.o CMakeFiles/mysql2lucene.dir/table_update.cpp.o -o mysql2lucene -rdynamic -L/home/jan/skysql/skygateway/replication_listener/lib ../../lib/libreplication.a -lcrypto -lboost_system-mt -lboost_thread-mt -lpthread -lmysqlclient_r -Wl,-rpath,/home/jan/skysql/skygateway/replication_listener/lib

View File

@ -0,0 +1,6 @@
CMAKE_PROGRESS_1 = 4
CMAKE_PROGRESS_2 = 5
CMAKE_PROGRESS_3 = 6
CMAKE_PROGRESS_4 = 7
CMAKE_PROGRESS_5 = 8

View File

@ -0,0 +1,9 @@
project (mysql2lucene)
find_package(CLucene)
add_executable(mysql2lucene
main.cpp table_delete.cpp table_index.cpp
table_insert.cpp table_update.cpp)
include_directories(${CLUCENE_INCLUDE_DIR} ${CLUCENE_LIBRARY_DIR})
target_link_libraries(mysql2lucene ${CLUCENE_LIBRARY} replication_static)

View File

@ -0,0 +1,339 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/jan/skysql/skygateway/replication_listener
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/jan/skysql/skygateway/replication_listener
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
/usr/bin/cmake -i .
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: install/local
.PHONY : install/local/fast
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: install/strip
.PHONY : install/strip/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target package
package: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackConfig.cmake
.PHONY : package
# Special rule for the target package
package/fast: package
.PHONY : package/fast
# Special rule for the target package_source
package_source:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
cd /home/jan/skysql/skygateway/replication_listener && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/jan/skysql/skygateway/replication_listener/CPackSourceConfig.cmake
.PHONY : package_source
# Special rule for the target package_source
package_source/fast: package_source
.PHONY : package_source/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene/CMakeFiles/progress.marks
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/jan/skysql/skygateway/replication_listener/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/preinstall
.PHONY : preinstall/fast
# clear depends
depend:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
# Convenience name for target.
examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f CMakeFiles/Makefile2 examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
.PHONY : examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
# Convenience name for target.
mysql2lucene: examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/rule
.PHONY : mysql2lucene
# fast build rule for target.
mysql2lucene/fast:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build
.PHONY : mysql2lucene/fast
main.o: main.cpp.o
.PHONY : main.o
# target to build an object file
main.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.o
.PHONY : main.cpp.o
main.i: main.cpp.i
.PHONY : main.i
# target to preprocess a source file
main.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.i
.PHONY : main.cpp.i
main.s: main.cpp.s
.PHONY : main.s
# target to generate assembly for a file
main.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/main.cpp.s
.PHONY : main.cpp.s
table_delete.o: table_delete.cpp.o
.PHONY : table_delete.o
# target to build an object file
table_delete.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.o
.PHONY : table_delete.cpp.o
table_delete.i: table_delete.cpp.i
.PHONY : table_delete.i
# target to preprocess a source file
table_delete.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.i
.PHONY : table_delete.cpp.i
table_delete.s: table_delete.cpp.s
.PHONY : table_delete.s
# target to generate assembly for a file
table_delete.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_delete.cpp.s
.PHONY : table_delete.cpp.s
table_index.o: table_index.cpp.o
.PHONY : table_index.o
# target to build an object file
table_index.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.o
.PHONY : table_index.cpp.o
table_index.i: table_index.cpp.i
.PHONY : table_index.i
# target to preprocess a source file
table_index.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.i
.PHONY : table_index.cpp.i
table_index.s: table_index.cpp.s
.PHONY : table_index.s
# target to generate assembly for a file
table_index.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_index.cpp.s
.PHONY : table_index.cpp.s
table_insert.o: table_insert.cpp.o
.PHONY : table_insert.o
# target to build an object file
table_insert.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.o
.PHONY : table_insert.cpp.o
table_insert.i: table_insert.cpp.i
.PHONY : table_insert.i
# target to preprocess a source file
table_insert.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.i
.PHONY : table_insert.cpp.i
table_insert.s: table_insert.cpp.s
.PHONY : table_insert.s
# target to generate assembly for a file
table_insert.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_insert.cpp.s
.PHONY : table_insert.cpp.s
table_update.o: table_update.cpp.o
.PHONY : table_update.o
# target to build an object file
table_update.cpp.o:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.o
.PHONY : table_update.cpp.o
table_update.i: table_update.cpp.i
.PHONY : table_update.i
# target to preprocess a source file
table_update.cpp.i:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.i
.PHONY : table_update.cpp.i
table_update.s: table_update.cpp.s
.PHONY : table_update.s
# target to generate assembly for a file
table_update.cpp.s:
cd /home/jan/skysql/skygateway/replication_listener && $(MAKE) -f examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/build.make examples/mysql2lucene/CMakeFiles/mysql2lucene.dir/table_update.cpp.s
.PHONY : table_update.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... install"
@echo "... install/local"
@echo "... install/strip"
@echo "... list_install_components"
@echo "... mysql2lucene"
@echo "... package"
@echo "... package_source"
@echo "... rebuild_cache"
@echo "... main.o"
@echo "... main.i"
@echo "... main.s"
@echo "... table_delete.o"
@echo "... table_delete.i"
@echo "... table_delete.s"
@echo "... table_index.o"
@echo "... table_index.i"
@echo "... table_index.s"
@echo "... table_insert.o"
@echo "... table_insert.i"
@echo "... table_insert.s"
@echo "... table_update.o"
@echo "... table_update.i"
@echo "... table_update.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
cd /home/jan/skysql/skygateway/replication_listener && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@ -0,0 +1,34 @@
# Install script for directory: /home/jan/skysql/skygateway/replication_listener/examples/mysql2lucene
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
IF(BUILD_TYPE)
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
ELSE(BUILD_TYPE)
SET(CMAKE_INSTALL_CONFIG_NAME "")
ENDIF(BUILD_TYPE)
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
# Set the component getting installed.
IF(NOT CMAKE_INSTALL_COMPONENT)
IF(COMPONENT)
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
ELSE(COMPONENT)
SET(CMAKE_INSTALL_COMPONENT)
ENDIF(COMPONENT)
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
# Install shared libraries without execute permission?
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
SET(CMAKE_INSTALL_SO_NO_EXE "1")
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)

View File

@ -0,0 +1,34 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
* File: globals.h
* Author: thek
*
* Created on den 15 juni 2010, 09:37
*/
#ifndef _GLOBALS_H
#define _GLOBALS_H
#include <string>
#include "binlog_api.h"
extern std::string cl_index_file;
#endif /* _GLOBALS_H */

View File

@ -0,0 +1,212 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
* File: main.cpp
* Author: thek
*
* Created on den 12 maj 2010, 14:47
*/
#include <stdlib.h>
#include <boost/foreach.hpp>
#include "binlog_api.h"
#include "table_update.h"
#include "table_delete.h"
#include "table_insert.h"
#include "table_index.h"
using mysql::system::create_transport;
using mysql::Binary_log;
std::string cl_index_file;
class Incident_handler : public mysql::Content_handler
{
public:
Incident_handler() : mysql::Content_handler() {}
Binary_log_event *process_event(mysql::Incident_event *incident)
{
std::cout << "Event type: "
<< mysql::system::get_event_type_str(incident->get_event_type())
<< " length: " << incident->header()->event_length
<< " next pos: " << incident->header()->next_position
<< std::endl;
std::cout << "type= "
<< (unsigned)incident->type
<< " message= "
<< incident->message
<< std::endl
<< std::endl;
/* Consume the event */
delete incident;
return 0;
}
};
class Applier : public mysql::Content_handler
{
public:
Applier(Table_index *index)
{
m_table_index= index;
}
mysql::Binary_log_event *process_event(mysql::Row_event *rev)
{
boost::uint64_t table_id= rev->table_id;
Int2event_map::iterator ti_it= m_table_index->find(table_id);
if (ti_it == m_table_index->end ())
{
std::cout << "Table id "
<< table_id
<< " was not registered by any preceding table map event."
<< std::endl;
return rev;
}
/*
Each row event contains multiple rows and fields. The Row_iterator
allows us to iterate one row at a time.
*/
mysql::Row_event_set rows(rev, ti_it->second);
/*
Create a fuly qualified table name
*/
std::ostringstream os;
os << ti_it->second->db_name << '.' << ti_it->second->table_name;
mysql::Row_event_set::iterator it= rows.begin();
do {
mysql::Row_of_fields fields= *it;
if (rev->get_event_type() == mysql::WRITE_ROWS_EVENT)
table_insert(os.str(),fields);
if (rev->get_event_type() == mysql::UPDATE_ROWS_EVENT)
{
++it;
mysql::Row_of_fields fields2= *it;
table_update(os.str(),fields,fields2);
}
if (rev->get_event_type() == mysql::DELETE_ROWS_EVENT)
table_delete(os.str(),fields);
} while (++it != rows.end());
/* Consume the event */
delete rev;
return 0;
}
private:
Table_index *m_table_index;
};
/*
*
*/
int main(int argc, char** argv)
{
if (argc != 3)
{
fprintf(stderr,"Usage:\n\nmysql2lucene URL\n\nExample:\n\nmysql2lucene mysql://root@127.0.0.1:3306 myindexfile\n\n");
return (EXIT_FAILURE);
}
Binary_log binlog(create_transport(argv[1]));
cl_index_file.append (argv[2]);
/*
Attach a custom event content handlers
*/
Incident_handler incident_hndlr;
Table_index table_event_hdlr;
Applier replay_hndlr(&table_event_hdlr);
binlog.content_handler_pipeline()->push_back(&table_event_hdlr);
binlog.content_handler_pipeline()->push_back(&incident_hndlr);
binlog.content_handler_pipeline()->push_back(&replay_hndlr);
if (binlog.connect())
{
fprintf(stderr,"Can't connect to the master.\n");
return (EXIT_FAILURE);
}
binlog.set_position("searchbin.000001", 4);
bool quit= false;
while(!quit)
{
/*
Pull events from the master. This is the heart beat of the event listener.
*/
Binary_log_event *event;
binlog.wait_for_next_event(&event);
/*
Print the event
*/
std::cout << "Event type: "
<< mysql::system::get_event_type_str(event->get_event_type())
<< " length: " << event->header()->event_length
<< " next pos: " << event->header()->next_position
<< std::endl;
/*
Perform a special action based on event type
*/
switch(event->header()->type_code)
{
case mysql::QUERY_EVENT:
{
const mysql::Query_event *qev= static_cast<const mysql::Query_event *>(event);
std::cout << "query= "
<< qev->query
<< " db= "
<< qev->db_name
<< std::endl
<< std::endl;
if (qev->query.find("DROP TABLE REPLICATION_LISTENER") != std::string::npos)
{
quit= true;
}
}
break;
case mysql::ROTATE_EVENT:
{
mysql::Rotate_event *rot= static_cast<mysql::Rotate_event *>(event);
std::cout << "filename= "
<< rot->binlog_file.c_str()
<< " pos= "
<< rot->binlog_pos
<< std::endl
<< std::endl;
}
break;
} // end switch
delete event;
} // end loop
return (EXIT_SUCCESS);
}

View File

@ -0,0 +1,96 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
#include "globals.h"
#include "table_delete.h"
#include <CLucene.h>
CL_NS_USE(index)
CL_NS_USE(util)
CL_NS_USE(store)
CL_NS_USE(search)
CL_NS_USE(document)
CL_NS_USE(queryParser)
CL_NS_USE(analysis)
CL_NS_USE2(analysis,standard)
void table_delete(std::string table_name, mysql::Row_of_fields &fields)
{
mysql::Row_of_fields::iterator field_it= fields.begin();
/*
* First column must be an integer key value
*/
if (!(field_it->type() == mysql::system::MYSQL_TYPE_LONG ||
field_it->type() == mysql::system::MYSQL_TYPE_SHORT ||
field_it->type() == mysql::system::MYSQL_TYPE_LONGLONG))
return;
int field_id= 0;
std::string key;
std::string combined_key;
mysql::Converter converter;
converter.to(key, *field_it);
combined_key.append (table_name);
combined_key.append ("_");
combined_key.append (key);
do {
/*
Each row contains a vector of Value objects. The converter
allows us to transform the value into another
representation.
Only index fields which might contain searchable information.
*/
if (field_it->type() == mysql::system::MYSQL_TYPE_VARCHAR ||
field_it->type() == mysql::system::MYSQL_TYPE_MEDIUM_BLOB ||
field_it->type() == mysql::system::MYSQL_TYPE_BLOB)
{
std::string str;
converter.to(str, *field_it);
StandardAnalyzer an;
IndexReader *reader;
/*
* Create a Lucene index writer
*/
if ( IndexReader::indexExists(cl_index_file.c_str()) )
{
if ( IndexReader::isLocked(cl_index_file.c_str()) )
{
std::cout << "Index was locked; unlocking it."
<< std::endl;
IndexReader::unlock(cl_index_file.c_str());
}
reader= IndexReader::open(cl_index_file.c_str());
}
std::cout << "Deleting index '"
<< combined_key
<< "'" << std::endl;
TCHAR *combined_key_w= STRDUP_AtoW(combined_key.c_str ());
Term uniqueKey(_T("id"),combined_key_w);
reader->deleteDocuments(&uniqueKey);
delete combined_key_w;
reader->close();
delete reader;
break;
}
} while(++field_it != fields.end());
}

View File

@ -0,0 +1,35 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
* File: table_delete.h
* Author: thek
*
* Created on den 17 juni 2010, 14:28
*/
#ifndef _TABLE_DELETE_H
#define _TABLE_DELETE_H
#include <string>
#include "binlog_api.h"
void table_delete(std::string table_name, mysql::Row_of_fields &fields);
#endif /* _TABLE_DELETE_H */

View File

@ -0,0 +1,54 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
#include "table_index.h"
mysql::Binary_log_event *Table_index::process_event(mysql::Table_map_event *tm)
{
if (find(tm->table_id) == end())
insert(Event_index_element(tm->table_id,tm));
/* Consume this event so it won't be deallocated beneith our feet */
return 0;
}
Table_index::~Table_index ()
{
Int2event_map::iterator it= begin();
do
{
delete it->second;
} while( ++it != end());
}
int Table_index::get_table_name(int table_id, std::string out)
{
iterator it;
if ((it= find(table_id)) == end())
{
std::stringstream os;
os << "unknown_table_" << table_id;
out.append(os.str());
return 1;
}
out.append(it->second->table_name);
return 0;
}

View File

@ -0,0 +1,49 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
* File: table_index.h
* Author: thek
*
* Created on den 8 september 2010, 13:47
*/
#ifndef TABLE_INDEX_H
#define TABLE_INDEX_H
#include "binlog_event.h"
#include <map>
#include "basic_content_handler.h"
typedef std::pair<boost::uint64_t, mysql::Table_map_event *> Event_index_element;
typedef std::map<boost::uint64_t, mysql::Table_map_event *> Int2event_map;
class Table_index : public mysql::Content_handler, public Int2event_map
{
public:
mysql::Binary_log_event *process_event(mysql::Table_map_event *tm);
~Table_index();
int get_table_name(int table_id, std::string out);
};
#endif /* TABLE_INDEX_H */

View File

@ -0,0 +1,152 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
#include "globals.h"
#include "table_insert.h"
#include <stdlib.h>
#include <CLucene.h>
#include <boost/foreach.hpp>
CL_NS_USE(index)
CL_NS_USE(util)
CL_NS_USE(store)
CL_NS_USE(search)
CL_NS_USE(document)
CL_NS_USE(queryParser)
CL_NS_USE(analysis)
CL_NS_USE2(analysis,standard)
void table_insert(std::string table_name, mysql::Row_of_fields &fields)
{
mysql::Row_of_fields::iterator field_it= fields.begin();
/*
* First column must be an integer key value
*/
if (!(field_it->type() == mysql::system::MYSQL_TYPE_LONG ||
field_it->type() == mysql::system::MYSQL_TYPE_SHORT ||
field_it->type() == mysql::system::MYSQL_TYPE_LONGLONG))
return;
Document *doc= new Document();
IndexWriter* writer = NULL;
StandardAnalyzer an;
mysql::Converter converter;
bool found_searchable= false;
int col= 0;
TCHAR *w_table_name;
TCHAR *w_str;
TCHAR *w_key_str;
TCHAR *w_combined_key;
std::string aggstr;
/*
* Create a Lucene index writer
*/
if ( IndexReader::indexExists(cl_index_file.c_str()) )
{
if ( IndexReader::isLocked(cl_index_file.c_str()) )
{
printf("Index was locked... unlocking it.\n");
IndexReader::unlock(cl_index_file.c_str());
}
writer = new IndexWriter( cl_index_file.c_str(), &an, false);
}else{
writer = new IndexWriter( cl_index_file.c_str() ,&an, true);
}
writer->setMaxFieldLength(IndexWriter::DEFAULT_MAX_FIELD_LENGTH);
/*
* Save the presumed table key for later use when we discover if this row
* should be indexed.
*/
std::string key;
converter.to(key, *field_it);
do {
/*
Each row contains a vector of Value objects. The converter
allows us to transform the value into another
representation.
Only index fields which might contain searchable information.
*/
if (field_it->type() == mysql::system::MYSQL_TYPE_VARCHAR ||
field_it->type() == mysql::system::MYSQL_TYPE_MEDIUM_BLOB ||
field_it->type() == mysql::system::MYSQL_TYPE_BLOB)
{
std::string str;
converter.to(str, *field_it);
if (!found_searchable)
{
std::string combined_key;
combined_key.append(table_name);
combined_key.append("_");
combined_key.append(key);
w_table_name= STRDUP_AtoW(table_name.c_str());
Field *table_field= new Field(_T("table"),w_table_name, Field::STORE_YES | Field::INDEX_UNTOKENIZED);
doc->add( *table_field );
found_searchable= true;
w_key_str= STRDUP_AtoW(key.c_str());
Field *key_field= new Field(_T("row_id"),w_key_str, Field::STORE_YES | Field::INDEX_UNTOKENIZED);
doc->add(*key_field);
w_combined_key= STRDUP_AtoW(combined_key.c_str());
Field *combined_key_field= new Field(_T("id"),w_combined_key, Field::STORE_YES | Field::INDEX_UNTOKENIZED);
doc->add(*combined_key_field);
}
/*
* Aggregate all searchable information into one string. The key is the
* qualified table name.
*/
aggstr.append(" "); // This separator helps us loosing important tokens.
aggstr.append(str);
++col;
}
} while(++field_it != fields.end());
if (found_searchable)
{
std::cout << "Indexing "
<< aggstr.length()
<< " characters in table '"
<< table_name
<< "' using key value '"
<< key
<< "'."
<< std::endl;
std::cout.flush ();
w_str= STRDUP_AtoW(aggstr.c_str());
Field *content_field= new Field(_T("text"),w_str, Field::STORE_YES | Field::INDEX_TOKENIZED);
doc->add( *content_field );
}
writer->addDocument(doc);
writer->close();
/*
* Clean up dynamic allocations during indexing
*/
if (found_searchable)
{
free(w_table_name);
free(w_str);
free(w_key_str);
free(w_combined_key);
}
delete(doc);
delete(writer);
}

View File

@ -0,0 +1,36 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
* File: table_insert.h
* Author: thek
*
* Created on den 15 juni 2010, 09:34
*/
#ifndef _TABLE_INSERT_H
#define _TABLE_INSERT_H
#include <string>
#include "binlog_api.h"
void table_insert(std::string table_name, mysql::Row_of_fields &fields);
#endif /* _TABLE_INSERT_H */

View File

@ -0,0 +1,37 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
#include "table_update.h"
#include "table_insert.h"
#include "table_delete.h"
void table_update(std::string table_name, mysql::Row_of_fields &old_fields, mysql::Row_of_fields &new_fields)
{
/*
Find previous entry and delete it.
*/
table_delete(table_name, old_fields);
/*
Insert new entry.
*/
table_insert(table_name, new_fields);
}

View File

@ -0,0 +1,34 @@
/*
Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights
reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
02110-1301 USA
*/
/*
* File: table_update.h
* Author: thek
*
* Created on den 17 juni 2010, 14:27
*/
#ifndef _TABLE_UPDATE_H
#define _TABLE_UPDATE_H
#include <string>
#include "binlog_api.h"
void table_update(std::string table_name, mysql::Row_of_fields &old_fields, mysql::Row_of_fields &new_fields);
#endif /* _TABLE_UPDATE_H */

View File

@ -0,0 +1,35 @@
DROP DATABASE NEW1;
DROP DATABASE NEW2;
CREATE DATABASE NEW1;
CREATE DATABASE NEW2;
USE NEW1;
CREATE TABLE NEW_TEST1(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
CREATE TABLE NEW_TEST2(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
USE NEW2;
CREATE TABLE NEW_TEST3(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
CREATE TABLE NEW_TEST4(A INT NOT NULL PRIMARY KEY, B INT) ENGINE=INNODB;
USE NEW1;
INSERT INTO NEW_TEST1 VALUES (1,1),(2,2)(3,3),(4,4);
INSERT INTO NEW_TEST1 VALUES (5,5),(6,2)(7,3),(8,4);
INSERT INTO NEW_TEST2 VALUES (1,1),(2,2)(3,3),(4,4);
INSERT INTO NEW_TEST2 VALUES (5,5),(6,2)(7,3),(8,4);
INSERT INTO NEW_TEST1 VALUES (9,9);
USE NEW2;
INSERT INTO NEW_TEST3 VALUES (1,1),(2,2)(3,3),(4,4);
INSERT INTO NEW_TEST3 VALUES (5,5),(6,2)(7,3),(8,4);
INSERT INTO NEW_TEST4 VALUES (1,1),(2,2)(3,3),(4,4);
INSERT INTO NEW_TEST4 VALUES (5,5),(6,2)(7,3),(8,4);
INSERT INTO NEW_TEST4 VALUES (9,9);
COMMIT;
USE NEW1;
UPDATE NEW_TEST1 SET B = B + 1;
USE NEW2;
UPDATE NEW_TEST4 SET B = B + 1;
COMMIT;
DELETE FROM NEW1.NEW_TEST2 WHERE A = 3;
DELETE FROM NEW2.NEW_TEST3 WHERE A = 3;
UPDATE NEW1.NEW_TEST1 SET B = B + 5 WHERE A = 4;
UPDATE NEW2.NEW_TEST4 SET B = B + 5 WHERE A = 4;
USE NEW1;
DROP TABLE NEW_TEST1;
DROP TABLE NEW2.NEW_TEST3;