mariadb/storage
unknown c3bf70215b Bug#33222 - myisam-table drops rows when column is added
and a char-field > 128 exists

CHECK TABLE (non-QUICK) and any form of repair table did wrongly rate
records as corrupted under the following conditions:
1. The table has dynamic row format and
2. it has a CHAR like column > 127 bytes (but not VARCHAR)
   (for multi-byte character sets this could be less than 127
   characters) and
3. it has records with > 127 bytes significant length in that column
   (a byte beyond byte position 127 must be non-space).
Affected were the statements CHECK TABLE, REPAIR TABLE, OPTIMIZE TABLE,
ALTER TABLE. CHECK TABLE reported and marked the table as crashed if any
record was present that fulfilled condition 3. The other statements
deleted these records.

The problem was a signed/unsigned compare in MyISAM code. A
char to uchar change became necessary after the big byte to uchar
change.


mysql-test/r/myisam.result:
  Bug#33222 - myisam-table drops rows when column is added
             and a char-field > 128 exists
  Added test result.
mysql-test/t/myisam.test:
  Bug#33222 - myisam-table drops rows when column is added
             and a char-field > 128 exists
  Added test.
storage/myisam/mi_dynrec.c:
  Bug#33222 - myisam-table drops rows when column is added
             and a char-field > 128 exists
  char -> uchar became necessary after big byte -> uchar change.
  Fixed some small coding style violations near the changes.
2008-01-14 17:59:45 +01:00
..
archive BUG#31833 - ORDER BY leads to wrong result when ARCHIVE, BLOB and 2007-11-23 17:51:12 +04:00
blackhole
csv Merge stella.local:/home2/mydev/mysql-5.1-amain 2007-12-11 21:37:33 +01:00
example Fixed bug #32034: On 64bit platforms assigning values of 2007-11-14 13:48:21 +04:00
federated
heap
innobase Applied InnoDB snapshot innodb-5.1-ss2093 2007-11-20 12:23:18 -07:00
myisam Bug#33222 - myisam-table drops rows when column is added 2008-01-14 17:59:45 +01:00
myisammrg Bug#30273 - merge tables: Can't lock file (errno: 155) 2007-12-11 15:32:10 +01:00
ndb Merge ramayana.hindu.god:/home/tsmith/m/bk/51 2007-12-05 12:33:36 -07:00
Makefile.am