1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-03 20:43:11 +03:00
Files
mariadb/sql
Tatiana A. Nurnberg 2ba60c19c3 Bug#39200: optimize table does not recognize ROW_FORMAT=COMPRESSED
When doing ALTER TABLE, we forgot to point out that we actually have
ROW_FORMAT information (from the original table), so we dropped to
"sensible defaults". This affects both ALTER TABLE and OPTIMIZE TABLE
which may fall back on ALTER TABLE for InnoDB.

We now flag that we do indeed know the row-type, thereby preserving
compression-type etc.

No .test in 5.1 since we'd need a reasonable new plugin from InnoDB to
show this properly; in higher versions, maria can demonstrate this.

sql/sql_table.cc:
  In mysql_alter_table() flag that we have row-type info
  from old table. In compare_tables(), we must explicitly
  check whether row-type has changed (rather than rely on
  the flag which will always be set at this point now).
2009-05-29 16:22:24 +02:00
..
2008-12-17 15:01:34 -05:00
2009-04-09 14:22:06 +08:00
2007-10-11 13:29:09 -04:00
2009-05-15 12:42:57 +04:00
2009-01-05 18:10:20 +02:00
2008-10-23 21:27:09 +02:00
2009-01-05 18:10:20 +02:00
2009-03-27 13:34:24 +04:00
2007-10-11 13:29:09 -04:00
2007-10-11 13:29:09 -04:00
2008-12-12 15:13:11 +04:00
2009-04-29 07:59:10 +05:00
2009-05-21 16:16:17 +04:00
2009-04-17 19:18:00 +03:00
2009-03-11 14:29:59 +02:00
2009-02-07 16:50:31 +01:00
2008-02-12 10:43:38 +01:00
2009-05-15 16:03:22 +03:00
2009-01-23 13:22:05 +01:00
2008-12-17 15:01:34 -05:00
2007-10-11 13:29:09 -04:00
2008-11-27 12:33:04 +01:00
2008-06-17 17:57:04 +05:30
2007-10-16 16:11:50 -04:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2009-03-24 15:58:52 +02:00
2008-08-25 21:18:22 +04:00
2007-10-11 14:37:45 -04:00
2009-03-19 09:44:58 -04:00
2008-07-15 21:46:02 +04:00
2009-04-29 07:59:10 +05:00
2009-05-23 00:29:41 +01:00
2008-07-03 23:41:22 +04:00
2008-07-03 23:41:22 +04:00
2009-04-29 07:59:10 +05:00
2009-04-29 07:59:10 +05:00
2009-04-29 07:59:10 +05:00
2008-01-23 13:26:41 -07:00
2009-04-09 07:42:51 +08:00
2008-04-08 20:31:40 +04:00
2008-07-17 11:31:22 +02:00
2009-05-15 12:29:41 +03:00
2008-12-10 18:16:21 +04:00
2007-10-16 16:11:50 -04:00
2009-05-15 12:29:41 +03:00
2009-04-17 13:46:27 +05:00
2009-03-17 16:29:24 -04:00
2009-05-15 16:13:54 +03:00
2009-01-14 18:50:51 +04:00
2009-05-15 12:11:07 +05:00
2009-05-13 17:24:27 +02:00
2009-03-19 09:44:58 -04:00
2009-01-05 18:10:20 +02:00
2009-03-19 11:44:57 +01:00
2009-05-04 22:33:23 +02:00