diff options
author | unknown <msvensson@pilot.mysql.com> | 2008-04-09 18:42:05 +0200 |
---|---|---|
committer | unknown <msvensson@pilot.mysql.com> | 2008-04-09 18:42:05 +0200 |
commit | 11cb913b9a060629b6b7350c92507517e63a7f45 (patch) | |
tree | 86615e599f7ff4d72c5199d5617b414bd8545c42 /sql/ha_ndbcluster_binlog.cc | |
parent | 5242048883ea02ffaa1cf6ea541644caea3bf58e (diff) | |
download | mariadb-git-11cb913b9a060629b6b7350c92507517e63a7f45.tar.gz |
Bug#35943 Failure to create mysql.ndb_schema shoudl not be logged if tabe already exist
sql/ha_ndbcluster_binlog.cc:
Add Ndb error code 721 to list of errors that should not be printed
to error log
Diffstat (limited to 'sql/ha_ndbcluster_binlog.cc')
-rw-r--r-- | sql/ha_ndbcluster_binlog.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc index 940e67b64f3..baf86d739eb 100644 --- a/sql/ha_ndbcluster_binlog.cc +++ b/sql/ha_ndbcluster_binlog.cc @@ -815,9 +815,10 @@ static int ndbcluster_create_ndb_apply_status_table(THD *thd) " end_pos BIGINT UNSIGNED NOT NULL, " " PRIMARY KEY USING HASH (server_id) ) ENGINE=NDB CHARACTER SET latin1"); - const int no_print_error[5]= {ER_TABLE_EXISTS_ERROR, + const int no_print_error[6]= {ER_TABLE_EXISTS_ERROR, 701, 702, + 721, // Table already exist 4009, 0}; // do not print error 701 etc run_query(thd, buf, end, no_print_error, TRUE); @@ -876,9 +877,10 @@ static int ndbcluster_create_schema_table(THD *thd) " type INT UNSIGNED NOT NULL," " PRIMARY KEY USING HASH (db,name) ) ENGINE=NDB CHARACTER SET latin1"); - const int no_print_error[5]= {ER_TABLE_EXISTS_ERROR, + const int no_print_error[6]= {ER_TABLE_EXISTS_ERROR, 701, 702, + 721, // Table already exist 4009, 0}; // do not print error 701 etc run_query(thd, buf, end, no_print_error, TRUE); |