summaryrefslogtreecommitdiff
path: root/mysql-test/main/sp.result
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch bb-10.3-release into bb-10.4-releaseNikita Malyavin2021-05-051-0/+15
|\
| * Merge branch bb-10.2-release into bb-10.3-releaseNikita Malyavin2021-05-041-0/+15
| |
* | Merge 10.3 into 10.4Marko Mäkelä2020-12-011-1/+18
|\ \ | |/
| * Merge 10.2 into 10.3Marko Mäkelä2020-12-011-1/+18
| |
* | MDEV-23518 Syntax error in ond SP results in misleading message on SHOW ↵Oleksandr Byelkin2020-10-031-1/+5
| | | | | | | | | | | | CREATE PROCEDURE Add info to the error message how to get details about error which happened.
* | MDEV-21998: Server crashes in st_select_lex::add_table_to_list upon mix of ↵Oleksandr Byelkin2020-07-281-9/+9
| | | | | | | | | | | | | | KILL and sequences Continue support the hack of current select equal builtin select if selects stack is empty even after subselects.
* | Merge 10.3 into 10.4Marko Mäkelä2020-04-161-1/+1
|\ \ | |/ | | | | | | | | | | In main.index_merge_myisam we remove the test that was added in commit a2d24def8cc42d27c72d833abfb39ef24a2b96ba because it duplicates the test case that was added in commit 5af12e463549e4bbc2ce6ab720d78937d5e5db4e.
| * Merge 10.2 into 10.3Marko Mäkelä2020-04-151-1/+1
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-09-121-1/+1
|\ \ | |/
| * Merge 10.2 into 10.3Marko Mäkelä2019-09-111-1/+1
| |
* | Merge branch '10.3' into 10.4Sergei Golubchik2019-09-061-2/+8
|\ \ | |/
| * Merge branch '10.2' into 10.3Monty2019-09-031-2/+8
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-07-251-0/+14
|\ \ | |/
| * Merge 10.2 into 10.3Eugene Kosov2019-07-161-0/+14
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-06-191-0/+27
|\ \ | |/
| * MDEV-17363 - Compressed columns cannot be restored from dumpAlexander Barkov2019-06-181-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In collaboration with Sergey Vojtovich <svoj@mariadb.org> The COMPRESSED clause is now a part of the data type and goes immediately after the data type and length, but before the CHARACTER SET clause, and before column attributes such as DEFAULT, COLLATE, ON UPDATE, SYSTEM VERSIONING, engine specific column attributes. In the old reduction, the COMPRESSED clause was a column attribute. New syntax: <varchar or text data type> <length> <compression> <character set> <column attributes> <varbinary or blob data type> <length> <compression> <column attributes> New syntax examples: VARCHAR(1000) COMPRESSED CHARACTER SET latin1 DEFAULT '' BLOB COMPRESSED DEFAULT '' Deprecate syntax examples: VARCHAR(1000) CHARACTER SET latin1 COMPRESSED DEFAULT '' TEXT CHARACTER SET latin1 DEFAULT '' COMPRESSED VARBINARY(1000) DEFAULT '' COMPRESSED As a side effect: - COMPRESSED is not valid as an SP label name in SQL/PSM routines any more (but it's still valid as an SP label name in sql_mode=ORACLE) - COMPRESSED is now allowed in combination with GENERATED ALWAYS AS: TEXT COMPRESSED GENERATED ALWAYS AS REPEAT('a',1000)
* | MDEV-19637 Crash on an SP variable assignment to a wrong subselectAlexander Barkov2019-05-301-0/+15
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-04-251-1/+17
|\ \ | |/ | | | | | | In is_eits_usable(), we disable an assertion that fails due to MDEV-19334.
| * Merge 10.2 into 10.3Marko Mäkelä2019-04-251-0/+16
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-03-201-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | The MDEV-17262 commit 26432e49d37a37d09b862bb49a021e44bdf4789c was skipped. In Galera 4, the implementation would seem to require changes to the streaming replication. In the tests archive.rnd_pos main.profiling, disable_ps_protocol for SHOW STATUS and SHOW PROFILE commands until MDEV-18974 has been fixed.
| * Merge branch '10.2' into 10.3Sergei Golubchik2019-03-171-1/+1
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-03-061-0/+33
|\ \ | |/
| * Merge 10.2 into 10.3Marko Mäkelä2019-03-051-0/+33
| | | | | | | | | | | | FIXME: Properly resolve conflicts between MDEV-18883 and MDEV-7742/MDEV-8305, and record the correct result for main.log_slow
* | Merge 10.3 into 10.4Marko Mäkelä2019-01-061-0/+35
|\ \ | |/
| * MDEV-16036: Debug assertion failed in resignal on create temporary tableOleksandr Byelkin2018-12-201-0/+35
| | | | | | | | Reising condition on NOTW controlled by OPTION_SQL_NOTES.
* | Merge 10.3 into 10.4Marko Mäkelä2018-12-181-3/+3
|\ \ | |/
| * Merge 10.2 into 10.3Marko Mäkelä2018-12-181-3/+3
| |
* | Cleaned up some MTR testsMonty2018-12-091-1/+1
| | | | | | | | | | | | | | | | | | - Moved tests depending on utf8 characters from create to create_utf8 - Fixed some tests in create and sp that wrongly tried to create table from non existing table on existing table. In a later patch we may first check if table exists, in which case the error message would change. - Updated results for partition_debug_tokudb
* | MDEV-15253: Default optimizer setting changes for MariaDB 10.4Varun Gupta2018-12-091-0/+11
| | | | | | | | | | use_stat_tables= PREFERABLY optimizer_use_condition_selectivity= 4
* | MDEV-17928 Conversion from TIMESTAMP to VARCHAR SP variables does not work ↵Alexander Barkov2018-12-081-3/+3
| | | | | | | | well on fractional digits
* | Merge 10.3 into 10.4Marko Mäkelä2018-10-051-0/+17
|\ \ | |/
| * Merge branch '10.2' into 10.3Sergei Golubchik2018-09-281-0/+17
| |
* | MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operationsOleksandr Byelkin2018-07-041-50/+16
|/
* Merge 10.2 into 10.3Marko Mäkelä2018-06-181-0/+28
|
* Merge branch 'github/10.2' into 10.3Sergei Golubchik2018-05-221-0/+11
|
* MDEV-15957 Unexpected "Data too long" when doing CREATE..SELECT with stored funcAlexander Barkov2018-04-231-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems: 1. Unlike Item_field::fix_fields(), Item_sum_sp::fix_length_and_dec() and Item_func_sp::fix_length_and_dec() did not run the code which resided in adjust_max_effective_column_length(), therefore they did not extend max_length for the integer return data types from the user-specified length to the maximum length according to the data type capacity. 2. The code in adjust_max_effective_column_length() was not correct for TEXT data, because Field_blob::max_display_length() multiplies to mbmaxlen. So TEXT variants were unintentionally promoted to the next longer data type for multi-byte character sets: TINYTEXT->TEXT, TEXT->MEDIUMTEXT, MEDIUMTEXT->LONGTEXT. 3. Item_sum_sp::create_table_field_from_handler() Item_func_sp::create_table_field_from_handler() erroneously called tmp_table_field_from_field_type(), which converted VARCHAR(>512) to TEXT variants. So "CREATE..SELECT spfunc()" erroneously converted VARCHAR to TEXT. This was wrong, because stored functions have explicitly declared data types, which should be preserved. Solution: - Removing Type_std_attributes(const Field *) and using instead Type_std_attributes::set() in combination with field->type_str_attributes() all around the code, e.g.: Type_std_attributes::set(field->type_std_attributes()) These two ways of copying attributes from a Field to an Item duplicated each other, and were slightly different in how to mix max_length and mbmaxlen. - Removing adjust_max_effective_column_length() and fixing Field::type_std_attributes() to do all necessary type-specific calculations , so no further adjustments is needed. Field::type_std_attributes() is now called from all affected methods: Item_field::fix_fields() Item_sum_sp::fix_length_and_dec() Item_func_sp::fix_length_and_dec() This fixes the problem N1. - Making Field::type_std_attributes() virtual, to make sure that type-specific adjustments a properly done by individual Field_xxx classes. Implementing Field_blob::type_std_attributes() in the way that no TEXT promotion is done. This fixes the problem N2. - Fixing Item_sum_sp::create_table_field_from_handler() Item_func_sp::create_table_field_from_handler() to call create_table_field_from_handler() instead of tmp_table_field_from_field_type() to avoid VARCHAR->TEXT conversion on "CREATE..SELECT spfunc()". - Recording mysql-test/suite/compat/oracle/r/sp-param.result as "CREATE..SELECT spfunc()" now correctly preserve the data type as specified in the RETURNS clause. - Adding new tests
* Merge remote-tracking branch '10.2' into 10.3Vicențiu Ciorbaru2018-04-121-1/+1
|
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-0/+8573