<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/sql/sys_vars.cc, branch 10.0-merge</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>Merge branch '5.5' into 10.0</title>
<updated>2017-06-28T08:10:31+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2017-06-28T08:10:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=a02ba9c1c96f8245b2fd5c8b555c74204af421e3'/>
<id>a02ba9c1c96f8245b2fd5c8b555c74204af421e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-13187 incorrect backslash parsing in clients</title>
<updated>2017-06-27T12:00:37+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2017-06-27T12:00:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=d5cd33450413816f8696125cd66c8393921e6267'/>
<id>d5cd33450413816f8696125cd66c8393921e6267</id>
<content type='text'>
cover ANSI_QUOTES and NO_BACKSLASH_ESCAPES in mysqltest
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cover ANSI_QUOTES and NO_BACKSLASH_ESCAPES in mysqltest
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-6262 analyze the coverity report on mariadb</title>
<updated>2017-05-19T18:26:56+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2017-05-17T13:16:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=7c03edf2fe66855a8ce8f2575c3aaf66af975377'/>
<id>7c03edf2fe66855a8ce8f2575c3aaf66af975377</id>
<content type='text'>
uploaded 10.0, analyzed everything with the Impact=High
(and a couple of Medium)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
uploaded 10.0, analyzed everything with the Impact=High
(and a couple of Medium)
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-12420 max_recursive_iterations did not prevent a stack-overflow and segfault</title>
<updated>2017-05-15T20:23:10+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2017-05-11T17:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=52aa200919b1fd9357c05bcdfc66a42e51f242b3'/>
<id>52aa200919b1fd9357c05bcdfc66a42e51f242b3</id>
<content type='text'>
post-review fixes
* move pcre-specific variable out of mysys
* don't use current_thd
* move a commonly used macro to my_sys.h
* remove new sysvar
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
post-review fixes
* move pcre-specific variable out of mysys
* don't use current_thd
* move a commonly used macro to my_sys.h
* remove new sysvar
</pre>
</div>
</content>
</entry>
<entry>
<title>WIP: global readonly variable pcre_frame_size</title>
<updated>2017-05-15T20:23:10+00:00</updated>
<author>
<name>Daniel Black</name>
<email>daniel.black@au.ibm.com</email>
</author>
<published>2017-04-18T07:20:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=602b5e4c498ad2e2d045adfa4fd1478ac437582a'/>
<id>602b5e4c498ad2e2d045adfa4fd1478ac437582a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-9573 'Stop slave' hangs on replication slave</title>
<updated>2017-02-28T15:10:46+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2017-01-29T20:10:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=e65f667bb60244610512efd7491fc77eccceb9db'/>
<id>e65f667bb60244610512efd7491fc77eccceb9db</id>
<content type='text'>
The reason for this is that stop slave takes LOCK_active_mi over the
whole operation while some slave operations will also need LOCK_active_mi
which causes deadlocks.

Fixed by introducing object counting for Master_info and not taking
LOCK_active_mi over stop slave or even stop_all_slaves()

Another benefit of this approach is that it allows:
- Multiple threads can run SHOW SLAVE STATUS at the same time
- START/STOP/RESET/SLAVE STATUS on a slave will not block other slaves
- Simpler interface for handling get_master_info()
- Added some missing unlock of 'log_lock' in error condtions
- Moved rpl_parallel_inactivate_pool(&amp;global_rpl_thread_pool) to end
  of stop_slave() to not have to use LOCK_active_mi inside
  terminate_slave_threads()
- Changed argument for remove_master_info() to Master_info, as we always
  have this available
- Fixed core dump when doing FLUSH TABLES WITH READ LOCK and parallel
  replication. Problem was that waiting for pause_for_ftwrl was not done
  when deleting rpt-&gt;current_owner after a force_abort.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reason for this is that stop slave takes LOCK_active_mi over the
whole operation while some slave operations will also need LOCK_active_mi
which causes deadlocks.

