== Configuring MariaDB Connector/C
CMake Warning (dev) at storage/columnstore/columnstore/cmake/boost.cmake:4 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
storage/columnstore/columnstore/CMakeLists.txt:40 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
gcc will be used for Boost compilation with compiler GNU
== MariaDB-Columnstore 25.10.4
Adding plugin via MariaDB plugin API
CMake Warning (dev) at storage/oqgraph/CMakeLists.txt:12 (FIND_PACKAGE):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
Call Stack (most recent call first):
storage/oqgraph/CMakeLists.txt:43 (CHECK_OQGRAPH)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at cmake/libutils.cmake:225 (ADD_CUSTOM_COMMAND):
The following keywords are not supported when using
add_custom_command(TARGET): DEPENDS.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
cmake/libutils.cmake:263 (MERGE_STATIC_LIBS)
libmysqld/CMakeLists.txt:207 (MERGE_LIBRARIES)
This warning is for project developers. Use -Wno-dev to suppress it.
The following features have been enabled:
* WSREP, Server plugin STATIC
* ARCHIVE, Storage Engine STATIC
* BLACKHOLE, Storage Engine STATIC
* CONNECT_VCT, Support for VCT in the CONNECT storage engine
* CONNECT_LIBXML2, Support for LIBXML2 in the CONNECT storage engine
* CONNECT_ODBC, Support for ODBC in the CONNECT storage engine
* CONNECT_ZIP, Support for ZIP in the CONNECT storage engine
* CONNECT_REST, Support for REST API in the CONNECT storage engine
* CONNECT_XMAP, Support for index file mapping in the CONNECT storage engine
* CONNECT, Storage Engine MODULE
* CSV, Storage Engine STATIC
* FEDERATEDX, Storage Engine MODULE
* HEAP, Storage Engine STATIC
* INNODB_AHI, InnoDB Adaptive Hash Index
* INNODB_ROOT_GUESS, Cache index root block descriptors in InnoDB
* INNOBASE, Storage Engine STATIC
* MARIABACKUP, MariaDB Backup Utility
* ARIA, Storage Engine STATIC
* S3, Storage Engine MODULE
* MROONGA, Storage Engine MODULE
* MYISAM, Storage Engine STATIC
* MYISAMMRG, Storage Engine STATIC
* PERFSCHEMA, Storage Engine STATIC
* ROCKSDB, Storage Engine MODULE
* ROCKSDB_Snappy, Snappy Compression in the RocksDB storage engine
* ROCKSDB_ZSTD, ZSTD Compression in the RocksDB storage engine
* ROCKSDB_ZLIB, zlib Compression in the RocksDB storage engine
* SEQUENCE, Storage Engine STATIC
* SPHINX, Storage Engine MODULE
* SPIDER, Storage Engine MODULE
* TEST_SQL_DISCOVERY, Storage Engine MODULE
* AUDIT_NULL, Server plugin MODULE
* AUTH_ED25519, Server plugin MODULE
* DIALOG_EXAMPLES, Server plugin MODULE
* AUTH_TEST_PLUGIN, Server plugin MODULE
* QA_AUTH_INTERFACE, Server plugin MODULE
* QA_AUTH_SERVER, Server plugin MODULE
* QA_AUTH_CLIENT, Server plugin MODULE
* AUTH_0X0100, Server plugin MODULE
* AUTH_GSSAPI, Server plugin MODULE
* AUTH_MYSQL_SHA2, Server plugin MODULE
* AUTH_PAM_V1, Server plugin MODULE
* AUTH_PAM, Server plugin MODULE
* AUTH_PARSEC, Server plugin MODULE
* AUTH_SOCKET, Server plugin STATIC
* CRACKLIB_PASSWORD_CHECK, Server plugin MODULE
* DAEMON_EXAMPLE, Server plugin MODULE
* DEBUG_KEY_MANAGEMENT, Server plugin MODULE
* DISKS, Server plugin MODULE
* EXAMPLE_KEY_MANAGEMENT, Server plugin MODULE
* FEEDBACK, Server plugin STATIC
* FILE_KEY_MANAGEMENT, Server plugin MODULE
* FTEXAMPLE, Server plugin MODULE
* FUNC_TEST, Server plugin MODULE
* HANDLERSOCKET, Server plugin MODULE
* HASHICORP_KEY_MANAGEMENT, Hashicorp Key Management Plugin
* LOCALES, Server plugin MODULE
* METADATA_LOCK_INFO, Server plugin MODULE
* PASSWORD_REUSE_CHECK, Server plugin MODULE
* PROVIDER_BZIP2, Server plugin MODULE
* PROVIDER_LZ4, Server plugin MODULE
* PROVIDER_LZMA, Server plugin MODULE
* PROVIDER_LZO, Server plugin MODULE
* PROVIDER_SNAPPY, Server plugin MODULE
* QUERY_CACHE_INFO, Server plugin MODULE
* QUERY_RESPONSE_TIME, Server plugin MODULE
* SERVER_AUDIT, Server plugin MODULE
* SIMPLE_PASSWORD_CHECK, Server plugin MODULE
* SQL_ERRLOG, Server plugin MODULE
* TEST_SQL_SERVICE, Server plugin MODULE
* TYPE_GEOM, Server plugin STATIC
* TYPE_INET, Server plugin STATIC
* TYPE_MYSQL_JSON, Server plugin MODULE
* TYPE_MYSQL_TIMESTAMP, Server plugin MODULE
* TYPE_TEST, Server plugin MODULE
* TYPE_UUID, Server plugin STATIC
* USER_VARIABLES, Server plugin STATIC
* USERSTAT, Server plugin STATIC
* TEST_VERSIONING, Server plugin MODULE
* WSREP_INFO, Server plugin MODULE
* WSREP_PROVIDER, Server plugin STATIC
* THREAD_POOL_INFO, Server plugin STATIC
* PARTITION, Storage Engine STATIC
* SQL_SEQUENCE, Storage Engine STATIC
* ONLINE_ALTER_LOG, Storage Engine STATIC
* EMBEDDED_SERVER, Embedded MariaDB Server Library
-- The following OPTIONAL packages have been found:
* ZLIB
* LibXml2
* GSSAPI
* BZip2
* LZ4 (required version >= 1.6)
* LibLZMA
* LZO
* Snappy
* BISON (required version >= 2.4)
-- The following RECOMMENDED packages have been found:
* OpenSSL
-- The following REQUIRED packages have been found:
* Curses
* Threads
* CURL
-- The following features have been disabled:
* LIBWRAP, Support for tcp wrappers
* SYSTEMD, Systemd scripts and notification support
* COLUMNSTORE, Storage Engine
* CONNECT_JDBC, Support for JDBC in the CONNECT storage engine
* CONNECT_MONGODB, Support for MongoDB in the CONNECT storage engine
* EXAMPLE, Storage Engine
* FEDERATED, Storage Engine
* INNODB_EXTRA_DEBUG, Extra InnoDB debug checks
* ROCKSDB_LZ4, LZ4 Compression in the RocksDB storage engine
* ROCKSDB_BZip2, BZip2 Compression in the RocksDB storage engine
* AWS_KEY_MANAGEMENT, AWS Encryption Key Management Plugin
-- The following OPTIONAL packages have not been found:
* Python3
* Java (required version >= 1.6)
Required for the CONNECT_JDBC feature
* JNI
Required for the CONNECT_JDBC feature
* Boost (required version >= 1.40.0)
Required for the OQGraph storage engine
egrep: warning: egrep is obsolescent; using grep -E
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/config.c: In function ‘grn_config_cursor_get_value’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/config.c:259:12: warning: variable ‘value_size_raw’ set but not used [-Wunused-but-set-variable]
259 | uint32_t value_size_raw;
| ^~~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c: In function ‘grn_expr_unpack’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c:444:18: warning: variable ‘offset’ set but not used [-Wunused-but-set-variable]
444 | uint32_t offset;
| ^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c: In function ‘grn_expr_exec’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c:2666:20: warning: variable ‘obj’ set but not used [-Wunused-but-set-variable]
2666 | grn_obj *obj;
| ^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c:3538:34: warning: variable ‘la1’ set but not used [-Wunused-but-set-variable]
3538 | int64_t ln0, la0, ln1, la1, ln2, la2, ln3, la3;
| ^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c:3538:29: warning: variable ‘ln1’ set but not used [-Wunused-but-set-variable]
3538 | int64_t ln0, la0, ln1, la1, ln2, la2, ln3, la3;
| ^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c: In function ‘grn_table_select_index_not_equal’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c:6028:17: warning: variable ‘weight’ set but not used [-Wunused-but-set-variable]
6028 | int32_t weight;
| ^~~~~~
In file included from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/expr.c:7182:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/grn_ecmascript.c: In function ‘yy_reduce’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/grn_ecmascript.c:1477:7: warning: variable ‘weight’ set but not used [-Wunused-but-set-variable]
1477 | int weight;
| ^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/grn_ecmascript.c:1484:7: warning: variable ‘weight’ set but not used [-Wunused-but-set-variable]
1484 | int weight;
| ^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/grn_ecmascript.c:1490:7: warning: variable ‘mode’ set but not used [-Wunused-but-set-variable]
1490 | int mode;
| ^~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/grn_ecmascript.c:1504:11: warning: variable ‘max_interval’ set but not used [-Wunused-but-set-variable]
1504 | int max_interval;
| ^~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/grn_ecmascript.c:1510:11: warning: variable ‘similarity_threshold’ set but not used [-Wunused-but-set-variable]
1510 | int similarity_threshold;
| ^~~~~~~~~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/grn_ecmascript.c:1497:12: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
1497 | grn_obj *c;
| ^
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/geo.c: In function ‘grn_geo_select_in_circle’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/geo.c:893:28: warning: variable ‘center_latitude’ set but not used [-Wunused-but-set-variable]
893 | double center_longitude, center_latitude;
| ^~~~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/geo.c:893:10: warning: variable ‘center_longitude’ set but not used [-Wunused-but-set-variable]
893 | double center_longitude, center_latitude;
| ^~~~~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/hash.c: In function ‘grn_hash_delete’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/hash.c:2818:18: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
2818 | uint32_t h, i, m, s;
| ^
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/io.c: In function ‘grn_io_flush’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/io.c:1472:16: warning: variable ‘nth_file_info’ set but not used [-Wunused-but-set-variable]
1472 | uint32_t nth_file_info;
| ^~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/pat.c: In function ‘set_cursor_rk’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/pat.c:3587:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
3587 | uint32_t len, byte_len;
| ^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/plugin.c: In function ‘grn_plugin_path’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/plugin.c:118:7: warning: variable ‘value_size’ set but not used [-Wunused-but-set-variable]
118 | int value_size;
| ^~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc: In member function ‘virtual rocksdb::Status rocksdb::DBImpl::FlushWAL(bool)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc:1329:23: warning: redundant move in return statement [-Wredundant-move]
1329 | return std::move(io_s);
| ~~~~~~~~~^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc:1329:23: note: remove ‘std::move’ call
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc:1333:23: warning: redundant move in return statement [-Wredundant-move]
1333 | return std::move(io_s);
| ~~~~~~~~~^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc:1333:23: note: remove ‘std::move’ call
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc: In member function ‘virtual rocksdb::Status rocksdb::DBImpl::LockWAL()’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc:1432:19: warning: redundant move in return statement [-Wredundant-move]
1432 | return std::move(status);
| ~~~~~~~~~^~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/db/db_impl/db_impl.cc:1432:19: note: remove ‘std::move’ call
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/store.c: In function ‘grn_ja_element_info’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/store.c:1189:18: warning: variable ‘jag’ set but not used [-Wunused-but-set-variable]
1189 | uint32_t jag;
| ^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/time.c: In function ‘grn_time_to_tm’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/mroonga/vendor/groonga/lib/time.c:127:11: warning: variable ‘usec’ set but not used [-Wunused-but-set-variable]
127 | int32_t usec;
| ^~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/table/plain/plain_table_builder.cc: In member function ‘virtual rocksdb::Status rocksdb::PlainTableBuilder::Finish()’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/table/plain/plain_table_builder.cc:280:21: warning: redundant move in return statement [-Wredundant-move]
280 | return std::move(s);
| ~~~~~~~~~^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/table/plain/plain_table_builder.cc:280:21: note: remove ‘std::move’ call
In file included from /usr/include/c++/15.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
from /usr/include/c++/15.2.0/bits/allocator.h:46,
from /usr/include/c++/15.2.0/memory:67,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/trace_replay/trace_replay.h:9,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/trace_replay/trace_replay.cc:6:
In member function ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = unsigned int; _Args = {const unsigned int&}; _Tp = unsigned int]’,
inlined from ‘static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = unsigned int; _Args = {const unsigned int&}; _Tp = unsigned int]’ at /usr/include/c++/15.2.0/bits/alloc_traits.h:674:17,
inlined from ‘void std::vector<_Tp, _Alloc>::_M_realloc_append(_Args&& ...) [with _Args = {const unsigned int&}; _Tp = unsigned int; _Alloc = std::allocator]’ at /usr/include/c++/15.2.0/bits/vector.tcc:586:26,
inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = unsigned int; _Alloc = std::allocator]’ at /usr/include/c++/15.2.0/bits/stl_vector.h:1427:21,
inlined from ‘static rocksdb::Status rocksdb::TracerHelper::DecodeTraceRecord(rocksdb::Trace*, int, std::unique_ptr*)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/trace_replay/trace_replay.cc:324:25:
/usr/include/c++/15.2.0/bits/new_allocator.h:191:11: warning: ‘tmp_cfid’ may be used uninitialized [-Wmaybe-uninitialized]
191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/trace_replay/trace_replay.cc: In static member function ‘static rocksdb::Status rocksdb::TracerHelper::DecodeTraceRecord(rocksdb::Trace*, int, std::unique_ptr*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/rocksdb/rocksdb/trace_replay/trace_replay.cc:320:18: note: ‘tmp_cfid’ was declared here
320 | uint32_t tmp_cfid;
| ^~~~~~~~
In file included from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/extra/generate_option_list.cc:19:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/extra/generate_option_list.cc: In function ‘std::string call_mariadbd(const char*, const char*, const char*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/include/my_sys.h:1084:28: warning: argument 1 null where non-null expected [-Wnonnull]
1084 | #define my_pclose(A) pclose(A)
| ~~~~~~^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/extra/generate_option_list.cc:95:5: note: in expansion of macro ‘my_pclose’
95 | my_pclose(f);
| ^~~~~~~~~
In file included from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/include/my_global.h:285,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/extra/generate_option_list.cc:18:
/usr/include/stdio.h:887:12: note: in a call to function ‘int pclose(FILE*)’ declared ‘nonnull’
887 | extern int pclose (FILE *__stream) __nonnull ((1));
| ^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/perfschema/ha_perfschema.cc: In member function ‘virtual int ha_perfschema::delete_table(const char*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/perfschema/ha_perfschema.cc:471:8: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
471 | *ptr = '\0';
| ~~~~~^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/perfschema/ha_perfschema.cc:453:8: note: at offset -1 into destination object ‘table_path’ of size 513
453 | char table_path[FN_REFLEN+1];
| ^~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/ha_connect.cc: In function ‘int connect_assisted_discovery(handlerton*, THD*, TABLE_SHARE*, HA_CREATE_INFO*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/ha_connect.cc:6378:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
6378 | if (rc)
| ^
In file included from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/csort.cpp:58:
In static member function ‘static size_t CSORT::Cmpnum(int)’,
inlined from ‘int CSORT::Qsort(PGLOBAL, int)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/csort.cpp:118:28:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/csort.h:75:32: warning: array subscript 200001 is above array bounds of ‘size_t [1000]’ {aka ‘long unsigned int [1000]’} [-Warray-bounds=]
75 | {return (n < Limit) ? Cpn[n]
| ~~~~~^
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/csort.cpp: In member function ‘int CSORT::Qsort(PGLOBAL, int)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/csort.cpp:75:8: note: while referencing ‘CSORT::Cpn’
75 | size_t CSORT::Cpn[1000] = {0}; /* Precalculated cmpnum values */
| ^~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/filter.cpp: In member function ‘virtual void FILTER::Prints(PGLOBAL, char*, uint)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/filter.cpp:1558:20: warning: ‘char* __builtin_strncat(char*, const char*, long unsigned int)’ output may be truncated copying between 0 and 100 bytes from a string of length 100 [-Wstringop-truncation]
1558 | strncat(bxp->Cold, bcp->Cold, FLEN-strlen(bxp->Cold));
| ^
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp: In member function ‘char* JVALUE::GetString(PGLOBAL, char*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:1692:48: warning: function may return address of local variable [-Wreturn-local-addr]
1692 | return (p == buf) ? (char*)PlugDup(g, buf) : p;
| ^
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:1664:9: note: declared here
1664 | char buf[32];
| ^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp: In member function ‘JVALUE* SWAP::MptrJValue(PJVAL)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:2037:13: warning: ‘*.JVALUE::Del’ is used uninitialized [-Wuninitialized]
2037 | if (!jvp->Del) {
| ~~~~~^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:2038:14: warning: ‘*.JVALUE::DataType’ may be used uninitialized [-Wmaybe-uninitialized]
2038 | if (jvp->DataType == TYPE_JSON)
| ~~~~~^~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:2039:33: warning: ‘*.JVALUE::.JVALUE::::Jsp’ may be used uninitialized [-Wmaybe-uninitialized]
2039 | jvp->Jsp = (PJSON)MptrJson(jvp->Jsp);
| ~~~~~~~~^~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:2041:51: warning: ‘*.JVALUE::.JVALUE::::Strp’ may be used uninitialized [-Wmaybe-uninitialized]
2041 | jvp->Strp = (PSZ)MakePtr(Base, (size_t)jvp->Strp);
| ~~~~~^~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp: In member function ‘JARRAY* SWAP::MptrArray(PJAR)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:1983:13: warning: ‘*.JARRAY::First’ is used uninitialized [-Wuninitialized]
1983 | if (jarp->First) {
| ~~~~~~^~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:1984:55: warning: ‘*.JARRAY::Mvals’ may be used uninitialized [-Wmaybe-uninitialized]
1984 | jarp->Mvals = (PJVAL*)MakePtr(Base, (size_t)jarp->Mvals);
| ~~~~~~^~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp: In member function ‘JOBJECT* SWAP::MptrObject(PJOB)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/json.cpp:2004:13: warning: ‘*.JOBJECT::First’ is used uninitialized [-Wuninitialized]
2004 | if (jobp->First) {
| ~~~~~~^~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/bson.cpp: In member function ‘char* BJSON::GetString(PBVAL, char*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/bson.cpp:1571:46: warning: function may return address of local variable [-Wreturn-local-addr]
1571 | return (p == buf) ? (PSZ)PlugDup(G, buf) : p;
| ^
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/bson.cpp:1540:9: note: declared here
1540 | char buf[32];
| ^~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/tabxml.cpp: In member function ‘bool XMLCOL::ParseXpath(PGLOBAL, bool)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/connect/tabxml.cpp:1618:46: warning: ‘*this.XMLCOL::Long’ may be used uninitialized [-Wmaybe-uninitialized]
1618 | Valbuf = (char*)PlugSubAlloc(g, NULL, n * (Long + 1));
| ^~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/perfschema/ha_perfschema.cc: In member function ‘virtual int ha_perfschema::delete_table(const char*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/perfschema/ha_perfschema.cc:471:8: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
471 | *ptr = '\0';
| ~~~~~^~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/perfschema/ha_perfschema.cc:453:8: note: at offset -1 into destination object ‘table_path’ of size 513
453 | char table_path[FN_REFLEN+1];
| ^~~~~~~~~~
In file included from /usr/include/c++/15.2.0/atomic:52,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/include/my_counter.h:20,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/univ.i:43,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/ut0byte.h:30,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fsp0types.h:28,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0fil.h:29,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0crypt.h:30,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/fil/fil0crypt.cc:26:
In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const [with _ITp = unsigned int]’,
inlined from ‘uint32_t fil_space_t::pending() const’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0fil.h:608:26,
inlined from ‘bool fil_space_t::is_stopping() const’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0fil.h:613:53,
inlined from ‘fil_space_t* fil_system_t::default_encrypt_next(fil_space_t*, bool, bool)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/fil/fil0crypt.cc:1422:56,
inlined from ‘static ilist::iterator fil_space_t::next(ilist::iterator, bool, bool)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/fil/fil0crypt.cc:1443:38:
/usr/include/c++/15.2.0/bits/atomic_base.h:501:31: warning: ‘unsigned int __atomic_load_4(const volatile void*, int)’ writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
501 | return __atomic_load_n(&_M_i, int(__m));
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In static member function ‘static ilist::iterator fil_space_t::next(ilist::iterator, bool, bool)’:
cc1plus: note: destination object is likely at address zero
In file included from /usr/include/c++/15.2.0/atomic:52,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/include/my_counter.h:20,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/univ.i:43,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/ut0byte.h:30,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fsp0types.h:28,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0fil.h:29,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0crypt.h:30,
from /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/fil/fil0crypt.cc:26:
In member function ‘std::__atomic_base<_IntTp>::__int_type std::__atomic_base<_IntTp>::load(std::memory_order) const [with _ITp = unsigned int]’,
inlined from ‘uint32_t fil_space_t::pending() const’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0fil.h:608:26,
inlined from ‘bool fil_space_t::is_stopping() const’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/include/fil0fil.h:613:53,
inlined from ‘fil_space_t* fil_system_t::default_encrypt_next(fil_space_t*, bool, bool)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/fil/fil0crypt.cc:1422:56,
inlined from ‘static ilist::iterator fil_space_t::next(ilist::iterator, bool, bool)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/storage/innobase/fil/fil0crypt.cc:1443:38:
/usr/include/c++/15.2.0/bits/atomic_base.h:501:31: warning: ‘unsigned int __atomic_load_4(const volatile void*, int)’ writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
501 | return __atomic_load_n(&_M_i, int(__m));
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In static member function ‘static ilist::iterator fil_space_t::next(ilist::iterator, bool, bool)’:
cc1plus: note: destination object is likely at address zero
In function ‘bool trans_xa_get_backup_lock(THD*, MDL_request*)’,
inlined from ‘bool trans_xa_commit(THD*)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:672:35:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:537:26: warning: storing the address of local variable ‘mdl_request’ in ‘*thd.THD::backup_commit_lock’ [-Wdangling-pointer=]
537 | thd->backup_commit_lock= mdl_request;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc: In function ‘bool trans_xa_commit(THD*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:662:19: note: ‘mdl_request’ declared here
662 | MDL_request mdl_request;
| ^~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:625:27: note: ‘thd’ declared here
625 | bool trans_xa_commit(THD *thd)
| ~~~~~^~~
In function ‘bool trans_xa_get_backup_lock(THD*, MDL_request*)’,
inlined from ‘bool trans_xa_commit(THD*)’ at /var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:672:35:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:537:26: warning: storing the address of local variable ‘mdl_request’ in ‘*thd.THD::backup_commit_lock’ [-Wdangling-pointer=]
537 | thd->backup_commit_lock= mdl_request;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc: In function ‘bool trans_xa_commit(THD*)’:
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:662:19: note: ‘mdl_request’ declared here
662 | MDL_request mdl_request;
| ^~~~~~~~~~~
/var/pisi/mariadb-11.8.8-14/work/mariadb-11.8.8/sql/xa.cc:625:27: note: ‘thd’ declared here
625 | bool trans_xa_commit(THD *thd)
| ~~~~~^~~
2026-07-06 22:28:19 0 [Warning] Could not increase number of max_open_files to more than 1024 (request: 32194)
2026-07-06 22:28:19 0 [Warning] Changed limits: max_open_files: 1024 max_connections: 151 (was 151) table_cache: 421 (was 2000)
egrep: warning: egrep is obsolescent; using grep -E