diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-02-18 10:08:49 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-02-27 12:35:10 +0100 |
commit | 24d8bc707a3d3161229b1cfc94b34dc50473bc59 (patch) | |
tree | c0888de5a98676b88cff98f2dd5acd79147d5b5a /sql | |
parent | 3cba74e032050b126eaf1fd27072b1afaeef79b3 (diff) | |
download | mariadb-git-24d8bc707a3d3161229b1cfc94b34dc50473bc59.tar.gz |
cleanup: my_register_filename()
Don't let my_register_filename() fail because strdup() failed. Better to
have NULL for a filename, then to fail the already successful open().
Filenames are only used for error reporting and there was already code
to ignore OOMs (my_fdopen()) and to cope with missing filenames
(my_filename()).
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions