summaryrefslogtreecommitdiff
path: root/isam
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot2>2004-01-12 21:05:41 +0100
committerunknown <guilhem@gbichot2>2004-01-12 21:05:41 +0100
commite90eb6f43ed987a9f69b8215bb123396ec9394aa (patch)
treecba3ce04acb3581cfe1242794740f947880011d8 /isam
parent24f8054460a574660730024690786b877afccfd3 (diff)
downloadmariadb-git-e90eb6f43ed987a9f69b8215bb123396ec9394aa.tar.gz
Fix for BUG#2333 "ALTER DATABASE on inexistent database hangs the client":
mysql_alter_db() now returns -1 in case of error, so that mysql_execute_command() calls send_error(). sql/sql_db.cc: In case of error, return -1 so that mysql_execute_command() understands that it must send_error(). The double (( at the left of 'error' in the 'if' are to avoid a compiler warning.
Diffstat (limited to 'isam')
0 files changed, 0 insertions, 0 deletions