diff options
author | unknown <Justin.He/justin.he@dev3-240.dev.cn.tlan> | 2007-04-05 11:30:19 +0800 |
---|---|---|
committer | unknown <Justin.He/justin.he@dev3-240.dev.cn.tlan> | 2007-04-05 11:30:19 +0800 |
commit | bb8fb9e9e6653fd9c69db33785bfe2f9ab7bf602 (patch) | |
tree | 031cd24f0a6fdc5efc6c72a6f82b9d00edba3d2a /sql/handler.cc | |
parent | b651aa038c1a7fa5197c2746672bd22863b12132 (diff) | |
parent | 5203ea6ccb349aae5e53e3f0247256a9fc60208e (diff) | |
download | mariadb-git-bb8fb9e9e6653fd9c69db33785bfe2f9ab7bf602.tar.gz |
Merge dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.0/mysql-5.0-ndb
into dev3-240.dev.cn.tlan:/home/justin.he/mysql/mysql-5.0/mysql-5.0-ndb-bj.merge
sql/ha_ndbcluster.cc:
Auto merged
sql/handler.cc:
Auto merged
sql/sql_table.cc:
Auto merged
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 6cba079e736..6afa4f1900a 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -2438,14 +2438,14 @@ ha_find_files(THD *thd,const char *db,const char *path, Ask handler if the table exists in engine RETURN - 0 Table does not exist - 1 Table exists - # Error code + HA_ERR_NO_SUCH_TABLE Table does not exist + HA_ERR_TABLE_EXIST Table exists + # Error code */ int ha_table_exists_in_engine(THD* thd, const char* db, const char* name) { - int error= 0; + int error= HA_ERR_NO_SUCH_TABLE; DBUG_ENTER("ha_table_exists_in_engine"); DBUG_PRINT("enter", ("db: %s, name: %s", db, name)); #ifdef HAVE_NDBCLUSTER_DB |