<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/sql/sql_show.h, branch bb_mdev14101</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-8931: (server part of) session state tracking</title>
<updated>2016-08-31T15:17:46+00:00</updated>
<author>
<name>Oleksandr Byelkin</name>
<email>sanja@mariadb.com</email>
</author>
<published>2016-04-15T18:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=c8948b0d0db4c182a744bc8bdbde7cbccff3d57d'/>
<id>c8948b0d0db4c182a744bc8bdbde7cbccff3d57d</id>
<content type='text'>
System variables tracking
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
System variables tracking
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed wrong counting of global Memory_used</title>
<updated>2016-04-28T10:39:55+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2016-04-28T08:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=b4ff64568c88ab3ce559e7bd39853d9cbf86704a'/>
<id>b4ff64568c88ab3ce559e7bd39853d9cbf86704a</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.0' into 10.1</title>
<updated>2016-02-23T20:35:05+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-02-23T20:35:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=a5679af1b13bb0c7c4eaa75f27551072dc18fb7d'/>
<id>a5679af1b13bb0c7c4eaa75f27551072dc18fb7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>disable SHOW I_S_table for built-in I_S tables</title>
<updated>2016-02-23T09:54:34+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-02-20T21:26:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=9214d043fd864f8ee96e34551e49a011e20ddef0'/>
<id>9214d043fd864f8ee96e34551e49a011e20ddef0</id>
<content type='text'>
This fixes
MDEV-9538 Server crashes in check_show_access on SHOW STATISTICS
MDEV-9539 Server crashes in make_columns_old_format on SHOW GEOMETRY_COLUMNS
MDEV-9540 SHOW SPATIAL_REF_SYS and SHOW SYSTEM_VARIABLES return empty results with numerous warnings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes
MDEV-9538 Server crashes in check_show_access on SHOW STATISTICS
MDEV-9539 Server crashes in make_columns_old_format on SHOW GEOMETRY_COLUMNS
MDEV-9540 SHOW SPATIAL_REF_SYS and SHOW SYSTEM_VARIABLES return empty results with numerous warnings
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '5.5' into 10.0</title>
<updated>2016-02-15T21:50:59+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-02-15T21:50:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=271fed41061e25faa47b7a28108cf101ebb3551d'/>
<id>271fed41061e25faa47b7a28108cf101ebb3551d</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 'mysql/5.5' into 5.5</title>
<updated>2016-02-09T10:27:40+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-02-09T10:27:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=f3444df4153ccbb9ea8db73c1b5de6d7aa6d1334'/>
<id>f3444df4153ccbb9ea8db73c1b5de6d7aa6d1334</id>
<content type='text'>
reverted about half of commits as either not applicable or
outright wrong
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
reverted about half of commits as either not applicable or
outright wrong
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-5273 Prepared statement doesn't return metadata after prepare.</title>
<updated>2016-01-28T07:12:03+00:00</updated>
<author>
<name>Alexey Botchkov</name>
<email>holyfoot@askmonty.org</email>
</author>
<published>2016-01-27T08:01:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=f3926cd18e2ba64f2643c6c4f6a981ed99868895'/>
<id>f3926cd18e2ba64f2643c6c4f6a981ed99868895</id>
<content type='text'>
  Fix for SHOW CREATE DATABASE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Fix for SHOW CREATE DATABASE.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-5273 Prepared statement doesn't return metadata after prepare.</title>
<updated>2016-01-26T19:18:13+00:00</updated>
<author>
<name>Alexey Botchkov</name>
<email>holyfoot@askmonty.org</email>
</author>
<published>2016-01-26T12:00:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=df2695495188b0c3459eabb40c8e390f56cddb27'/>
<id>df2695495188b0c3459eabb40c8e390f56cddb27</id>
<content type='text'>
        The metadata creation part of the mysqld_shww_create separated
        to be used on the mysqld_stmt_prepare stage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        The metadata creation part of the mysqld_shww_create separated
        to be used on the mysqld_stmt_prepare stage.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug#21205695	DROP TABLE MAY CAUSE SLAVES TO BREAK</title>
