maria:bb-10.3-MDEV-13024

Last commit made on 2018-04-26
Get this branch:
git clone -b bb-10.3-MDEV-13024 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.3-MDEV-13024
Repository:
lp:maria

Recent commits

35e9c93... by Oleksandr "Sanja" Byelkin

MDEV-13024: Server crashes in my_store_ptr upon DELETE from sequence in multi-table format

Make operation possition() dummy for sequences (should not be used really)

0bdc15d... by Oleksandr "Sanja" Byelkin

MDEV-15732: Assertion `next_free_value % real_increment == offset && next_free_value >= reserved_until' failed in sequence_definition::adjust_values upon SETVAL for sequence with INCREMENT 0

there was a problem with "next_free_value >= reserved_until" condition:
SEQUENCE::set_value handle next_free_value & reserved_until after adjust_values() call, so it is incorect to put assert on it in adjust_values()

7f89d9c... by Daniel Black <email address hidden>

tests: func_math, correct crc32 for mariadb

Differences:

MariaDB doesn't support a JSON type therefore the crc32 on those values
are different.

JSON extract syntax is different.

loaddata_utf8 has 3 duplicate lines removed compared to MySQL version.

1a011e5... by Shivashankar Nagaraj <email address hidden>

BUG#26495791: CONTRIBUTION: EXPAND TEST SUITE TO INCLUDE CRC32 TESTS

From mysql-server:
09fdfad50764ff6809e7dd5300e9ce1ab727b62a
e90ae1707e0ca46abc775d1680d1856c4be38b66

described in http://github.com/mysql/mysql-server/pull/157

Apart from external contribution I have added few more additional testcases
for CRC32() function, which are given below.

New Testcases added:
  ->Verify the crc value of various numeric and string data types(int,
      double, blob, text, json, enum, set)
  ->Verify the crc value when expressions having comparison_operators
      and logical_operators
  ->Verify the crc value for the expression having string_functions,
      arithmetic_functions, json_functions
  ->Verify the crc value for the expression having Geometry functions
      like POINT, LINESTRING, MULTILINESTRING, POLYGON, MULTIPOLYGON
  ->Verify the crc value generated from stored procedures, functions,
      triggers, prepare statement, views.

Fix:
Patch based on contribution by Daniel Black (Github user: grooverdan)

Reviewed-by: Anitha Gopi <email address hidden>
Reviewed-by: Srikanth B R <email address hidden>

RB: 17294

5bba69f... by Igor Babaev

Fixed a compiler error

b4ee699... by Oleksandr "Sanja" Byelkin

MDEV-11975: SQLCOM_PREPARE of EXPLAIN & ANALYZE statement do not return correct metadata info

Added metadate info after prepare EXPLAIN/ANALYZE.

0544d7c... by Oleksandr "Sanja" Byelkin

MDEV-13695: INTERSECT precedence is not in line with Oracle even in SQL_MODE=Oracle

Switch off automatic INTERSECT priority for ORACLE MODE

43c5dd0... by Oleksandr "Sanja" Byelkin

MDEV-15079: Parameter array operation inserts wrong values in autoincrement field if indicator was specified

test added (bug is fixed)

9477a2a... by Marko Mäkelä

Merge 10.2 into 10.3

e3fb8e9... by Marko Mäkelä

Remove trx_t::undo_rseg_space

The field undo_rseg_space was only used in a debug check.

trx_roll_check_undo_rec_ordering(): Remove.