List:Commits« Previous MessageNext Message »
From:ramil Date:February 20 2006 11:28am
Subject:bk commit into 4.1 tree (ramil:1.2475) BUG#7643
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of ram. When ram does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2475 06/02/20 14:28:26 ramil@stripped +1 -0
  Fix for bug #7643: ALTER TABLE fails for CSV, EXAMPLE, ARCHIVE engines

  sql/sql_table.cc
    1.305 06/02/20 14:28:21 ramil@stripped +4 -1
    Fix for bug #7643: ALTER TABLE fails for CSV, EXAMPLE, ARCHIVE engines
      - issue the ER_NOT_SUPPORTED_YET if an engine doesn't support ALTER TABLE.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	ramil
# Host:	myoffice.izhnet.ru
# Root:	/usr/home/ram/work/4.1.b7643

--- 1.304/sql/sql_table.cc	2006-01-16 19:21:39 +04:00
+++ 1.305/sql/sql_table.cc	2006-02-20 14:28:21 +04:00
@@ -1654,7 +1654,10 @@ mysql_rename_table(enum db_type base,
     }
   }
   delete file;
-  if (error)
+  if (error == HA_ERR_WRONG_COMMAND)
+    my_error(ER_NOT_SUPPORTED_YET, MYF(0),
+             "ALTER TABLE command for EXAMPLE tables");
+  else if (error)
     my_error(ER_ERROR_ON_RENAME, MYF(0), from, to, error);
   DBUG_RETURN(error != 0);
 }
Thread
bk commit into 4.1 tree (ramil:1.2475) BUG#7643ramil20 Feb