Bug #67894 | unsuitable default behavior in mysqldump | ||
---|---|---|---|
Submitted: | 13 Dec 2012 13:09 | Modified: | 13 Dec 2012 17:23 |
Reporter: | xiaobin lin (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S3 (Non-critical) |
Version: | 5.1+ | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | mysqldump |
[13 Dec 2012 13:09]
xiaobin lin
[13 Dec 2012 13:39]
xiaobin lin
Sorry, when I look into the comments, it says that this is on purpose, for that when users will restore data between machines that do not have the same default-time-zone. So I think this can be closed. But I also think that it is better for mysqldump to recognize the default timezone of the source-machine. That will make less puzzle.
[13 Dec 2012 13:46]
xiaobin lin
for example when dump with where clause. mysqldump -Srun/mysql.sock -uroot test tt --where='c="2012-12-14 04:36:03"' will dump *nothing* though there mysql> select * from tt where c="2012-12-14 04:36:03"; +---------------------+ | c | +---------------------+ | 2012-12-14 04:36:03 | +---------------------+
[13 Dec 2012 17:23]
Sveta Smirnova
Thank you for the report. Closed as not a bug because last comment.