<updated>2015-12-01T10:08:11+00:00</updated>
<author>
<name>Venkatesh Duggirala</name>
<email>venkatesh.duggirala@oracle.com</email>
</author>
<published>2015-12-01T10:08:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=2735f0b92020c8ac4bd07d7ea843a0946b19e8ad'/>
<id>2735f0b92020c8ac4bd07d7ea843a0946b19e8ad</id>
<content type='text'>
    Problem:
    ========
    1) Drop table queries are re-generated by server
    before writing the events(queries) into binlog
    for various reasons. If table name/db name contains
    a non regular characters (like latin characters),
    the generated query is wrong. Hence it breaks the
    replication.
    2) In the edge case, when table name/db name contains
    64 characters, server is throwing an assert
    assert(M_TBLLEN &lt; 128)
    3) In the edge case, when db name contains 64 latin
    characters, binlog content is interpreted badly
    which is leading replication failure.

    Analysis &amp; Fix :
    ================
    1) Parser reads the table name from the query and converts
    it to standard charset(utf8) and stores it in table_name variable.
    When drop table query is regenerated with the same table_name
    variable, it should be converted back to the original charset
    from standard charset(utf8).

    2) Latin character takes two bytes for each character. Limit
    of the identifier is 64. SYSTEM_CHARSET_MBMAXLEN is set to '3'.
    So there is a possiblity that tablename/dbname contains 3 * 64.
    Hence assert is changed to
    (M_TBLLEN &lt;= NAME_CHAR_LEN*SYSTEM_CHARSET_MBMAXLEN)

    3) db_len in the binlog event header is taking 1 byte.
       db_len is ranged from 0 to 192 bytes (3 * 64).
       While reading the db_len from the event, server
       is casting to uint instead of uchar which is leading
       to bad db_len. This problem is fixed by changing the
       cast type to uchar.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    Problem:
    ========
    1) Drop table queries are re-generated by server
    before writing the events(queries) into binlog
    for various reasons. If table name/db name contains
    a non regular characters (like latin characters),
    the generated query is wrong. Hence it breaks the
    replication.
    2) In the edge case, when table name/db name contains
    64 characters, server is throwing an assert
    assert(M_TBLLEN &lt; 128)
    3) In the edge case, when db name contains 64 latin
    characters, binlog content is interpreted badly
    which is leading replication failure.

    Analysis &amp; Fix :
    ================
    1) Parser reads the table name from the query and converts
    it to standard charset(utf8) and stores it in table_name variable.
    When drop table query is regenerated with the same table_name
    variable, it should be converted back to the original charset
    from standard charset(utf8).

    2) Latin character takes two bytes for each character. Limit
    of the identifier is 64. SYSTEM_CHARSET_MBMAXLEN is set to '3'.
    So there is a possiblity that tablename/dbname contains 3 * 64.
    Hence assert is changed to
    (M_TBLLEN &lt;= NAME_CHAR_LEN*SYSTEM_CHARSET_MBMAXLEN)

    3) db_len in the binlog event header is taking 1 byte.
       db_len is ranged from 0 to 192 bytes (3 * 64).
       While reading the db_len from the event, server
       is casting to uint instead of uchar which is leading
       to bad db_len. This problem is fixed by changing the
       cast type to uchar.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-8010 - Avoid sql_alloc() in Items (Patch #1)</title>
<updated>2015-08-21T06:40:39+00:00</updated>
<author>
<name>Sergey Vojtovich</name>
<email>svoj@mariadb.org</email>
</author>
<published>2015-08-11T07:18:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=31e365efae28ba3208e80511c4d18fe11a79541a'/>
<id>31e365efae28ba3208e80511c4d18fe11a79541a</id>
<content type='text'>
Added mandatory thd parameter to Item (and all derivative classes) constructor.
Added thd parameter to all routines that may create items.
Also removed "current_thd" from Item::Item. This reduced number of
pthread_getspecific() calls from 290 to 177 per OLTP RO transaction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added mandatory thd parameter to Item (and all derivative classes) constructor.
Added thd parameter to all routines that may create items.
Also removed "current_thd" from Item::Item. This reduced number of
pthread_getspecific() calls from 290 to 177 per OLTP RO transaction.
</pre>
</div>
</content>
</entry>
</feed>
