mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Cleanups (LINT_INIT & --debug-mutex-deadlock-detector
- Removed duplicate entry for --debug-mutex-deadlock-detector - Fixed wrong usage of LINT_INIT
This commit is contained in:
parent
36ae8846ca
commit
3d428e017d
2 changed files with 1 additions and 8 deletions
|
@ -7297,13 +7297,6 @@ struct my_option my_long_options[]=
|
|||
&max_binlog_dump_events, &max_binlog_dump_events, 0,
|
||||
GET_INT, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
||||
#endif /* HAVE_REPLICATION */
|
||||
#ifdef SAFE_MUTEX
|
||||
{"debug-mutex-deadlock-detector", 0,
|
||||
"Enable checking of wrong mutex usage.",
|
||||
&safe_mutex_deadlock_detector,
|
||||
&safe_mutex_deadlock_detector,
|
||||
0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},
|
||||
#endif
|
||||
{"debug-no-sync", 0,
|
||||
"Disables system sync calls. Only for running tests or debugging!",
|
||||
&my_disable_sync, &my_disable_sync, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
|
||||
|
|
|
@ -7501,7 +7501,7 @@ SEL_TREE *Item_bool_func::get_full_func_mm_tree(RANGE_OPT_PARAM *param,
|
|||
param->current_table);
|
||||
#ifdef HAVE_SPATIAL
|
||||
Field::geometry_type sav_geom_type;
|
||||
LINT_INIT(sav_geom_type);
|
||||
LINT_INIT_STRUCT(sav_geom_type);
|
||||
|
||||
if (field_item->field->type() == MYSQL_TYPE_GEOMETRY)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue