<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git, branch 10.4-MDEV-21201</title>
<subtitle>github.com: MariaDB/server.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/'/>
<entry>
<title>cleanup: formatting</title>
<updated>2020-07-28T08:34:49+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2020-07-28T08:33:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=fcb14a0b53f07984b4a908fe41abc0dcef8aca9d'/>
<id>fcb14a0b53f07984b4a908fe41abc0dcef8aca9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-21201 No records produced in information_schema query, depending on projection</title>
<updated>2020-07-28T08:34:41+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2020-07-28T07:13:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=cf98e6b36efda8bba8fa092e59e3ccda9139ac55'/>
<id>cf98e6b36efda8bba8fa092e59e3ccda9139ac55</id>
<content type='text'>
Reimplement MDEV-14275 Improving memory utilization for information schema

Postpone temp table instantiation until after setup_fields().

Replace all unused (not marked in read_set) columns in an I_S table
with CHAR(0). This can drastically reduce the footprint of a MEMORY
table (a TABLE_CATALOG alone is 1538 bytes per row).

This does not change the engine. If the table was decided to be Aria
(because of, say, blobs) then after optimization it'll stay Aria
even if all blobs were removed.

Note, when transforming table structure, share-&gt;blob_fields is preserved,
otherwise Aria might switch from DYNAMIC to STATIC row format and
expect a special field for a deleted mark, which create_tmp_tabe didn't
provide.

Note that optimizer was doing handler::info() (to know the number of rows)
before the temp table is populated. That didn't make much sense.
Now it's done before the table is even instantiated. Preserve the old
behavior and report 0 rows.

This reverts e2664ee8362
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reimplement MDEV-14275 Improving memory utilization for information schema

Postpone temp table instantiation until after setup_fields().

Replace all unused (not marked in read_set) columns in an I_S table
with CHAR(0). This can drastically reduce the footprint of a MEMORY
table (a TABLE_CATALOG alone is 1538 bytes per row).

This does not change the engine. If the table was decided to be Aria
(because of, say, blobs) then after optimization it'll stay Aria
even if all blobs were removed.

Note, when transforming table structure, share-&gt;blob_fields is preserved,
otherwise Aria might switch from DYNAMIC to STATIC row format and
expect a special field for a deleted mark, which create_tmp_tabe didn't
provide.

Note that optimizer was doing handler::info() (to know the number of rows)
before the temp table is populated. That didn't make much sense.
Now it's done before the table is even instantiated. Preserve the old
behavior and report 0 rows.

This reverts e2664ee8362
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-23237 mariadb.sys has too many privileges</title>
<updated>2020-07-28T08:34:40+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2020-07-23T16:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=1c4981a63504c825e7cd8b6cb5bedca1c0fb71fc'/>
<id>1c4981a63504c825e7cd8b6cb5bedca1c0fb71fc</id>
<content type='text'>
don't GRANT UPDATE ON mysql.global_priv TO mariadb.sys@localhost;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
don't GRANT UPDATE ON mysql.global_priv TO mariadb.sys@localhost;
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-23009 SIGSEGV in get_field from acl_load (on optimized builds)</title>
<updated>2020-07-28T08:34:40+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2020-07-23T14:17:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=b737259fdf2c6d2fba57a18ac97a4093889819d9'/>
<id>b737259fdf2c6d2fba57a18ac97a4093889819d9</id>
<content type='text'>
Classes that handle privilege tables (like Tables_priv_table)
could read some columns conditionally but they expect a certain
minimal number of colunms always to exist.

Add a check for a minimal required number of columns in privilege tables,
don't use a table that has fewer columns than required.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Classes that handle privilege tables (like Tables_priv_table)
could read some columns conditionally but they expect a certain
minimal number of colunms always to exist.

