[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 1b4360: Fixed possible invalid SQL export

Michal Čihař michal at cihar.com
Fri Mar 18 10:35:55 CET 2016

  Branch: refs/heads/QA_4_6
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 1b43606a48bb6260aa9223fbb82547784ce6a3e8
  Author: Michal Čihař <michal at cihar.com>
  Date:   2016-03-18 (Fri, 18 Mar 2016)

  Changed paths:
    M ChangeLog
    M libraries/plugins/export/ExportSql.php
    M test/classes/plugin/export/ExportSqlTest.php

  Log Message:
  Fixed possible invalid SQL export

We should emit the charset restoration only if we have emitted its
setting in the header. As the condition was slightly different in both
cases it was possible that only one part of these two was emitted in

Fixes #12074

Signed-off-by: Michal Čihař <michal at cihar.com>

More information about the Git mailing list