diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-28 14:17:09 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-01-28 14:17:09 +0200 |
commit | a983b2440767db660bdf38c4f8bb3a0b0f7b1d65 (patch) | |
tree | 04beefc3687b10e2e2322e7c586aede2c4e272a2 /storage/connect/inihandl.cpp | |
parent | a915142f48a42237021be590de37ffab4cc5b107 (diff) | |
parent | bc891054962bc7cbd249f1ff75c64adb3b5bbc59 (diff) | |
download | mariadb-git-a983b2440767db660bdf38c4f8bb3a0b0f7b1d65.tar.gz |
Merge 10.4 into 10.5
Diffstat (limited to 'storage/connect/inihandl.cpp')
-rw-r--r-- | storage/connect/inihandl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/inihandl.cpp b/storage/connect/inihandl.cpp index c39c94fb30d..ab6d5db4f0a 100644 --- a/storage/connect/inihandl.cpp +++ b/storage/connect/inihandl.cpp @@ -192,7 +192,7 @@ static void PROFILE_Save( FILE *file, PROFILESECTION *section ) } for (key = section->key; key; key = key->next) - if (key->name[0]) { + if (key->name && key->name[0]) { fprintf(file, "%s", SVP(key->name)); if (key->value) |