- Home
- Show all categories
- About Webyog support and about this FAQ
- About the SQLyog program

- Connection issues

- Using the GUI
- Managing your MySQL Database Systems

- Database Structure Synchronization
- MySQL DATA synchronization
- Notification Services
- ODBC and Migration
- Backup/Restore
- SQLyog Job Agent (SJA)

- Working with Views, Stored Procedures and Triggers
- Character Set and Localization Issues
- MySQL bugs that affect SQLyog
- Questions on Open Source and Compiling
- Instant Response
- Sitemap
Character Set and Localization Issues
ID #1079
When adding a TIMESTAMP column to an existing table ZERO-dates are inserted
You experience that when adding a TIMESTAMP column to an existing table (with existing rows in it) using the definition:
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, ... the new values are created as 0000-00-00 00:00:00 and not as CURRENT_TIMESTAMP.After some discussion MySQL AB finally accepted that this should be considered a bug. Refer to http://bugs.mysql.com/bug.php?id=17392 for details.
As a consequence using the ALTER TABLE pane of SQLyog to add a TIMESTAMP column creates ZERO-dates in existing rows as well. No information available at the time about when this will be fixed and not either to what versions the patch will be applied when available.
Tags: -
Related entries:
- Welcome to the Webyog FAQ
- SQLyog Version History
- What is and what is not imported by the SQLyog Migration Tool?
- Can I perform "incremental import" with the SQLyog Migration Tool?
- Plans for future versions of SQLyog
Last update: 2006-05-30 04:43
Author: Peter Laursen
Revision: 1.1
You can comment on this entry