<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/scripts/sys_schema, branch 11.1</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>MDEV-30205 Move /usr/share/mysql to /usr/share/mariadb</title>
<updated>2023-04-10T21:59:02+00:00</updated>
<author>
<name>Daniel Black</name>
<email>daniel@mariadb.org</email>
</author>
<published>2022-12-12T03:20:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=320a4b52c9c73a37b3553cec6a9d170924957c36'/>
<id>320a4b52c9c73a37b3553cec6a9d170924957c36</id>
<content type='text'>
These are mainly internal files so is a low impact change.

The few scripts/mysql*sql where renames to mariadb_* prefix
on the name.

mysql-test renamed to mariadb-test in the final packages
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are mainly internal files so is a low impact change.

The few scripts/mysql*sql where renames to mariadb_* prefix
on the name.

mysql-test renamed to mariadb-test in the final packages
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-19629 post-merge fixes</title>
<updated>2023-03-27T19:27:27+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2023-03-27T16:50:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=c2b69163934016afa4bb3b274cddaacec92fcb61'/>
<id>c2b69163934016afa4bb3b274cddaacec92fcb61</id>
<content type='text'>
* it isn't "pfs" function, don't call it Item_func_pfs,
  don't use item_pfsfunc.*
* tests don't depend on performance schema, put in the main suite
* inherit from Item_str_ascii_func
* use connection collation, not utf8mb3_general_ci
* set result length in fix_length_and_dec
* do not set maybe_null
* use my_snprintf() where possible
* don't set m_value.ptr on every invocation
* update sys schema to use the format_pico_time()
* len must be size_t (compilation error on Windows)
* the correct function name for double-&gt;double is fabs()
* drop volatile hack
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* it isn't "pfs" function, don't call it Item_func_pfs,
  don't use item_pfsfunc.*
* tests don't depend on performance schema, put in the main suite
* inherit from Item_str_ascii_func
* use connection collation, not utf8mb3_general_ci
* set result length in fix_length_and_dec
* do not set maybe_null
* use my_snprintf() where possible
* don't set m_value.ptr on every invocation
* update sys schema to use the format_pico_time()
* len must be size_t (compilation error on Windows)
* the correct function name for double-&gt;double is fabs()
* drop volatile hack
</pre>
</div>
</content>
</entry>
<entry>
<title>Added sys.optimizer_switch_on() and sys.optimizer_switch_off()</title>
<updated>2023-02-10T10:58:50+00:00</updated>
<author>
<name>Monty</name>
<email>monty@mariadb.org</email>
</author>
<published>2023-01-04T17:52:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=5de734da6bc003315ae148765d89e1a23d950df1'/>
<id>5de734da6bc003315ae148765d89e1a23d950df1</id>
<content type='text'>
These are helpful tools to quickly see what optimizer switch options
are on or off.  The different options are displayed alphabetically
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are helpful tools to quickly see what optimizer switch options
are on or off.  The different options are displayed alphabetically
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-29625 Some clients/scripts refer to old slow log variables</title>
<updated>2022-10-04T10:28:04+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2022-09-26T17:21:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=8759967d1c53603ee63b7e28bdf6c76b80635073'/>
<id>8759967d1c53603ee63b7e28bdf6c76b80635073</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-28632 Change default of explicit_defaults_for_timestamp to ON</title>
<updated>2022-08-10T13:03:22+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2022-06-12T20:01:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=45e0373a7818f137bfbbf5d354c78055cec6c82b'/>
<id>45e0373a7818f137bfbbf5d354c78055cec6c82b</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.6' into 10.7</title>
<updated>2022-05-18T08:34:38+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2022-05-18T08:34:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=99a433ed1cc2cebad93d6ece2b65691f2f49d3ea'/>
<id>99a433ed1cc2cebad93d6ece2b65691f2f49d3ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-28342: sys.create_synonym_db fails when a temporary table masks a base table</title>
<updated>2022-05-12T15:28:13+00:00</updated>
<author>
<name>anel</name>
<email>anel@mariadb.org</email>
</author>
<published>2022-04-22T13:34:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=c1063a1bed0008ca188ca3bba8c5125ea15cdc44'/>
<id>c1063a1bed0008ca188ca3bba8c5125ea15cdc44</id>
<content type='text'>
- This commit rely on MDEV-28391
- When temporary table shadows the base table, error is raised (it can be changed if needed),
  since the procedure is relying on creating the views and view cannot be created from the temporary table.

