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-11-18 11:31:03 +05:30
2009-05-20 16:24:22 +08:00
2008-12-17 15:01:34 -05:00
2007-10-09 17:56:32 -04:00
2007-10-09 17:56:32 -04:00
2007-10-09 17:56:32 -04:00
2009-02-13 11:41:47 -05:00
2008-05-09 09:43:02 +02:00
2008-11-10 21:21:49 +01:00
2009-02-13 11:41:47 -05:00
2008-11-10 21:21:49 +01:00
2008-05-09 09:43:02 +02:00
2008-10-07 19:20:13 +02: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
2009-01-09 14:04:47 +02:00
2009-02-13 11:41:47 -05:00
2007-10-05 16:33:08 +05:00
2008-04-09 18:42:05 +02:00
2007-09-11 16:17:28 +02:00
2008-03-29 09:52:16 +02:00
2008-03-10 07:07:56 +01:00
2008-10-23 21:27:09 +02:00
2008-02-04 15:40:04 +01:00
2009-02-20 16:56:32 +01:00
2009-01-05 18:10:20 +02:00
2009-03-27 13:34:24 +04:00
2009-05-04 15:30:15 +05:30
2007-10-11 13:29:09 -04:00
2008-04-03 13:14:57 -04:00
2007-10-11 13:29:09 -04:00
2009-05-25 11:00:40 +03:00
2008-12-12 15:13:11 +04:00
2009-03-24 18:27:33 +00:00
2009-05-22 01:22:46 +05:00
2009-05-22 01:22:46 +05:00
2009-04-29 07:59:10 +05:00
2008-02-22 13:30:33 +03:00
2008-02-22 13:30:33 +03:00
2008-02-22 13:30:33 +03:00
2009-05-21 16:16:17 +04:00
2009-04-17 19:18:00 +03:00
2008-07-04 17:02:17 +03:00
2008-02-22 13:30:33 +03:00
2009-03-11 14:29:59 +02:00
2008-12-09 20:35:02 +02:00
2009-02-13 11:41:47 -05:00
2009-02-07 16:50:31 +01:00
2009-04-01 13:40:33 +05:00
2007-11-21 16:00:09 +04:00
2009-05-25 11:00:40 +03:00
2009-05-25 11:00:40 +03:00
2008-10-10 12:01:01 +02:00
2008-02-12 10:43:38 +01:00
2009-04-14 13:20:13 -04:00
2009-02-13 11:41:47 -05:00
2007-12-05 20:00:14 +01:00
2009-05-15 16:03:22 +03:00
2009-03-27 13:19:50 +08:00
2009-04-09 12:25:25 -03:00
2009-01-23 13:22:05 +01:00
2008-12-17 15:01:34 -05:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2008-10-23 15:28:53 +02:00
2007-10-11 13:29:09 -04:00
2008-10-23 15:28:53 +02:00
2008-11-27 12:33:04 +01:00
2008-05-20 11:38:17 +04:00
2009-05-06 09:06:32 -04:00
2008-06-17 17:57:04 +05:30
2007-10-16 16:11:50 -04:00
2009-05-06 09:06:32 -04:00
2009-02-13 11:41:47 -05: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
2009-02-10 17:47:54 -05:00
2009-04-13 18:09:10 +05:00
2009-04-13 18:09:10 +05:00
2008-12-02 11:18:01 +01:00
2008-11-10 21:21:49 +01:00
2007-10-11 14:37:45 -04:00
2008-03-21 17:48:28 +02:00
2009-03-19 09:44:58 -04:00
2007-12-20 22:11:37 +01:00
2008-07-15 21:46:02 +04:00
2009-01-09 13:49:24 +01:00
2008-12-29 17:04:10 +01:00
2009-04-29 07:59:10 +05:00
2008-02-19 14:43:01 +03:00
2007-12-14 15:21:37 +02:00
2009-03-05 20:54:53 +01:00
2008-01-31 14:54:03 +02:00
2009-04-19 02:21:33 +01:00
2009-02-21 09:36:07 +00:00
2008-08-20 19:06:31 +05:00
2008-08-20 19:06:31 +05:00
2008-06-30 22:11:18 +02:00
2009-03-25 12:53:56 +02:00
2007-11-14 16:12:46 -05:00
2009-05-11 10:00:03 -04:00
2009-03-14 21:58:23 +03:00
2009-05-23 00:29:41 +01:00
2009-04-28 14:46:07 +03:00
2008-07-03 23:41:22 +04:00
2008-07-03 23:41:22 +04:00
2009-05-06 09:06:32 -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 15:36:57 -07: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
2009-02-10 17:47:54 -05:00
2009-02-13 11:41:47 -05:00
2009-05-25 10:00:18 -03:00
2008-03-21 17:48:28 +02:00
2008-03-29 17:50:46 +02:00
2008-03-21 17:48:28 +02:00
2007-10-18 14:32:43 +04:00
2009-05-06 09:06:32 -04:00
2009-01-09 13:49:24 +01:00
2008-01-29 14:14:34 +03:00
2009-04-14 13:20:13 -04:00
2008-07-17 11:31:22 +02:00
2009-05-15 12:29:41 +03:00
2009-05-05 17:03:23 -04:00
2009-02-13 11:41:47 -05:00
2009-04-23 12:43:42 +05:00
2009-04-23 12:43:42 +05:00
2008-12-10 18:16:21 +04:00
2007-10-16 16:11:50 -04:00
2009-04-09 07:42:51 +08:00
2009-05-15 12:29:41 +03:00
2009-02-10 17:47:54 -05:00
2008-02-19 15:45:21 +03:00
2009-02-13 11:41:47 -05:00
2009-04-17 13:46:27 +05:00
2009-02-10 17:47:54 -05:00
2009-05-06 09:06:32 -04:00
2009-05-06 09:06:32 -04:00
2009-05-06 09:06:32 -04:00
2008-08-11 16:44:13 -06:00
2009-03-17 16:29:24 -04:00
2008-12-23 18:08:04 +04:00
2008-12-04 19:41:53 +01:00
2007-10-23 14:27:11 +05:00
2009-05-15 16:40:09 +03:00
2009-04-01 10:34:59 +05:00
2007-11-20 11:21:00 +01:00
2009-05-18 10:10:30 +02:00
2009-05-14 14:03:33 +02:00
2009-05-20 16:17:47 +02:00
2009-05-15 16:13:54 +03:00
2009-05-05 17:03:23 -04:00
2009-05-19 09:25:36 +05:00
2009-04-30 15:28:07 +03:00
2008-03-14 18:38:54 +01:00
2009-05-25 11:00:40 +03:00
2009-02-23 19:16:48 +03:00
2009-03-20 16:27:53 +02:00
2009-05-05 17:03:23 -04:00
2008-11-10 21:21:49 +01:00
2009-05-21 13:06:43 +05:00
2008-08-11 16:44:13 -06:00
2009-05-29 16:22:24 +02:00
2009-04-14 14:05:32 +02:00
2009-03-27 13:19:50 +08:00
2009-01-14 18:50:51 +04:00
2009-02-13 11:41:47 -05:00
2009-05-15 12:11:07 +05:00
2009-05-13 17:24:27 +02:00
2009-05-06 09:06:32 -04:00
2009-04-13 18:09:10 +05:00
2009-05-06 09:06:32 -04:00
2009-03-14 21:58:23 +03:00
2009-01-21 13:45:23 -05:00
2009-03-19 09:44:58 -04:00
2009-01-05 18:10:20 +02:00
2008-08-12 17:05:19 -06:00
2009-03-19 11:44:57 +01:00
2008-12-01 17:22:16 +02:00
2009-02-13 11:41:47 -05:00
2007-10-17 17:54:11 -04:00
2009-02-13 11:41:47 -05:00
2009-05-04 22:33:23 +02:00
2008-08-25 17:11:59 +05:00