summaryrefslogtreecommitdiff
path: root/storage/mroonga/vendor/groonga
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.2 to 10.3Marko Mäkelä2019-08-132-2/+2
|\
| * Fixed some errors & warnings found by clangMonty2019-08-082-2/+2
| | | | | | | | | | | | | | - pcretest.c could use macro with side effect - maria_chk could access freed memory - Initialized some variables that could be accessed uninitalized - Fixed compiler warning in my_atomic-t.c
* | Merge 10.2 into 10.3Eugene Kosov2019-07-164-114/+0
|\ \ | |/
| * fix clang warningsEugene Kosov2019-07-094-114/+0
| |
* | cmake 3.14.3 warningsSergei Golubchik2019-07-122-6/+4
| |
* | Merge 10.2 into 10.3Marko Mäkelä2019-05-14412-425/+425
|\ \ | |/
| * Merge 10.1 into 10.2Marko Mäkelä2019-05-13412-425/+425
| |\
| | * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-11412-425/+425
| | |
* | | Merge branch '10.2' into 10.3Sergei Golubchik2018-09-281-1/+1
|\ \ \ | |/ /
| * | Merge branch '10.1' into 10.2Oleksandr Byelkin2018-09-141-1/+1
| |\ \ | | |/
| | * compiler warnings (clang 4.0.1 on i386)Sergei Golubchik2018-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extra/mariabackup/fil_cur.cc:361:42: warning: format specifies type 'unsigned long' but the argument has type 'ib_int64_t' (aka 'long long') [-Wformat] extra/mariabackup/fil_cur.cc:376:9: warning: format specifies type 'unsigned long' but the argument has type 'ib_int64_t' (aka 'long long') [-Wformat] sql/handler.cc:6196:45: warning: format specifies type 'unsigned long' but the argument has type 'wsrep_trx_id_t' (aka 'unsigned long long') [-Wformat] sql/log.cc:1681:16: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] sql/log.cc:1687:16: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] sql/wsrep_sst.cc:1388:86: warning: format specifies type 'long' but the argument has type 'wsrep_seqno_t' (aka 'long long') [-Wformat] sql/wsrep_sst.cc:232:86: warning: format specifies type 'long' but the argument has type 'wsrep_seqno_t' (aka 'long long') [-Wformat] storage/connect/filamdbf.cpp:450:47: warning: format specifies type 'short' but the argument has type 'int' [-Wformat] storage/connect/filamdbf.cpp:970:47: warning: format specifies type 'short' but the argument has type 'int' [-Wformat] storage/connect/inihandl.cpp:197:16: warning: address of array 'key->name' will always evaluate to 'true' [-Wpointer-bool-conversion] storage/innobase/btr/btr0scrub.cc:151:17: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] storage/innobase/buf/buf0buf.cc:5085:8: warning: nonnull parameter 'bpage' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] storage/innobase/fil/fil0crypt.cc:2454:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] storage/innobase/handler/ha_innodb.cc:18685:7: warning: format specifies type 'unsigned long' but the argument has type 'wsrep_trx_id_t' (aka 'unsigned long long') [-Wformat] storage/innobase/row/row0mysql.cc:3319:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] storage/innobase/row/row0mysql.cc:3327:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] storage/maria/ma_norec.c:35:10: warning: implicit conversion from 'int' to 'my_bool' (aka 'char') changes value from 131 to -125 [-Wconstant-conversion] storage/maria/ma_norec.c:42:10: warning: implicit conversion from 'int' to 'my_bool' (aka 'char') changes value from 131 to -125 [-Wconstant-conversion] storage/maria/ma_test2.c:1009:12: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] storage/maria/ma_test2.c:1010:12: warning: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] storage/mroonga/ha_mroonga.cpp:9189:44: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] storage/mroonga/vendor/groonga/lib/expr.c:4987:22: warning: comparison of constant -1 with expression of type 'grn_operator' is always false [-Wtautological-constant-out-of-range-compare] storage/xtradb/btr/btr0scrub.cc:151:17: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] storage/xtradb/buf/buf0buf.cc:5047:8: warning: nonnull parameter 'bpage' will evaluate to 'true' on first encounter [-Wpointer-bool-conversion] storage/xtradb/fil/fil0crypt.cc:2454:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] storage/xtradb/row/row0mysql.cc:3324:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] storage/xtradb/row/row0mysql.cc:3332:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] unittest/sql/mf_iocache-t.cc:120:35: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] unittest/sql/mf_iocache-t.cc:96:35: note: expanded from macro 'INFO_TAIL'
* | | Merge 10.2 into 10.3Marko Mäkelä2018-08-032-1/+2
|\ \ \ | |/ /
| * | Merge 10.1 into 10.2Marko Mäkelä2018-08-022-1/+2
| |\ \ | | |/
| | * Fix Internal Compiler Error GCC-6.3.0Vicențiu Ciorbaru2018-06-291-1/+1
| | | | | | | | | | | | | | | | | | Change the float comparison function to use a negated version when comparing for equality. This actually produces less code when compiling with optimizations (O3) on.
| | * Adopt Debian's fix-FTBFS-on-GNU-Hurd.patch.Sergei Petrunia2018-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | - Took the original patch by Ondrej Sury; - Applied a fix for a known problem in the patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882062 - Fixed a few other issues
* | | Merge branch '10.2' into 10.3Sergei Golubchik2018-05-112-4/+13
|\ \ \ | |/ /
| * | Merge branch '10.1' into 10.2Sergei Golubchik2018-05-102-4/+13
| |\ \ | | |/
| | * Mroonga cmake failure - LZ4_LIBS = NOTFOUNDVicențiu Ciorbaru2018-05-081-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following variables are used in this project, but they are set to NOTFOUND. LZ4_LIBS The reason for the failure is that pkg_check_modules will not guarantee <prefix>_LIBRARY_DIRS variable to be set, according to documentation. When it's not set, we would force find_library to look in an empty path and thus fail to correctly find LZ4_LIBS, although pck_check_modules did previously discover that the library is installed. To fix the problem and still keep the logic of first following LIBLZ4_LIBRARY_DIRS and *then* look at other paths, we call find_library twice. This is the recommended approach, according to CMake 3.11 documentation.
| | * MDEV-14541 - Workaround GCC ICE on ARM64Sergey Vojtovich2018-05-081-1/+2
| | | | | | | | | | | | -fno-tree-loop-vectorize is only supported by gcc versions >5.
* | | Fix a lot of compiler warnings found by -WunusedMonty2018-04-262-2/+2
|/ /
* | Merge 10.1 into 10.2Marko Mäkelä2018-02-171-0/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | Disable the test encryption.innodb_encryption-page-compression because the wait_condition would seem to time out deterministically. MDEV-14814 has to be addressed in 10.2 separately. Datafile::validate_first_page(): Do not invoke page_size_t::page_size_t(flags) before validating the tablespace flags. This avoids a crash in MDEV-15333 innodb.restart test case. FIXME: Reduce the number of error messages. The first one is enough.
| * MDEV-14541 - Workaround GCC ICE on ARM64Sergey Vojtovich2018-02-161-0/+5
| |
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-11-21508-101379/+151023
|\ \ | |/
| * mroonga after-merge CMakeLists.txt fixesSergei Golubchik2017-11-133-679/+3
| | | | | | | | | | | | | | | | | | | | | | 1. remove erroneously committed *.orig 2. fix LZ4 detection on Mac OS X and FreeBSD. Cannot do pkg_check_modules(LIBLZ4 liblz4) find_library(LIBLZ4_LIBS ... ) because find_library(X) does not do anything if X is defined (documented), and pkg_check_modules(Y) sets Y_LIBS to "" (undocumented!)
| * Merge branch 'ks-10.1-mroonga' into 10.1Sergei Golubchik2017-11-10509-101380/+151700
| |\
| | * Update Mroonga to the latest version on 2017-10-16T09:50:49+0900Kentoku2017-10-165-9/+148
| | |
| | * Update Mroonga to the latest version on 2017-10-10T23:15:25+0900Kentoku2017-10-10507-101374/+151547
| | |
* | | Merge branch '10.1' into 10.2Sergei Golubchik2017-10-243-3/+3
|\ \ \ | |/ /
| * | Various compier warningsSergei Golubchik2017-10-223-3/+3
| |/ | | | | | | gcc 5.4 and 7.1, Debug and Release builds
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-301-3/+9
|\ \ | |/
| * Merge 10.0 into 10.1Marko Mäkelä2017-03-031-3/+9
| |\
| | * MDEV-11753 Link failure on missing -L${LIBLZ4_LIBRARY_DIR}Sergei Golubchik2017-02-281-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On FreeBSD liblz4 is installed in /usr/local/lib. Groonga uses pkg_check_modules to check for liblz4 (that is, pkg-config), and then it used to set for libgroonga.a link_directories({$LIBLZ4_LIBRARY_DIRS}) target_link_libraries(... ${LIBLZ4_LIBRARIES}) Now groonga is a static library, linked into ha_mroonga.so. CMake won't link dynamic liblz4.so into libgroonga.a, instead it'll pass it as a dependency and will link it into ha_mroonga.so. Fine so far. But it will not pass link_directories from the static library as a dependency, so ha_mroonga.so won't find liblz4.so As suggested on cmake mailing list (e.g. here: http://public.kitware.com/pipermail/cmake/2011-November/047468.html) we switch to use the full path to liblz4.so, instead of the -l/-L pair.
* | | Fixed issues found by buildbotMonty2017-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - MDEV-11621 rpl.rpl_gtid_stop_start fails sporadically in buildbot - MDEV-11620 rpl.rpl_upgrade_master_info fails sporadically in buildbot The issue above was probably that the build machine was overworked and the shutdown took longer than 30 resp 10 seconds, which caused MyISAM tables to be marked as crashed. Fixed by flushing myisam tables before doing a forced shutdown/kill. I also increased timeout for forced shutdown from 10 seconds to 60 seconds to fix other possible issues on slow machines. Fixed also some compiler warnings
* | | Fixed compiler warnings and test failures found by buildbotMonty2016-06-244-4/+5
| | | | | | | | | | | | Fixed ccfilter to detect errors where the column is included in the error message
* | | General spell fixing in comments and stringsOtto Kekäläinen2016-06-082-2/+2
|/ /
* | Fixes needed to compile with musl C libraryMonty2016-02-072-3/+7
| | | | | | | | Patch originally by Codarren Velvindron
* | MDEV-8551 compilation fails with 10.1.6Sergei Golubchik2015-10-291-2/+2
| | | | | | | | | | | | | | | | | | | | Restore changes that were lost in a merge. Originally from commit 66fd45a Author: Sergei Golubchik <serg@mariadb.org> Date: Mon Jun 8 21:06:56 2015 +0200 MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4
* | Speed up some innodb testsMonty2015-10-051-1/+1
| | | | | | | | | | | | | | | | Fixed compiler warnings sql/sql_view.cc: Ensure that merged_for_insert is properly reset (Left of an old patch)
* | cmake: don't repeat yourselfSergei Golubchik2015-09-041-4/+12
| | | | | | | | | | | | | | make repeated cmake runs less verbose: * remove few not very useful MESSAGE's * only run pkg_check_modules() if there's no cached result * only print QQGraph messages on the first run
* | cmake: always use the same function to test for compiler flagsSergei Golubchik2015-09-041-47/+22
| | | | | | | | | | | | | | Fix all cmake tests (including plugin) to use MY_CHECK_AND_SET_COMPILER_FLAG. And fix that function to be compatible with cmake 3.0. This way flag checks are correctly cached (even in cmake 3.0) and properly reused.
* | Update Mroonga to the latest version on 2015-07-02T04:12:21+0900Kentoku SHIBA2015-07-02126-822/+7167
|/
* MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4Sergei Golubchik2015-06-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | in cmake tests let's treat clang like gcc (same options, same builtins) in many cases. * don't check the compiler when * testing for -fvisibility=hidden support * testing for HAVE_ABI_CXA_DEMANGLE * testing for HAVE_GCC_ATOMIC_BUILTINS * when removing options with string(replace) * when running ${CC} --version (ignore the error instead) * run ABI checks for clang * use "canonical" gcc flags for clang * fix groonga too Also: * add cmake detection for gcc __atomic_* builtins. they might be supported (__ATOMIC_SEQ_CST is defined), but not for all operand sizes. In particular, 64-bit atomic load is problematic on i386 * cache check results for Windows * remove the test for HAVE_CXXABI_H (HAVE_ABI_CXA_DEMANGLE is suffifient)
* revert CMakeList.txt at groonga-normalizer-mysql/normalizersKentoku SHIBA2015-05-052-20/+1
|
* add -fPIC for groonga-normalizer-mysqlKentoku SHIBA2015-05-051-0/+8
|
* add -fPIC for groonga-normalizer-mysqlKentoku SHIBA2015-05-051-0/+7
|
* Update Mroonga to the latest version on 2015-04-30T04:44:30+0900Kentoku SHIBA2015-04-30175-4150/+19537
|
* after merge: fix mroonga to compile and pass its testsSergei Golubchik2015-02-191-1/+1
|
* Update Mroonga to the latest version on 2015-02-17T13:34:27+0900Kentoku SHIBA2015-02-17289-6602/+40866
|
* 10.0-mroongaSergei Golubchik2014-11-201-33/+0
|\
| * remove needless source treeKentoku SHIBA2014-11-04301-146504/+0
| |