Skip to content

Commit b1ff9a6

Browse files
committed
Fix valgrind complaints on alter_default_table_charset
Summary: As title, fixed valgrind complaints on alter_default_table_charset in the code path of `create database` (blame D56013) squash with 8194409 Per Database Read-Only (no need for the summary) Test Plan: Manually ran a failed valgrind test and passed. Also see Jenkins. Reviewers: santoshb Reviewed By: santoshb Subscribers: webscalesql-eng Differential Revision: https://reviews.facebook.net/D56061
1 parent c4e8ef0 commit b1ff9a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/sql_yacc.yy

+1
Original file line numberDiff line numberDiff line change
@@ -2738,6 +2738,7 @@ create:
27382738
| CREATE DATABASE opt_if_not_exists ident
27392739
{
27402740
Lex->create_info.default_table_charset= NULL;
2741+
Lex->create_info.alter_default_table_charset= false;
27412742
Lex->create_info.used_fields= 0;
27422743
Lex->create_info.db_read_only=
27432744
enum_db_read_only::DB_READ_ONLY_NULL;

0 commit comments

Comments
 (0)