<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/sql/proxy_protocol.cc, branch bb-11.0-monty</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>perfschema memory related instrumentation changes</title>
<updated>2020-03-10T18:24:22+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2020-01-29T12:50:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=7c58e97bf6f80a251046c5b3e7bce826fe058bd6'/>
<id>7c58e97bf6f80a251046c5b3e7bce826fe058bd6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-19669 - fix matching CIDR address for proxy protocol.</title>
<updated>2019-11-27T19:50:06+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2019-11-27T19:44:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=584ffa02f1bef6931b3feb78559841ffe9c8600f'/>
<id>584ffa02f1bef6931b3feb78559841ffe9c8600f</id>
<content type='text'>
Prior to this fix, when matching addresses using mask,
extra bits could be used for  comparison, e.g to
match with "a.b.c.d/24" , 27 bits were compared rather than 24.

The patch fixes the calculation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this fix, when matching addresses using mask,
extra bits could be used for  comparison, e.g to
match with "a.b.c.d/24" , 27 bits were compared rather than 24.

The patch fixes the calculation.
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-15743 Avoid a PFS warning by shortening key name for proxy protocol rwlock</title>
<updated>2018-04-02T20:49:32+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2018-04-02T20:49:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=131ed6c27362aa6239f829d52cf37dce2bc0bae9'/>
<id>131ed6c27362aa6239f829d52cf37dce2bc0bae9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-15501 : Make `proxy_protocol_networks` variable read-write.</title>
<updated>2018-03-23T20:23:12+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2018-03-21T18:09:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=96ecf3ff23011ee7e8b92da5d9561d9cd7e75d53'/>
<id>96ecf3ff23011ee7e8b92da5d9561d9cd7e75d53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-15091 : Windows, 64bit: reenable and fix warning C4267 (conversion from 'size_t' to 'type', possible loss of data)</title>
<updated>2018-02-06T12:55:58+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2018-02-06T12:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=6c279ad6a71c63cb595fde7c951aadb31c3dbebc'/>
<id>6c279ad6a71c63cb595fde7c951aadb31c3dbebc</id>
<content type='text'>
Handle string length as size_t, consistently (almost always:))
Change function prototypes to accept size_t, where in the past
ulong or uint were used. change local/member variables to size_t
when appropriate.

This fix excludes rocksdb, spider,spider, sphinx and connect for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle string length as size_t, consistently (almost always:))
Change function prototypes to accept size_t, where in the past
ulong or uint were used. change local/member variables to size_t
when appropriate.

This fix excludes rocksdb, spider,spider, sphinx and connect for now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed database, tablename and alias to be LEX_CSTRING</title>
<updated>2018-01-30T19:33:55+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2018-01-07T16:03:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=a7e352b54ddfaf91c92951d605cb02a4ffd2676b'/>
<id>a7e352b54ddfaf91c92951d605cb02a4ffd2676b</id>
<content type='text'>
This was done in, among other things:
- thd-&gt;db and thd-&gt;db_length
- TABLE_LIST tablename, db, alias and schema_name
- Audit plugin database name
- lex-&gt;db
- All db and table names in Alter_table_ctx
- st_select_lex db

Other things:
- Changed a lot of functions to take const LEX_CSTRING* as argument
  for db, table_name and alias. See init_one_table() as an example.
- Changed some function arguments from LEX_CSTRING to const LEX_CSTRING
- Changed some lists from LEX_STRING to LEX_CSTRING
- threads_mysql.result changed because process list_db wasn't always
  correctly updated
- New append_identifier() function that takes LEX_CSTRING* as arguments
- Added new element tmp_buff to Alter_table_ctx to separate temp name
  handling from temporary space
- Ensure we store the length after my_casedn_str() of table/db names
- Removed not used version of rename_table_in_stat_tables()
- Changed Natural_join_column::table_name and db_name() to never return
  NULL (used for print)
- thd-&gt;get_db() now returns db as a printable string (thd-&gt;db.str or "")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was done in, among other things:
- thd-&gt;db and thd-&gt;db_length
- TABLE_LIST tablename, db, alias and schema_name
- Audit plugin database name
- lex-&gt;db
- All db and table names in Alter_table_ctx
- st_select_lex db

Other things:
- Changed a lot of functions to take const LEX_CSTRING* as argument
  for db, table_name and alias. See init_one_table() as an example.
- Changed some function arguments from LEX_CSTRING to const LEX_CSTRING
- Changed some lists from LEX_STRING to LEX_CSTRING
- threads_mysql.result changed because process list_db wasn't always
  correctly updated
- New append_identifier() function that takes LEX_CSTRING* as arguments
- Added new element tmp_buff to Alter_table_ctx to separate temp name
  handling from temporary space
- Ensure we store the length after my_casedn_str() of table/db names
- Removed not used version of rename_table_in_stat_tables()
- Changed Natural_join_column::table_name and db_name() to never return
  NULL (used for print)
- thd-&gt;get_db() now returns db as a printable string (thd-&gt;db.str or "")
</pre>
</div>
</content>
</entry>
<entry>
<title>fix compile errors</title>
<updated>2017-08-23T08:27:46+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2017-08-23T08:27:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=aaddac5cd7b23795ee617ee6f8b5613eec343e79'/>
<id>aaddac5cd7b23795ee617ee6f8b5613eec343e79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-11159	 Server proxy protocol support</title>
<updated>2017-08-22T19:08:38+00:00</updated>
<author>
<name>Vladislav Vaintroub</name>
<email>wlad@mariadb.com</email>
</author>
<published>2017-08-22T19:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=58cd69fc808cade5ec3183a56b9d16957f0da02c'/>
<id>58cd69fc808cade5ec3183a56b9d16957f0da02c</id>
<content type='text'>
accept proxy protocol header from client connections.
The new server variable 'proxy_protocol_networks' contains list
of networks from which proxy header is accepted.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
accept proxy protocol header from client connections.
The new server variable 'proxy_protocol_networks' contains list
of networks from which proxy header is accepted.
</pre>
</div>
</content>
</entry>
</feed>
