All pages
Powered by GitBook
1 of 1

Loading...

MariaDB 10.3.0 Release Notes

The most recent release of MariaDB 10.3 is:MariaDB 10.3.39 Stable (GA) Download Now

Download | Release Notes | Changelog | Overview of 10.3

Release date: 16 Apr 2017

MariaDB 10.3 is the new development series of MariaDB. It is an evolution of MariaDB 10.2 with several entirely new features not found anywhere else.

MariaDB 10.3.0 is an Alpha release.

Do not use alpha releases in production!

For an overview of see the page.

Thanks, and enjoy MariaDB!

This is the first release in the series. Alpha releases are useful for testing and planning, but should not be used in production.

Notable additions in this release include:

  • -

  • and . These are both now and can no longer be used as an without being quoted -

Connections with idle transactions can be automatically killed after a specified time period by means of the , and system variables.

When running with , the server now understands a subset of Oracle's PL/SQL language instead of the traditional MariaDB syntax for stored routines. This work is in progress. See and for the current status and subtasks. The 10.3.0 release includes:

  • Providing compatibility for basic PL/SQL constructs -

  • %TYPE in variable declarations -

  • cursor%ROWTYPE in variable declarations -

10.3 continues refactoring for the data type API started in 10.2, which will make it possible to have user data type plugins. This work is still in progress (see for the current status and subtasks). Most of the task in this category do not change the server behavior. Some tasks implemented in 10.3.0 do have a good visible effect:

  • An expression of the data type is not allowed any more:

    • as an argument to functions ABS(), CEILING(), FLOOR(), ROUND(), SUM(), AVG(), VARIANCE(), CAST(AS..), as well as to the unary minus operator - , , ,

    • as an argument to hybrid functions such as CASE, COALESCE, IF which have other arguments of the numeric or temporal data types -

The following new system variables have been added:

The following new status variables have been added:

See the page for an overview of .

Do not use alpha releases in production!

For a complete list of changes made in , with links to detailed information on each push, see the .

This page is licensed: CC BY-SA / Gnu FDL

data type for variables - , ,
  • anchored data types for variables -

  • with parameters -

  • - ,

  • table%ROWTYPE in variable declarations -
  • FOR loop statement -

  • Implicit cursor FOR loop -

  • Explicit cursor FOR LOOP -

  • Cursors with parameters -

  • Implicit cursor FOR LOOP for cursors with parameters -

  • Explicit cursor attributes %ISOPEN, %ROWCOUNT, %FOUND, %NOTFOUND -

  • SQL%ROWCOUNT -

  • Variable declarations can go after cursor declarations -

  • Predefined exceptions: TOO_MANY_ROWS, NO_DATA_FOUND, DUP_VAL_ON_INDEX -

  • RAISE statement for predefined exceptions -

  • User defined exceptions -

  • SP control functions SQLCODE, SQLERRM -

  • Triggers: Understand :NEW.c1 and :OLD.c1 instead of NEW.c1 and OLD.c1 -

  • Dynamic SQL placeholders -

  • Allow VARCHAR and VARCHAR2 without length as a data type of routine parameters and in RETURN clause -

  • CAST(..AS VARCHAR(N)) -

  • Anonymous blocks -

  • GOTO statement -

  • Allow SELECT UNIQUE as a synonym for SELECT DISTINCT -

  • Do not require BEGIN..END in multi-statement exception handlers in THEN clause -

  • Understand optional routine name after the END keyword -

  • Inside routines the CALL keywoard is optional -

  • Make the concatenation operator ignore NULL arguments -

  • make the CONCAT function ignore NULL arguments -

  • TRUNCATE TABLE t1 [ {DROP|REUSE} STORAGE ] -

  • Providing compatibility for basic SQL data types -

  • as an argument to comparison operators in combination with numeric and temporal data types -

  • as an argument to operators +, -, *, /, MOD -

  • Wrong result for INSERT INTO t1 (datetime_field) VALUES (hybrid_function_of_TIME_data_type) -

  • Expect "Impossible where condition" for WHERE timestamp_field>=DATE_ADD(TIMESTAMP'9999-01-01 00:00:00',INTERVAL 1000 YEAR) -

  • SP variables of temporal data types do not replicate correctly -

  • Incorrect result for (time_expr BETWEEN timestamp_exp1 AND timestamp_expr2) -

  • Wrong result for CASE on a mixture of signed and unsigned expressions -

  • Wrong result for (int_expr IN (mixture of signed and unsigned expressions)) -

  • CASE with a mixture of TIME and DATETIME returns a wrong result -

  • SP variables of the SET data type erroneously allow values with comma -

  • mysql_list_field() returns wrong default values for VIEW -

  • Notable Changes

    Syntax / General Features

    Idle Transactions

    Compatibility

    Data Type API

    System Variables

    Status Variables

    Be notified of new MariaDB Server releases automatically by to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.

    MariaDB may already be included in your favorite OS distribution. More information can be found on the page.

    MariaDB 10.3
    What is MariaDB 10.3?
    alpha
    MariaDB 10.3
    MDEV-10139
    MDEV-10141
    sql_mode=ORACLE
    MDEV-10142
    MDEV-10764
    MDEV-10411
    MDEV-10577
    MDEV-12011
    MDEV-4912
    MDEV-12303
    MDEV-12239
    MDEV-12199
    MDEV-12001
    MDEV-11478
    What is MariaDB 10.3?
    MariaDB 10.3
    MariaDB 10.3.0
    changelog
    MDEV-10914
    MDEV-12007
    MDEV-12291
    MDEV-12461
    MDEV-12457
    MDEV-11379
    MDEV-11388
    MDEV-12133
    MDEV-10580
    MDEV-12098
    MDEV-10581
    MDEV-10597
    MDEV-12314
    MDEV-10582
    MDEV-10583
    MDEV-10598
    MDEV-10839
    MDEV-10840
    MDEV-10587
    MDEV-10578
    MDEV-10579
    MDEV-10801
    MDEV-10596
    MDEV-11275
    MDEV-10655
    MDEV-10697
    MDEV-12086
    MDEV-12088
    MDEV-12089
    MDEV-12107
    MDEV-11880
    MDEV-12143
    MDEV-10588
    MDEV-10343
    MDEV-11692
    MDEV-12238
    MDEV-11331
    MDEV-11333
    MDEV-11815
    MDEV-11482
    MDEV-11554
    MDEV-11497
    MDEV-11555
    MDEV-11146
    MDEV-11672
    subscribing
    spinner
    Distributions which Include MariaDB
    CREATE SEQUENCE
    DROP SEQUENCE
    INTERSECT
    EXCEPT
    reserved words
    identifier
    idle_transaction_timeout
    idle_readonly_transaction_timeout
    idle_readwrite_transaction_timeout
    GEOMETRY
    idle_readonly_transaction_timeout
    idle_readwrite_transaction_timeout
    idle_transaction_timeout
    Com_create_sequence
    Com_drop_sequence
    Handler_tmp_delete
    ROW
    stored procedure
    TYPE OF and ROW TYPE OF
    stored routine
    Cursors
    DDL Fast Fail - WAIT/NOWAIT