diff options
author | unknown <monty@mysql.com/nosik.monty.fi> | 2006-11-27 18:16:08 +0200 |
---|---|---|
committer | unknown <monty@mysql.com/nosik.monty.fi> | 2006-11-27 18:16:08 +0200 |
commit | c1477a3f20897905f3835c4377c9e88841fdd4bb (patch) | |
tree | 20c7910ad3251fb39027f6528cd4c0524220a1a0 /sql/tztime.cc | |
parent | 24bbc92bddaa4e7e99c6e6d3c1e50d05f87e6507 (diff) | |
download | mariadb-git-c1477a3f20897905f3835c4377c9e88841fdd4bb.tar.gz |
Removed compiler warnings
Ensure that my_size_t is always unsigned (to get predictiable results from system to system)
Removed some %lld, as these are not portable
BUILD/FINISH.sh:
Remove configure files from storage engines (as some of them may be old versions and may cause conflicts)
client/mysqldump.c:
Removed compiler warning
client/mysqlslap.c:
Removed compiler warning
client/mysqltest.c:
Removed compiler warning
cmd-line-utils/readline/bind.c:
Removed compiler warning
cmd-line-utils/readline/histfile.c:
Removed compiler warning
include/my_global.h:
Ensure that my_size_t is always unsigned (to get predictiable results from system to system)
Moved my_offset_t here from parse_file.h
sql/event_data_objects.cc:
Removed compiler warning
sql/event_scheduler.cc:
Removed compiler warning
sql/field.h:
Removed compiler warning
sql/ha_ndbcluster_binlog.cc:
Removed compiler warning
sql/ha_partition.cc:
Removed compiler warning
sql/item_strfunc.cc:
Removed compiler warning
sql/log_event.cc:
Removed compiler warning
sql/mysqld.cc:
Removed compiler warning
sql/parse_file.h:
Moved my_offset_t to my_global.h
sql/rpl_utility.cc:
Removed compiler warning
sql/sql_binlog.cc:
Removed compiler warning
sql/sql_cache.cc:
Removed compiler warning
sql/tztime.cc:
Removed compiler warning
storage/archive/ha_archive.cc:
Removed compiler warning
Removed %lld as it's not portable
storage/heap/hp_write.c:
Removed compiler warning
storage/innobase/os/os0file.c:
Removed compiler warning
storage/myisam/myisampack.c:
Removed compiler warning
storage/myisammrg/myrg_rkey.c:
Removed compiler warning
storage/ndb/include/kernel/signaldata/DictTabInfo.hpp:
Use my_offsetof instead of offsetof to get rid of compiler warnings
storage/ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
Removed compiler warning
storage/ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp:
Removed compiler warning
Note: Someone from NDB team should check this fix!
storage/ndb/src/kernel/vm/Rope.cpp:
Removed compiler warning
storage/ndb/src/mgmapi/mgmapi.cpp:
Removed compiler warning
storage/ndb/src/ndbapi/Ndb.cpp:
Removed compiler warning
storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
Removed compiler warning
storage/ndb/src/ndbapi/NdbScanOperation.cpp:
Removed compiler warning
storage/ndb/src/ndbapi/NdbTransaction.cpp:
Removed compiler warning
storage/ndb/src/ndbapi/Ndblist.cpp:
Removed compiler warning
Diffstat (limited to 'sql/tztime.cc')
-rw-r--r-- | sql/tztime.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc index 5af16005f8f..6acf17520d9 100644 --- a/sql/tztime.cc +++ b/sql/tztime.cc @@ -1743,8 +1743,8 @@ my_tz_init(THD *org_thd, const char *default_tzname, my_bool bootstrap) tz_leapcnt++; DBUG_PRINT("info", - ("time_zone_leap_second table: tz_leapcnt=%u tt_time=%lld offset=%ld", - tz_leapcnt, (longlong)tz_lsis[tz_leapcnt-1].ls_trans, + ("time_zone_leap_second table: tz_leapcnt:%u tt_time: %lu offset: %ld", + tz_leapcnt, (ulong) tz_lsis[tz_leapcnt-1].ls_trans, tz_lsis[tz_leapcnt-1].ls_corr)); res= table->file->index_next(table->record[0]); @@ -2057,8 +2057,8 @@ tz_load_from_open_tables(const String *tz_name, TABLE_LIST *tz_tables) tz_info->timecnt++; DBUG_PRINT("info", - ("time_zone_transition table: tz_id=%u tt_time=%lld tt_id=%u", - tzid, (longlong)ttime, ttid)); + ("time_zone_transition table: tz_id: %u tt_time:%lu tt_id: %u", + tzid, (ulong) ttime, ttid)); res= table->file->index_next_same(table->record[0], (byte*)table->field[0]->ptr, 4); |