diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2013-09-06 15:59:19 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2013-09-06 15:59:19 +0400 |
commit | bbc9e57981d8aa420d7bcf58e3fb2d7c1bf25ca9 (patch) | |
tree | 4840f695abcffc893f8b7d8d9d62d3e1cdf85a1e /sql/table.h | |
parent | 078388f39ca8d6f0b5188cc060a7f0e1c2808d87 (diff) | |
download | mariadb-git-bbc9e57981d8aa420d7bcf58e3fb2d7c1bf25ca9.tar.gz |
MDEV-4978 - Server cursor is broken with blobs in the select list,
ORDER BY does not work
Use "dynamic" row format (instead of "block") for MARIA internal
temporary tables created for cursors.
With "block" row format MARIA may shuffle rows, with "dynamic" row
format records are inserted sequentially (there are no gaps in data
file while we fill temporary tables).
This is needed to preserve row order when scanning materialized cursors.
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 7a946d63bcc..0e41c10447a 100644 --- a/sql/table.h +++ b/sql/table.h @@ -1149,6 +1149,10 @@ public: */ bool force_index_group; bool distinct,const_table,no_rows, used_for_duplicate_elimination; + /** + Forces DYNAMIC Aria row format for internal temporary tables. + */ + bool keep_row_order; /** If set, the optimizer has found that row retrieval should access index |