diff options
author | unknown <monty@mysql.com> | 2005-05-25 18:33:36 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2005-05-25 18:33:36 +0300 |
commit | 1834f8899fc55184fc7aa5c1f918f712e045ac4c (patch) | |
tree | b5c430040053eaeddfd2f77399d7a6ef8298deb1 /sql/table.h | |
parent | cfb54ed5141c1b6ba5989658180d7d87a87bf613 (diff) | |
download | mariadb-git-1834f8899fc55184fc7aa5c1f918f712e045ac4c.tar.gz |
Fix that we can read tables with the 'older' decimal format used in 5.0.3 & 5.0.4
We will however give a warning when opening such a table that users should use ALTER TABLE ... FORCE to fix
the table. In future release we will fix that REPAIR TABLE will be able to handle this case
sql/sql_lex.h:
Support for ALTER TABLE ... FORCE
sql/sql_table.cc:
CHECK TABLE now gives a note if table->s->crashed was set
sql/sql_yacc.yy:
Support for ALTER TABLE ... FORCE
sql/table.cc:
Fix that we can read tables with the 'older' decimal format used in 5.0.3 & 5.0.4
(Now we store display length in the .frm table while we previously stored precision)
sql/table.h:
Store in TABLE_SHARE version number of MySQL where table was created (or checked)
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h index 2e397ff95bf..8043429999b 100644 --- a/sql/table.h +++ b/sql/table.h @@ -126,7 +126,7 @@ typedef struct st_table_share key_map keys_for_keyread; ulong avg_row_length; /* create information */ ulong raid_chunksize; - ulong version, flush_version; + ulong version, flush_version, mysql_version; ulong timestamp_offset; /* Set to offset+1 of record */ ulong reclength; /* Recordlength */ |