| Bug #2012 | INSERT ... SELECT writes zeros into all fields instead of real data | ||
|---|---|---|---|
| Submitted: | 4 Dec 2003 6:58 | Modified: | 17 Dec 2003 2:01 |
| Reporter: | Sergei Kulakov (Candidate Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 3.23.58 | OS: | FreeBSD (Free BSD) |
| Assigned to: | Victor Vagin | CPU Architecture: | Any |
[4 Dec 2003 6:58]
Sergei Kulakov
[4 Dec 2003 7:25]
Dean Ellis
Verified in 3.23.58; works correctly in 4.0.17. If, rather than inserting NULL for the first column, one inserts 0 (or some other non-NULL value), the query works. Thank you.
[4 Dec 2003 7:30]
Sergei Kulakov
Thanks for veryfing. Of course I know it works with non-nulls. The point is I needed nulls because I intended to use it with an auto_increment field.
[16 Dec 2003 6:06]
Victor Vagin
thank you very much for catching such a seldom bug patch was sent ( To: dev-public@mysql.com Subject: bk commit into 3.23 tree (1.1425) ) for review
[17 Dec 2003 2:01]
Victor Vagin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.
If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information
about accessing the source trees is available at
http://www.mysql.com/doc/en/Installing_source_tree.html
Additional info:
It fixed in 3.23.59
