summaryrefslogtreecommitdiff
path: root/mysql-test/r/ndb_autodiscover.result
diff options
context:
space:
mode:
authorunknown <gni/root@dev3-221.dev.cn.tlan>2007-04-03 18:44:29 +0800
committerunknown <gni/root@dev3-221.dev.cn.tlan>2007-04-03 18:44:29 +0800
commit5203ea6ccb349aae5e53e3f0247256a9fc60208e (patch)
treef54056d12cacaac1d0a887906fd01c6d9ab2c9b9 /mysql-test/r/ndb_autodiscover.result
parent1f7b3e569df0212219c0741aa70f240f09e02772 (diff)
downloadmariadb-git-5203ea6ccb349aae5e53e3f0247256a9fc60208e.tar.gz
BUG#18676 when cluster storage engine is down, misleading error message on create table with 4009.
mysql-test/r/ndb_autodiscover.result: changes ndbd error code to mysqld error code when no cluster connection sql/ha_ndbcluster.cc: map 4009 error code to mysql not connected error sql/handler.cc: define return codes to ha_table_exists_in_engine to something useful NOTE: in 5.1 this should call a handlerton method, not horrible ifdef ndb stuff sql/sql_table.cc: clearly define what happens on create table if exits/not exists/not connected to engine
Diffstat (limited to 'mysql-test/r/ndb_autodiscover.result')
-rw-r--r--mysql-test/r/ndb_autodiscover.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/ndb_autodiscover.result b/mysql-test/r/ndb_autodiscover.result
index 6d1b7eb152d..01ea884a8ba 100644
--- a/mysql-test/r/ndb_autodiscover.result
+++ b/mysql-test/r/ndb_autodiscover.result
@@ -382,7 +382,7 @@ create table t1 (a int primary key) engine=ndb;
select * from t1;
a
select * from t1;
-ERROR HY000: Can't lock file (errno: 4009)
+ERROR HY000: Can't lock file (errno: 157)
use test;
drop database test_only_ndb_tables;
CREATE TABLE t9 (