Add a check for a minimal required number of columns in privilege tables,
don't use a table that has fewer columns than required.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-22651: Bogus assertion in dict_table_t::init_instant()</title>
<updated>2020-07-24T16:41:09+00:00</updated>
<author>
<name>Marko Mäkelä</name>
<email>marko.makela@mariadb.com</email>
</author>
<published>2020-07-24T16:34:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=05d62518fb81b884685199a3cf269f24c01e3e99'/>
<id>05d62518fb81b884685199a3cf269f24c01e3e99</id>
<content type='text'>
In commit 0e5a4ac2532c64a545796c787354dc41d61d0e62 (MDEV-15562)
we introduced a bogus debug assertion, demanding that dict_col_t::len
never exceed some maximum value. The intention was to match what
dict_index_add_col() is doing. But, the assignment field-&gt;fixed_len = 0
applies to dict_field_t::fixed_len, not dict_col_t::len!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In commit 0e5a4ac2532c64a545796c787354dc41d61d0e62 (MDEV-15562)
we introduced a bogus debug assertion, demanding that dict_col_t::len
never exceed some maximum value. The intention was to match what
dict_index_add_col() is doing. But, the assignment field-&gt;fixed_len = 0
applies to dict_field_t::fixed_len, not dict_col_t::len!
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-22998 Free thd-&gt;mem_root at applier commit or rollback.</title>
<updated>2020-07-24T16:33:45+00:00</updated>
<author>
<name>Teemu Ollakka</name>
<email>teemu.ollakka@galeracluster.com</email>
</author>
<published>2020-07-24T12:17:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=3d76af0814a5dc7123d899e8357ff4948e8c531e'/>
<id>3d76af0814a5dc7123d899e8357ff4948e8c531e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing includes.</title>
<updated>2020-07-24T16:25:32+00:00</updated>
<author>
<name>Jan Lindström</name>
<email>jan.lindstrom@mariadb.com</email>
</author>
<published>2020-07-24T16:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=468e56bfdeea4cac7a4f7eebab69606f41edc07c'/>
<id>468e56bfdeea4cac7a4f7eebab69606f41edc07c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Galera global warning ignore list.</title>
<updated>2020-07-24T12:17:35+00:00</updated>
<author>
<name>Jan Lindström</name>
<email>jan.lindstrom@mariadb.com</email>
</author>
<published>2020-07-24T12:17:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=bec81db1c28388337e5abe67726b9c540ebf0a74'/>
<id>bec81db1c28388337e5abe67726b9c540ebf0a74</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-21718 Assertion in wsrep::client_state::before_command().</title>
<updated>2020-07-24T10:26:21+00:00</updated>
<author>
<name>Teemu Ollakka</name>
<email>teemu.ollakka@galeracluster.com</email>
</author>
<published>2020-07-23T20:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=1e2a4ed7ed41f3f6900e164dfad38c95d2af8b7b'/>
<id>1e2a4ed7ed41f3f6900e164dfad38c95d2af8b7b</id>
<content type='text'>
An assertion

  `server_state_.rollback_mode() == wsrep::server_state::rm_async`

fired in before_command() when
- thread-handling was set to pool-of-threads and
- a BF abort happened between client session calls to
  wait_rollback_complete_and_acquire_ownership() and before_command().

This commit introduces a test case to reproduce the crash and
updates wsrep-lib submodule to fixed version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An assertion

  `server_state_.rollback_mode() == wsrep::server_state::rm_async`

fired in before_command() when
- thread-handling was set to pool-of-threads and
- a BF abort happened between client session calls to
  wait_rollback_complete_and_acquire_ownership() and before_command().

This commit introduces a test case to reproduce the crash and
updates wsrep-lib submodule to fixed version.
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence unnecessary warning.</title>
<updated>2020-07-24T09:05:39+00:00</updated>
<author>
<name>Jan Lindström</name>
<email>jan.lindstrom@mariadb.com</email>
</author>
<published>2020-07-24T08:56:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=134a6a8d2f953a5634897b420b1302d32b0e53a7'/>
<id>134a6a8d2f953a5634897b420b1302d32b0e53a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