Fixed by introducing object counting for Master_info and not taking
LOCK_active_mi over stop slave or even stop_all_slaves()

Another benefit of this approach is that it allows:
- Multiple threads can run SHOW SLAVE STATUS at the same time
- START/STOP/RESET/SLAVE STATUS on a slave will not block other slaves
- Simpler interface for handling get_master_info()
- Added some missing unlock of 'log_lock' in error condtions
- Moved rpl_parallel_inactivate_pool(&amp;global_rpl_thread_pool) to end
  of stop_slave() to not have to use LOCK_active_mi inside
  terminate_slave_threads()
- Changed argument for remove_master_info() to Master_info, as we always
  have this available
- Fixed core dump when doing FLUSH TABLES WITH READ LOCK and parallel
  replication. Problem was that waiting for pause_for_ftwrl was not done
  when deleting rpt-&gt;current_owner after a force_abort.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/5.5' into 10.0</title>
<updated>2017-01-06T15:09:59+00:00</updated>
<author>
<name>vicentiu</name>
<email>vicentiu@mariadb.org</email>
</author>
<published>2017-01-06T15:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=e9aed131ead9e102c8948ebadc421960399722d4'/>
<id>e9aed131ead9e102c8948ebadc421960399722d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add an assert</title>
<updated>2016-12-22T11:49:37+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2016-12-22T10:13:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=e7d7910b7a926ccc6f5b8d73d55ac511f1c03c3d'/>
<id>e7d7910b7a926ccc6f5b8d73d55ac511f1c03c3d</id>
<content type='text'>
and use is_supported_parser_charset() instead of direct check
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and use is_supported_parser_charset() instead of direct check
</pre>
</div>
</content>
</entry>
<entry>
<title>Back-port Master_info::using_parallel() to 10.0.</title>
<updated>2016-11-15T22:00:11+00:00</updated>
<author>
<name>Kristian Nielsen</name>
<email>knielsen@knielsen-hq.org</email>
</author>
<published>2016-11-15T22:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=f1fcc1fc105ad0e329b8f6dd11923f99d6edd42b'/>
<id>f1fcc1fc105ad0e329b8f6dd11923f99d6edd42b</id>
<content type='text'>
This has no functional changes, but it helps avoid merge problems from 10.0
to 10.1. In 10.0, code that checks for parallel replication uses
opt_slave_parallel_threads &gt; 0, but this check needs to be
mi-&gt;using_parallel() in 10.1. By using the same check in 10.0 (with
unchanged semantics), merge problems to 10.1 are avoided.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This has no functional changes, but it helps avoid merge problems from 10.0
to 10.1. In 10.0, code that checks for parallel replication uses
opt_slave_parallel_threads &gt; 0, but this check needs to be
mi-&gt;using_parallel() in 10.1. By using the same check in 10.0 (with
unchanged semantics), merge problems to 10.1 are avoided.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-10563 Crash during shutdown in Master_info_index::any_slave_sql_running</title>
<updated>2016-08-23T18:24:36+00:00</updated>
<author>
<name>Vicențiu Ciorbaru</name>
<email>vicentiu@mariadb.org</email>
</author>
<published>2016-08-16T08:25:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=4eb898bb1663ab470a07e8419de4aa14b5afc667'/>
<id>4eb898bb1663ab470a07e8419de4aa14b5afc667</id>
<content type='text'>
In well defined C code, the "this" pointer is never NULL. Currently, we
were potentially dereferencing a NULL pointer (master_info_index). GCC v6
removes any "if (!this)" conditions as it assumes this is always a
non-null pointer. In order to prevent undefined behaviour, check the
pointer before dereferencing and remove the check within member
functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In well defined C code, the "this" pointer is never NULL. Currently, we
were potentially dereferencing a NULL pointer (master_info_index). GCC v6
removes any "if (!this)" conditions as it assumes this is always a
non-null pointer. In order to prevent undefined behaviour, check the
pointer before dereferencing and remove the check within member
functions.
</pre>
</div>
</content>
</entry>
</feed>
