diff options
author | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-02-27 19:31:49 +0200 |
---|---|---|
committer | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-02-27 19:31:49 +0200 |
commit | 3956f5911e86bb9610f502832f5103530053e7ec (patch) | |
tree | d28a6d1f930596f828c5f26824d51b1c917abe91 /storage/myisammrg | |
parent | 175507b766c471d7545165857debc0cd55d04422 (diff) | |
download | mariadb-git-3956f5911e86bb9610f502832f5103530053e7ec.tar.gz |
Remove compiler warnings
mysql-test/mysql-test-run.pl:
Fix warning when using --extern
sql/field.cc:
Fix wrong fix
sql/ha_ndbcluster.cc:
Better fixes to remove compiler warnings
sql/ha_ndbcluster_binlog.cc:
Better fixes to remove compiler warnings
sql/log.cc:
Fix compiler warnings
sql/sql_parse.cc:
Indentation fix
sql/sql_table.cc:
Indentation fixes
storage/myisammrg/ha_myisammrg.cc:
Fix compiler warnings
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
Fix compiler warnings
support-files/compiler_warnings.supp:
Suppress all 'safe' warnings, as detected by win64
win/README:
Fixed typo
Diffstat (limited to 'storage/myisammrg')
-rw-r--r-- | storage/myisammrg/ha_myisammrg.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/storage/myisammrg/ha_myisammrg.cc b/storage/myisammrg/ha_myisammrg.cc index ae7c6703b52..d9e7e1d5700 100644 --- a/storage/myisammrg/ha_myisammrg.cc +++ b/storage/myisammrg/ha_myisammrg.cc @@ -460,8 +460,7 @@ void ha_myisammrg::update_create_info(HA_CREATE_INFO *create_info) { TABLE_LIST *ptr; LEX_STRING db, name; - db.length= 0; - db.str= 0; + LINT_INIT(db.str); if (!(ptr = (TABLE_LIST *) thd->calloc(sizeof(TABLE_LIST)))) goto err; @@ -572,8 +571,8 @@ void ha_myisammrg::append_create_info(String *packet) open_table++) { LEX_STRING db, name; - db.length= 0; - db.str= 0; + LINT_INIT(db.str); + split_file_name(open_table->table->filename, &db, &name); if (open_table != first) packet->append(','); |