Bug #5130 create table(..) type=ndb; does not fail if mysqld is started w/o --ndbcluster
Submitted: 20 Aug 2004 17:42 Modified: 20 Aug 2004 18:12
Reporter: Johan Andersson Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S2 (Serious)
Version:mysql 4.1 bk OS:Any (*)
Assigned to: CPU Architecture:Any

[20 Aug 2004 17:42] Johan Andersson
Description:
If I start a Mysql server without --ndbcluster, I should not be able to create a table specifying that table handler!

How to repeat:
1. start mysqld without ndbcluster
2. create table(a integer) type=ndb;

I think 2) should fail!!!

-johan
[20 Aug 2004 18:12] Miguel Solorzano
That is the expected behavior when an engine isn't available, please see
create table syntax in the Manual at:

"If a storage engine is specified that is not available, MySQL uses MyISAM instead....." 

http://dev.mysql.com/doc/mysql/en/CREATE_TABLE.html