<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/sql/sql_admin.cc, branch bb-10.2-mdev7660</title>
<subtitle>github.com: MariaDB/server.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/'/>
<entry>
<title>MDEV-7901: re-implement analyze table for low impact</title>
<updated>2016-08-03T19:37:19+00:00</updated>
<author>
<name>Oleksandr Byelkin</name>
<email>sanja@mariadb.com</email>
</author>
<published>2016-08-01T17:24:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=86975e0492c03535271aea67e0b5e7e8fd0b1b78'/>
<id>86975e0492c03535271aea67e0b5e7e8fd0b1b78</id>
<content type='text'>
Table before collecting engine independent statistics now is reopened in read mode,
InnoDB allow write operations in this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Table before collecting engine independent statistics now is reopened in read mode,
InnoDB allow write operations in this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '10.1' into 10.2</title>
<updated>2016-06-30T14:38:05+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-06-30T14:38:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=932646b1ff6a8f5815a961340a9e1ee4702f5b44'/>
<id>932646b1ff6a8f5815a961340a9e1ee4702f5b44</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>various cleanups</title>
<updated>2016-06-30T09:43:02+00:00</updated>
<author>
<name>Michael Widenius</name>
<email>monty@mariadb.org</email>
</author>
<published>2016-06-25T18:55:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=2fe8dd0f90e2bbe0180e30c36ebc9132fcdd4b06'/>
<id>2fe8dd0f90e2bbe0180e30c36ebc9132fcdd4b06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-5535: Cannot reopen temporary table</title>
<updated>2016-06-10T22:39:43+00:00</updated>
<author>
<name>Nirbhay Choubey</name>
<email>nirbhay@mariadb.com</email>
</author>
<published>2016-06-10T20:19:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=7305be2f7e724e5e62961606794beab199d79045'/>
<id>7305be2f7e724e5e62961606794beab199d79045</id>
<content type='text'>
mysqld maintains a list of TABLE objects for all temporary
tables created within a session in THD. Here each table is
represented by a TABLE object.

A query referencing a particular temporary table for more
than once, however, failed with ER_CANT_REOPEN_TABLE error
because a TABLE_SHARE was allocate together with the TABLE,
so temporary tables always had only one TABLE per TABLE_SHARE.

This patch lift this restriction by separating TABLE and
TABLE_SHARE objects and storing TABLE_SHAREs for temporary
tables in a list in THD, and TABLEs in a list within their
respective TABLE_SHAREs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mysqld maintains a list of TABLE objects for all temporary
tables created within a session in THD. Here each table is
represented by a TABLE object.

A query referencing a particular temporary table for more
than once, however, failed with ER_CANT_REOPEN_TABLE error
because a TABLE_SHARE was allocate together with the TABLE,
so temporary tables always had only one TABLE per TABLE_SHARE.

This patch lift this restriction by separating TABLE and
TABLE_SHARE objects and storing TABLE_SHAREs for temporary
tables in a list in THD, and TABLEs in a list within their
respective TABLE_SHAREs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Code cleanups</title>
<updated>2016-06-10T13:37:12+00:00</updated>
<author>
<name>Sergey Vojtovich</name>
<email>svoj@mariadb.org</email>
</author>
<published>2016-06-10T13:37:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=7ecb304996df7d917ef1e857090a9a9c525160f1'/>
<id>7ecb304996df7d917ef1e857090a9a9c525160f1</id>
<content type='text'>
- unused TABLE_SHARE::deleting and TABLE_LIST::deleting flags were removed
- kill_delayed_threads_for_table() and intern_close_table() are now private
  methods of table cache
- removed free_share flag of closefrm(): it was never used for temporary
  tables and was rarely useful for regular tables
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- unused TABLE_SHARE::deleting and TABLE_LIST::deleting flags were removed
- kill_delayed_threads_for_table() and intern_close_table() are now private
  methods of table cache
- removed free_share flag of closefrm(): it was never used for temporary
  tables and was rarely useful for regular tables
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-9155 Enabling Defragmenting in 10.1.8 still causes OPTIMIZE TABLE to take metadatalocks</title>
<updated>2016-05-04T23:05:05+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-05-03T18:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=153259874bfb32c9d1f89a682b96897e32a61986'/>
<id>153259874bfb32c9d1f89a682b96897e32a61986</id>
<content type='text'>
take MDL_SHARED_WRITE instead of MDL_SHARED_NO_READ_WRITE
for OPTIMIZE TABLE. For engines that need a stronger
lock (like MyISAM), reopen the table with
MDL_SHARED_NO_READ_WRITE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
take MDL_SHARED_WRITE instead of MDL_SHARED_NO_READ_WRITE
for OPTIMIZE TABLE. For engines that need a stronger
lock (like MyISAM), reopen the table with
MDL_SHARED_NO_READ_WRITE.
</pre>
</div>
</content>
</entry>
<entry>
<title>comments</title>
<updated>2016-05-04T23:05:05+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-05-03T11:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=5ef0ce4131c9e5ebd2e09907a6a89b6c9d6c5afe'/>
<id>5ef0ce4131c9e5ebd2e09907a6a89b6c9d6c5afe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '10.1' into 10.2</title>
<updated>2016-03-23T21:36:46+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-03-23T21:36:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=f67a2211ec48b1b1502a7095c50cd9195d8235f8'/>
<id>f67a2211ec48b1b1502a7095c50cd9195d8235f8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-9590: Always print "Engine-independent statistic" warnings and might be filtering columns unintentionally from engines</title>
<updated>2016-03-21T10:48:04+00:00</updated>
<author>
<name>Oleksandr Byelkin</name>
<email>sanja@mariadb.com</email>
</author>
<published>2016-03-17T14:12:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=e8af217e16837000b8a3809e9fa48a5e75088cd0'/>
<id>e8af217e16837000b8a3809e9fa48a5e75088cd0</id>
<content type='text'>
Do not issue the warning in case we are not going to collect the statistics.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not issue the warning in case we are not going to collect the statistics.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-9488 - Table cache cleanups</title>
<updated>2016-02-26T14:35:14+00:00</updated>
<author>
<name>Sergey Vojtovich</name>
<email>svoj@mariadb.org</email>
</author>
<published>2015-12-29T10:58:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=c1d1c59888953d90ee2fb1ca32f9f44ca5b1055c'/>
<id>c1d1c59888953d90ee2fb1ca32f9f44ca5b1055c</id>
<content type='text'>
Remove tdc_acquire_share() helpers: they don't actually make things simpler.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove tdc_acquire_share() helpers: they don't actually make things simpler.
</pre>
</div>
</content>
</entry>
</feed>
