summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authorunknown <anozdrin/alik@ibm.>2007-08-03 11:50:17 +0400
committerunknown <anozdrin/alik@ibm.>2007-08-03 11:50:17 +0400
commit966e113a2abd065ca6e33381da3de1510ec27774 (patch)
treebddc8adace95f9c74c6b96f7f057af5dfe8c80c6 /vio
parent38af61e9f903545e70fb2523431ac1f439742b35 (diff)
downloadmariadb-git-966e113a2abd065ca6e33381da3de1510ec27774.tar.gz
Fix for BUG#30123: mysqldump is unable to work with old servers.
New server (as of 5.1.21) provides new features: - SHOW CREATE TRIGGER; - character set information for SHOW TRIGGERS and SHOW CREATE EVENT | FUNCTION | PROCEDURE statements. Mysqldump uses these features to generate proper dump. The bug happened when new mysqldump was used to dump older servers. The problem was that 5.1.21 new features are not available, so mysqldump exited with error code or just crashed. The fix is to detect if mysqldump has ben run against older server and don't use new 5.1.21 functionality in this case. Certainly, the dump generated for the older server suffers from the character set problems fixed by BUG#16291 and the like. client/mysqldump.c: Don't use new server features if they are not available.
Diffstat (limited to 'vio')
0 files changed, 0 insertions, 0 deletions