- Reviewed by: &lt;wlad@mariadb.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- This commit rely on MDEV-28391
- When temporary table shadows the base table, error is raised (it can be changed if needed),
  since the procedure is relying on creating the views and view cannot be created from the temporary table.

- Reviewed by: &lt;wlad@mariadb.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '10.6' into 10.7</title>
<updated>2022-05-11T09:25:33+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>serg@mariadb.org</email>
</author>
<published>2022-05-11T09:25:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=fd132be117e44318de04973e8bc825651b220792'/>
<id>fd132be117e44318de04973e8bc825651b220792</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-28391: table_exists procedure fails when arguments contain escaped backticks as an quoted identifiers</title>
<updated>2022-05-04T13:31:55+00:00</updated>
<author>
<name>Anel Husakovic</name>
<email>anel@mariadb.org</email>
</author>
<published>2022-05-04T09:58:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=06a4193cc30d679773aa93eb5be48395964d79f8'/>
<id>06a4193cc30d679773aa93eb5be48395964d79f8</id>
<content type='text'>
- When arguments to the procedure contain quote in the name, procedure fails with parsing error.
  The reason was because additional quoting is done when testing TEMPORARY table with the same name.
- Reviewed by: &lt;wlad@mariadb.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- When arguments to the procedure contain quote in the name, procedure fails with parsing error.
  The reason was because additional quoting is done when testing TEMPORARY table with the same name.
- Reviewed by: &lt;wlad@mariadb.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-28344:sys.ps_setup_save and dependent procedures fail with ER_ILLEGAL_HA_CREATE_OPTION</title>
<updated>2022-04-27T10:02:37+00:00</updated>
<author>
<name>anel</name>
<email>anel@mariadb.org</email>
</author>
<published>2022-04-22T14:23:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mariadb-git.git/commit/?id=56fd0d7b0613be431b287cff37f0f20d41f9f153'/>
<id>56fd0d7b0613be431b287cff37f0f20d41f9f153</id>
<content type='text'>
- The problem:
==============
- Commit f7216fa63d69448c3de1532a1dd197d0f28faefd created the check function for
  default temporary storage engine and in case the SE doesn't support temporary tables
  the error `ER_ILLEGAL_HA_CREATE_OPTION` is raised.
  Before that commit in such cases temporary tables were created by silently substituting
  default SE (RocksDB, Connect, PerfSchema) with MyISAM.
- The test `pr_diagnostics.test` was modified in that commit with raising the error,
  since I didn't check the root cause of test itself.

- The solution:
===============
- This commit update the root case: procedure `ps_setup_save()` that uses temporary
  tables created from performance schema tables definition using `LIKE`, what is not supported.
  The suggested fix is to use InnoDB table by using `AS SELECT`.
- Note that test `pr_diagnostics` will raise this error for `medium/full` third argument,
  but not for `current` value of third argument.
- Additionally this patch updates the test case of commit f7216fa, by adding missing relation
  between temporary tables and Performance schema in `perfschema.misc` test.

- Reviewed by: &lt;wlad@mariadb.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The problem:
==============
- Commit f7216fa63d69448c3de1532a1dd197d0f28faefd created the check function for
  default temporary storage engine and in case the SE doesn't support temporary tables
  the error `ER_ILLEGAL_HA_CREATE_OPTION` is raised.
  Before that commit in such cases temporary tables were created by silently substituting
  default SE (RocksDB, Connect, PerfSchema) with MyISAM.
- The test `pr_diagnostics.test` was modified in that commit with raising the error,
  since I didn't check the root cause of test itself.

- The solution:
===============
- This commit update the root case: procedure `ps_setup_save()` that uses temporary
  tables created from performance schema tables definition using `LIKE`, what is not supported.
  The suggested fix is to use InnoDB table by using `AS SELECT`.
- Note that test `pr_diagnostics` will raise this error for `medium/full` third argument,
  but not for `current` value of third argument.
- Additionally this patch updates the test case of commit f7216fa, by adding missing relation
  between temporary tables and Performance schema in `perfschema.misc` test.

- Reviewed by: &lt;wlad@mariadb.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
