Skip to content

Commit f51df1d

Browse files
committed
Fixed valgrind warning
1 parent 4ef4375 commit f51df1d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

mysql-test/valgrind.supp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,15 @@
16041604
obj:/usr/lib64/libcrypto.so*
16051605
}
16061606

1607+
{
1608+
OpenSSL 1.1.0i wrong jump
1609+
Memcheck:Cond
1610+
fun:bcmp
1611+
fun:fips_rsa_encrypt_test
1612+
...
1613+
fun:OPENSSL_init_library
1614+
}
1615+
16071616
#
16081617
# libmarias3 problems
16091618
#

sql/sql_parse.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,6 +2673,7 @@ int prepare_schema_table(THD *thd, LEX *lex, Table_ident *table_ident,
26732673
/* 'parent_lex' is used in init_query() so it must be before it. */
26742674
schema_select_lex->parent_lex= lex;
26752675
schema_select_lex->init_query();
2676+
schema_select_lex->select_number= 0;
26762677
if (!schema_select_lex->add_table_to_list(thd, table_ident, 0, 0, TL_READ,
26772678
MDL_SHARED_READ))
26782679
DBUG_RETURN(1);

0 commit comments

Comments
 (0)