diff options
author | unknown <gluh@mysql.com/eagle.(none)> | 2007-08-09 22:05:56 +0500 |
---|---|---|
committer | unknown <gluh@mysql.com/eagle.(none)> | 2007-08-09 22:05:56 +0500 |
commit | 1c47af79da738cbba009d2801da0cfb8ee45a3da (patch) | |
tree | ac2e3c2efb02aff4ce23c126d60813ffeea734b9 /sql | |
parent | 4144c0322d4dbb56a1a20176690226bfdd6c7cdb (diff) | |
download | mariadb-git-1c47af79da738cbba009d2801da0cfb8ee45a3da.tar.gz |
Bug#30322 Server crashes on selecting from i_s.columns when cluster is running -regression
disable partition processing if we open frm file only
mysql-test/suite/ndb/r/ndb_dd_basic.result:
test result
mysql-test/suite/ndb/t/ndb_dd_basic.test:
test case
sql/table.cc:
disable partition processing if we open frm file only
Diffstat (limited to 'sql')
-rw-r--r-- | sql/table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index 12fffe1dde7..53f32355923 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1750,7 +1750,7 @@ int open_table_from_share(THD *thd, TABLE_SHARE *share, const char *alias, } #ifdef WITH_PARTITION_STORAGE_ENGINE - if (share->partition_info_len) + if (share->partition_info_len && outparam->file) { /* In this execution we must avoid calling thd->change_item_tree since |