- 05 Apr, 2017 40 commits
-
-
halfspawn authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
This is covered in mysql-test/t/variables.test. There is no sense to test this for every individual variables. This is to reduce the coming soon patch for ROW-type routine variables, which will change the error from ER_PARSE_ERROR to a new error "unknown structured variable".
-
Alexander Barkov authored
-
Alexander Barkov authored
Now when sql_mode=ORACLE, the concatenation operator || treats NULLs as empty strings. Based on the contributed patch from Jérôme Brauge.
-
Alexander Barkov authored
This fixes compat/oracle.sp test failure in release builds.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
Part 2: Moving the part of Sql_condition that contain condition items (such as m_class_origin, m_cursor_name, etc) into a separate class Sql_condition_items. This allows to remove duplicate code in different Sql_condition constructors. Also, introducing new Sql_condition constructors and removing the method Sql_condition::set(). All code sequences that called an Sql_condition constructor followed by Sql_condition::set() are now replaced to the new constructor calls. This gives light performance improvement, as the relevant members are now initialized only one time.
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
An additional change for "Part 9: EXCEPTION handlers" This construct: EXCEPTION WHEN OTHERS THEN ...; now catches warning-alike conditions, e.g. NO_DATA_FOUND.
-
Alexander Barkov authored
MDEV-10867 PREPARE..EXECUTE is not consistent about non-ASCII characters Adding Oracle specific tests
-
Alexander Barkov authored
A fix for MDEV-10411 Providing compatibility for basic PL/SQL constructs (Part 6: Assignment operator) Fixed that a crash in this script: SET sql_mode=ORACLE; max_sort_length:= 1024;
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
Fixed that EXPLAIN EXTENDED erroneously returned "SQL%%ROWCOUNT" instead of "SQL%ROWCOUNT"
-
Alexander Barkov authored
Adding Oracle-specific tests for stored functions as EXECUTE..USING parameters.
-
Alexander Barkov authored
Adding Oracle specific tests
-
Alexander Barkov authored
-
Alexander Barkov authored
-
Alexander Barkov authored
Adding Oracle specific tests
-
Alexander Barkov authored
Adding the Oracle style DECODE function: DECODE(operand, search, result [, search, result ...] [, default_result])
-
Alexander Barkov authored
MDEV-10596 Allow VARCHAR and VARCHAR2 without length as a data type of routine parameters and in RETURN clause
-
Alexander Barkov authored
-
Alexander Barkov authored
The crash happened because of a wrong reset_lex() .. restore_lex() sequence. The Item in WHERE clause and the corresponding sp_instr_jump_if_not() were erroneously created using different LEX.
-
Alexander Barkov authored
This is a fix for "MDEV-10580 sql_mode=ORACLE: FOR loop statement" The tokenizer now treats digits followed by two dots (e.g. '1..') as an integer number '1' followed by DOT_DOT_SYM. Previously this sequence was treated as a double number '1.' followed by '.'.
-
Alexander Barkov authored
Fixed a crash when trying to use a FOR loop as a compound statement outside of an SP. A bug in 051e415d8a251bd70e9b73619dbcc40f3c65371d.
-
Alexander Barkov authored
Adding functions NVL() and NVL2().
-
Alexander Barkov authored
as this type of SHOW is only available in debug builds. A bug in b7af3e704dd7800638ef677e9d921ad3e467a9a6. All SHOW FUNCTION CODE queries should be in compat/oracle.sp-code.
-
Alexander Barkov authored
-
Alexander Barkov authored
Part 19: CONTINUE statement
-
Alexander Barkov authored
Fixed that the ITERATE statement inside a FOR LOOP statement did not increment the index variable before jumping to the beginning of the loop, which caused the loop to repeat endlessly.
-
Alexander Barkov authored
Adding labeled FOR LOOP
-
Alexander Barkov authored
Adding non-labeled FOR LOOP statement.
-
Alexander Barkov authored
from "const Lex_field_type_st &" to "const Column_definition &".
-