mirror of
https://github.com/MariaDB/server.git
synced 2025-03-20 05:58:38 +01:00

Ensure that the GitLab CI is green again. Ideally all failures would be fixed, but at the moment it is not feasible. As the purpose of a CI is to protect the code base from having new testable regressions slip in, update the CI pipeline to be all green by disabling multiple failing test or reduce their scope. - Avoid timeouts and make buid faster with '-DCPACK_RPM_DEBUGINFO_PACKAGE=OFF' - Remove 'GIT_CLONE_PATH' which isn't universally supported on all GitLab instances - Bump 'MARIADB_MAJOR_VERSION' to current 'main' contents (11.8). Also update the upgrade test matrix to modern MariaDB versions. - Remove UBsan builds as they are failing and can't quickly be fixed, along with the MTR test that depended on it. - Switch the CentOS 7 build to use Amazon Linux 2 instead, which has equivalent Fedora package versions, but is still maintained and package archive mirrors active. - Extend skiplist to include currently failing MTR tests. These are not quick to fix, so adding them to the skiplist will at least make the CI green and allow us to catch any new regressions. - Drop the default QPS limit in the mini-benchmark.sh to match what is currently passing. The drop is large because it wasn't adjusted after4016c905
got merged. - Remove the currently failing faketime tests for 2028 compatibility. - Remove unnecessary `dependencies:` definitions that have no effect in the presence of `needs:` - Reduce the scope of `cppcheck` to avoid timeouts from job. - Update the ignorelists for both `cppcheck` and `flawfinder` as the jobs were failing. This way the jobs will be green again, and reveal is any new commits introduce issues. - Drop the duplicate `cppcheck` and `flawfinder` job definitions that got erroneously merged when both9c287c0
andf4ce1e4
got merged on the `main` branch, when the original intent was to have the latter commit only on old MariaDB versions. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.
105 lines
11 KiB
Text
105 lines
11 KiB
Text
client/mysqlbinlog.cc ev->output_buf.copy(e->output_buf); warning: Possible null pointer dereference: e
|
|
client/mysqldump.cc return buff; warning: Uninitialized variable: buff
|
|
client/mysqldump.cc return buff; warning: Uninitialized variable: buff
|
|
client/mysqldump.cc return buff; warning: Uninitialized variable: buff
|
|
include/my_byteorder.h float4get(to, ((const uchar*)from)); error: Uninitialized variable: def_temp
|
|
include/my_global.h #error "please add -DSTACK_DIRECTION=1 or -1 to your CPPFLAGS" error: #error "please add -DSTACK_DIRECTION=1 or -1 to your CPPFLAGS"
|
|
include/my_global.h #error WHAT? sizeof(long long) < 8 ??? error: #error WHAT? sizeof(long long) < 8 ???
|
|
include/mysql/psi/mysql_socket.h result= send(mysql_socket.fd, buf, IF_WIN((int),) n, flags); error: syntax error
|
|
include/mysql/psi/mysql_socket.h result= send(mysql_socket.fd, buf, IF_WIN((int),) n, flags); error: syntax error
|
|
include/mysql/psi/psi.h #error "You must include my_global.h in the code for the build to be correct." error: #error "You must include my_global.h in the code for the build to be correct."
|
|
lexyy.cc warning: Possible null pointer dereference: b
|
|
lexyy.cc warning: Possible null pointer dereference: b
|
|
mysql-test/lib/My/SafeProcess/safe_process_win.cc |FORMAT_MESSAGE_IGNORE_INSERTS, NULL, last_err , 0, (LPSTR)&message_text, error: Uninitialized variable: message_text
|
|
mysys/file_logger.c *l_perm= new_log; error: Uninitialized struct member: new_log.lock
|
|
mysys/ma_dyncol.c float8get(store_it_here->x.double_value, data); error: Uninitialized variable: def_temp
|
|
mysys/my_compare.c mi_float4get(f_1,a); error: Uninitialized variable: def_temp
|
|
mysys/my_compare.c mi_float4get(f_2,b); error: Uninitialized variable: def_temp
|
|
mysys/my_compare.c mi_float8get(d_1,a); error: Uninitialized variable: def_temp
|
|
mysys/my_compare.c mi_float8get(d_2,b); error: Uninitialized variable: def_temp
|
|
mysys/my_symlink2.c create_link= (linkname && strcmp(abs_linkname,filename)); error: Uninitialized variable: abs_linkname
|
|
plugin/audit_null/audit_null.c static int audit_null_plugin_init(void *arg __attribute__((unused))) error: syntax error
|
|
plugin/auth_ed25519/client_ed25519.c #error see libmariadb/plugins/auth/ed25519.c instead error: #error see libmariadb/plugins/auth/ed25519.c instead
|
|
plugin/auth_ed25519/server_ed25519.c static int init(void *p __attribute__((unused))) error: syntax error
|
|
plugin/fulltext/plugin_example.c static int simple_parser_plugin_init(void *arg __attribute__((unused))) error: syntax error
|
|
plugin/sql_errlog/sql_errlog.c (void) localtime_r(&event_time, &t); error: Uninitialized variable: &t
|
|
plugin/sql_errlog/sql_errlog.c static void log_sql_errors(MYSQL_THD thd __attribute__((unused)), error: syntax error
|
|
plugin/type_uuid/sql_type_uuid.h bzero(m_buffer, sizeof(m_buffer)); error: syntax error
|
|
sql-common/client_plugin.c bzero(&unused, sizeof unused); error: va_list 'unused' used before va_start() was called.
|
|
sql-common/client_plugin.c plugin= add_plugin(mysql, plugin, 0, 0, unused); error: va_list 'unused' used before va_start() was called.
|
|
sql/gen_lex_hash.cc hash_map= (char*)realloc((char*)hash_map,size_hash_map); error: Common realloc mistake: 'hash_map' nulled but not freed upon failure
|
|
sql/my_apc.cc apc_calls->prev= qe; error: Non-local variable 'apc_calls->prev' will use pointer to local variable 'apc_request'.
|
|
sql/my_apc.cc apc_calls= qe; error: Non-local variable 'apc_calls' will use pointer to local variable 'apc_request'.
|
|
sql/rpl_gtid.h } error: va_list 'args' was opened but not closed by va_end().
|
|
sql/rpl_gtid.h } error: va_list 'args' was opened but not closed by va_end().
|
|
sql/spatial.cc if (!first_point && x == prev_x && y == prev_y) error: Uninitialized variable: prev_x
|
|
sql/spatial.cc if (!first_point && x == prev_x && y == prev_y) error: Uninitialized variable: prev_y
|
|
sql/spatial.cc *x= res_cx; warning: Uninitialized variable: res_cx
|
|
sql/spatial.cc *y= res_cy; warning: Uninitialized variable: res_cy
|
|
sql/spatial.cc float8get(*x, data); error: Uninitialized variable: def_temp
|
|
sql/spatial.cc float8get(*y, data + SIZEOF_STORED_DOUBLE); error: Uninitialized variable: def_temp
|
|
sql/spatial.cc float8get(res, ptr); error: Uninitialized variable: def_temp
|
|
sql/spatial.cc float8get(res, inv_array); error: Uninitialized variable: def_temp
|
|
sql/spatial.h float8get(*x, data); error: Uninitialized variable: def_temp
|
|
sql/spatial.h float8get(*y, data + SIZEOF_STORED_DOUBLE); error: Uninitialized variable: def_temp
|
|
sql/spatial.h float8get(*x, m_data); error: Uninitialized variable: def_temp
|
|
sql/spatial.h float8get(*y, data + SIZEOF_STORED_DOUBLE); error: Uninitialized variable: def_temp
|
|
sql/spatial.h float8get(x, px); error: Uninitialized variable: def_temp
|
|
sql/spatial.h float8get(y, py); error: Uninitialized variable: def_temp
|
|
sql/sql_string.cc memcpy(dots, STRING_WITH_LEN("...\0")); error: failed to expand 'memcpy', Wrong number of parameters for macro 'memcpy'.
|
|
storage/federated/ha_federated.cc DBUG_RETURN(retval); error: Uninitialized variable: retval
|
|
storage/heap/hp_hash.c float8get(nr, pos); error: Uninitialized variable: def_temp
|
|
storage/heap/hp_hash.c float4get(f_1,key); error: Uninitialized variable: def_temp
|
|
storage/heap/hp_hash.c float8get(f_1,key); error: Uninitialized variable: def_temp
|
|
storage/innobase/include/mtr0mtr.h inline void memcpy(const buf_block_t &b, void *dest, const void *str, error: failed to expand 'memcpy', Wrong number of parameters for macro 'memcpy'.
|
|
storage/maria/ma_create.c DBUG_RETURN(my_pwrite(file, buf, sizeof(buf), error: Uninitialized variable: trid_buff
|
|
storage/maria/ma_dbug.c mi_float4get(f_1,key); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_dbug.c mi_float8get(d_1,key); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_ft_parser.c param->mysql_ftparam= &my_param; error: Address of local auto-variable assigned to a function parameter.
|
|
storage/maria/ma_key.c float8get(nr,pos); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_key.c float4get(f_1,key); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_key.c float8get(f_1,key); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_locking.c write_error= (int) my_pwrite(share->kfile.file, buff, sizeof(buff), error: Uninitialized variable: buff
|
|
storage/maria/ma_locking.c (void) my_pwrite(share->kfile.file, buff, sizeof(buff), error: Uninitialized variable: buff
|
|
storage/maria/ma_loghandler.c if (! --fc_ptr->counter) warning: Uninitialized variable: fc_ptr
|
|
storage/maria/ma_loghandler.c (offset < data->current_offset && warning: Uninitialized variable: data->current_offset
|
|
storage/maria/ma_open.c float8get(state->rec_per_key_part[i], ptr); ptr+= 8; error: Uninitialized variable: def_temp
|
|
storage/maria/ma_open.c return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0; error: Uninitialized variable: buff
|
|
storage/maria/ma_open.c return mysql_file_write(file, buff, (size_t) (ptr-buff), MYF(MY_NABP)) != 0; error: Uninitialized variable: buff
|
|
storage/maria/ma_recovery_util.c va_start(args, format); error: va_start() or va_copy() called subsequently on 'args' without va_end() in between.
|
|
storage/maria/ma_rt_mbr.c RT_CMP_GET(float, mi_float4get, 4, nextflag); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_CMP_GET(double, mi_float8get, 8, nextflag); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_VOL_GET(float, mi_float4get, 4, (double)); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_VOL_GET(double, mi_float8get, 8, (double)); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_D_MBR_GET(float, mi_float4get, 4, (double)); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_D_MBR_GET(double, mi_float8get, 8, (double)); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_COMB_GET(float, mi_float4get, mi_float4store, 4); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_COMB_GET(double, mi_float8get, mi_float8store, 8); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_OVL_AREA_GET(float, mi_float4get, 4); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_OVL_AREA_GET(double, mi_float8get, 8); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_AREA_INC_GET(float, mi_float4get, 4); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_AREA_INC_GET(double, mi_float8get, 8); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_PERIM_INC_GET(float, mi_float4get, 4); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_PERIM_INC_GET(double, mi_float8get, 8); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_PAGE_MBR_GET(share, float, mi_float4get, mi_float4store, 4, to); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_mbr.c RT_PAGE_MBR_GET(share, double, mi_float8get, mi_float8store, 8, to); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_rt_test.c float8get(c,pos); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_search.c if (flag == 0) warning: Uninitialized variable: flag
|
|
storage/maria/ma_sp_key.c float8get(ord, (const uchar*) *wkb); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_sp_test.c float8get(c,key); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_sp_test.c float8get(ord, wkb); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_sp_test.c float8get(ord, wkb); error: Uninitialized variable: def_temp
|
|
storage/maria/ma_write.c key->data= key_buff; error: Address of local auto-variable assigned to a function parameter.
|
|
storage/maria/ma_write.c page_store_info(share, &page); error: Uninitialized variables: &page.org_size, &page.node, &page.link_offset
|
|
storage/maria/tablockman.c mysql_mutex_init(& lm->pool_mutex, MY_MUTEX_INIT_FAST); error: failed to expand 'mysql_mutex_init', Wrong number of parameters for macro 'mysql_mutex_init'.
|
|
storage/sequence/sequence.cc maria_declare_plugin(sequence) error: syntax error
|
|
strings/decimal.c sanity(to); warning: Possible null pointer dereference: to
|
|
strings/dump_map.c if (fromstat[i]) error: Array 'fromstat[256]' accessed at index 256, which is out of bounds.
|
|
unittest/mytap/tap.c memset(&ap, 0, sizeof(ap)); error: va_list 'ap' used before va_start() was called.
|
|
unittest/mytap/tap.c vemit_tap(pass, NULL, ap); error: va_list 'ap' used before va_start() was called.
|
|
unittest/mytap/tap.c memset((char*) &ap, 0, sizeof(ap)); /* Keep compiler happy */ error: va_list 'ap' used before va_start() was called.
|
|
unittest/mytap/tap.c vemit_tap(1, NULL, ap); error: va_list 'ap' used before va_start() was called.
|
|
vio/viotest-sslconnect.cc delete vio; error: Memory pointed to by 'vio' is freed twice.
|
|
vio/viotest-sslconnect.cc delete ssl_connector; error: Memory pointed to by 'ssl_connector' is freed twice.
|
|
wsrep-lib/src/server_state.cpp try error: syntax error: keyword 'try' is not allowed in global scope
|
|
wsrep-lib/src/thread_service_v1.cpp throw; // Implementation broke the contract and returned. error: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object
|