diff options
author | unknown <stewart@mysql.com> | 2006-02-02 00:47:08 +1100 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2006-02-02 00:47:08 +1100 |
commit | 9be61bbc02dff5e5ef87c7ac6b3a5b3356bac04f (patch) | |
tree | fbd7ae6b818da8349189339a28fb01f0ddbfae1c /sql/ha_ndbcluster.cc | |
parent | b89ce88345b25414bb1a98bb914b6a45dbf1042c (diff) | |
download | mariadb-git-9be61bbc02dff5e5ef87c7ac6b3a5b3356bac04f.tar.gz |
some fixes from review of WL1359.
fix up test cases.
mysql-test/r/information_schema.result:
update result for INFORMATION_SCHEMA.FILES
mysql-test/r/information_schema_db.result:
update result for INFORMATION_SCHEMA.FILES
sql/ha_ndbcluster.cc:
in fill_files_table, use my_snprintf instead of snprintf
sql/sql_show.cc:
correct DBUG_ENTER for fill_schema_files
sql/table.h:
add SCH_FILES to information schema enum
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r-- | sql/ha_ndbcluster.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 349d8604635..0d13121c8b3 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -9666,7 +9666,7 @@ static int ndbcluster_fill_files_table(THD *thd, TABLE_LIST *tables, COND *cond) table->field[c++]->store("NORMAL",6, system_charset_info); char extra[30]; - int len= snprintf(extra,sizeof(extra),"CLUSTER_NODE=%u",id); + int len= my_snprintf(extra,sizeof(extra),"CLUSTER_NODE=%u",id); table->field[c]->store(extra,len,system_charset_info); schema_table_store_record(thd, table); } @@ -9741,7 +9741,7 @@ static int ndbcluster_fill_files_table(THD *thd, TABLE_LIST *tables, COND *cond) table->field[c++]->store("NORMAL",6, system_charset_info); char extra[30]; - int len= snprintf(extra,sizeof(extra),"CLUSTER_NODE=%u",id); + int len= my_snprintf(extra,sizeof(extra),"CLUSTER_NODE=%u",id); table->field[c]->store(extra,len,system_charset_info); schema_table_store_record(thd, table); } |