Bug #77 mysql command line crashes
| Submitted: | 15 Feb 2003 16:50 | Modified: | 15 Feb 2003 17:27 |
|---|---|---|---|
| Reporter: | Georg Richter | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
| Version: | OS: | ||
| Assigned to: | Venu Anuganti | CPU Architecture: | Any |
[15 Feb 2003 17:27]
Venu Anuganti
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/ Hi !! I just pushed the fix to BK main repo. Thanks
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.037 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: mysql -uroot test crashes This bug was already reported via bugs@, but it's still not fixed. Sinisas patch worked fine for me, but it's not in the actual tree. How to repeat: Suggested fix: Sinisa's patch *** /tmp/libmysql.c-1.142-22199 Tue Feb 4 03:19:17 2003 --- 1.143/libmysql/libmysql.c Wed Feb 5 22:13:03 2003 *************** *** 1173,1179 **** if (INTERNAL_NUM_FIELD(field)) field->flags|= NUM_FLAG; if (default_value && row->data[6]) ! field->def=strdup_root(alloc,(char*) row->data[8]); else field->def=0; field->max_length= 0; --- 1173,1179 ---- if (INTERNAL_NUM_FIELD(field)) field->flags|= NUM_FLAG; if (default_value && row->data[6]) ! field->def=strdup_root(alloc,(char*) row->data[6]); else field->def=0; field->max_length= 0;