summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-11-03 22:42:25 +0200
committerunknown <monty@mysql.com>2005-11-03 22:42:25 +0200
commit52a992d50db2bc468c3dbc4bc6f55eff4dd9e196 (patch)
tree736f3d9834f9c3cd41d1cf5e5ccfecfdc2fc929d /sql/ha_ndbcluster.cc
parentc701043d8a16e9cd24b4a60506a2f727e29424ef (diff)
downloadmariadb-git-52a992d50db2bc468c3dbc4bc6f55eff4dd9e196.tar.gz
Fixes during review of new code
Destroy LOCK_uuid_generator sql/ha_berkeley.h: Fix portability problem (warnings from gcc on 32 bit linux) sql/ha_ndbcluster.cc: Fixed portability problem sql/mysqld.cc: Destroy LOCK_uuid_generator
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 71bd3acd2a6..80c34f1117f 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -3861,7 +3861,8 @@ int ha_ndbcluster::create(const char *name,
uint pack_length, length, i, pk_length= 0;
const void *data, *pack_data;
char name2[FN_HEADLEN];
- bool create_from_engine= (info->table_options & HA_OPTION_CREATE_FROM_ENGINE);
+ bool create_from_engine= test(info->table_options &
+ HA_OPTION_CREATE_FROM_ENGINE);
DBUG_ENTER("ha_ndbcluster::create");
DBUG_PRINT("enter", ("name: %s", name));