summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2009-10-23 16:02:20 +0500
committerSergey Glukhov <Sergey.Glukhov@sun.com>2009-10-23 16:02:20 +0500
commit795102b786910f6b5eaeb16fc75a9c02867fb07b (patch)
treed38a2e14810bd18508f790c50d83a7807736ce33 /sql/ha_ndbcluster.cc
parent96dbafaa8d6bfa18a861476babfda3c6b7875db4 (diff)
downloadmariadb-git-795102b786910f6b5eaeb16fc75a9c02867fb07b.tar.gz
Bug#35427 INFORMATION_SCHEMA.TABLES.TABLE_CATALOG is NULL, should be "def"
backport to betony
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 05b081d45b8..439688cdadf 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -10449,7 +10449,8 @@ static int ndbcluster_fill_files_table(handlerton *hton,
continue;
ERR_RETURN(ndberr);
}
-
+ table->field[IS_FILES_TABLE_CATALOG]->store(STRING_WITH_LEN("def"),
+ system_charset_info);
table->field[IS_FILES_FILE_NAME]->set_notnull();
table->field[IS_FILES_FILE_NAME]->store(elt.name, strlen(elt.name),
system_charset_info);