An error occurred fetching the project authors.
  1. 05 May, 2017 2 commits
  2. 17 Mar, 2017 1 commit
  3. 13 Mar, 2017 1 commit
  4. 07 Mar, 2017 1 commit
    • Marko Mäkelä's avatar
      Fix many -Wconversion warnings. · 89d80c1b
      Marko Mäkelä authored
      Define my_thread_id as an unsigned type, to avoid mismatch with
      ulonglong.  Change some parameters to this type.
      
      Use size_t in a few more places.
      
      Declare many flag constants as unsigned to avoid sign mismatch
      when shifting bits or applying the unary ~ operator.
      
      When applying the unary ~ operator to enum constants, explictly
      cast the result to an unsigned type, because enum constants can
      be treated as signed.
      
      In InnoDB, change the source code line number parameters from
      ulint to unsigned type. Also, make some InnoDB functions return
      a narrower type (unsigned or uint32_t instead of ulint;
      bool instead of ibool).
      89d80c1b
  5. 10 Feb, 2017 1 commit
  6. 29 Nov, 2016 1 commit
  7. 24 Nov, 2016 1 commit
    • Lawrin Novitsky's avatar
      Made all capability bit constants to be ULL. All new MariaDB · e726ae6b
      Lawrin Novitsky authored
      capabilities(in upper 32bits) were sent as 0 on 32bit Windows. They were
      reset because CLIENT_SSL, CLIENT_COMPRESS and CLIENT_SSL_VERIFY_SERVER_CERT were defined as UL
      Plus MARIADB_CLIENT_STMT_BULK_OPERATIONS was defined as 1UL << 34, and that is undefined operation.
      e726ae6b
  8. 02 Nov, 2016 1 commit
  9. 31 Oct, 2016 1 commit
  10. 21 Oct, 2016 1 commit
  11. 19 Oct, 2016 1 commit
  12. 31 Aug, 2016 4 commits
  13. 29 Aug, 2016 1 commit
    • Monty's avatar
      Better SHOW PROCESSLIST for replication · 96e95b54
      Monty authored
      - When waiting for events, start time is now counted from start of wait
      - Instead of having "Connect" as "Command" for all replication threads we
        now have:
        - Slave_IO for Slave thread reading relay log
        - Slave_SQL for slave executing SQL commands or distribution queries to
          Slave workers
        - Slave_worker for slave threads executin SQL commands in parallel replication
      96e95b54
  14. 25 Aug, 2016 1 commit
  15. 21 Aug, 2016 1 commit
    • Monty's avatar
      Fixed "Packets out of order" warning message on stdout in clients, · 5932fa78
      Monty authored
      compiled for debugging, when the server goes down
      
      This happens in the following scenario:
      - Server gets a shutdown message
      - Servers sends error ER_CONNECTION_KILLED to the clients connection
      - The client sends a query to the server, before the server has time to
        close the connection to the client
      - Client reads the ER_CONNECTION_KILLED error message
      
      In the above case, the packet number for the reply is one less than
      what the client expected and the client prints "Packets out of order".
      
      Fixed the following way:
      - The client accepts now error packages with a packet number
        one less than expected.
      - To ensure that this issue can be detected early in my_real_read(), error
        messages sent to the client are not compressed, even when compressed protocol is used.
      5932fa78
  16. 19 Aug, 2016 2 commits
  17. 30 Jun, 2016 1 commit
    • Michael Widenius's avatar
      MDEV-7563 Support CHECK constraint as in (or close to) SQL Standard · db7edfed
      Michael Widenius authored
      MDEV-10134 Add full support for DEFAULT
      
      - Added support for using tables with MySQL 5.7 virtual fields,
        including MySQL 5.7 syntax
      - Better error messages also for old cases
      - CREATE ... SELECT now also updates timestamp columns
      - Blob can now have default values
      - Added new system variable "check_constraint_checks", to turn of
        CHECK constraint checking if needed.
      - Removed some engine independent tests in suite vcol to only test myisam
      - Moved some tests from 'include' to 't'. Should some day be done for all tests.
      - FRM version increased to 11 if one uses virtual fields or constraints
      - Changed to use a bitmap to check if a field has got a value, instead of
        setting HAS_EXPLICIT_VALUE bit in field flags
      - Expressions can now be up to 65K in total
      - Ensure we are not refering to uninitialized fields when handling virtual fields or defaults
      - Changed check_vcol_func_processor() to return a bitmap of used types
      - Had to change some functions that calculated cached value in fix_fields to do
        this in val() or getdate() instead.
      - store_now_in_TIME() now takes a THD argument
      - fill_record() now updates default values
      - Add a lookahead for NOT NULL, to be able to handle DEFAULT 1+1 NOT NULL
      - Automatically generate a name for constraints that doesn't have a name
      - Added support for ALTER TABLE DROP CONSTRAINT
      - Ensure that partition functions register virtual fields used. This fixes
        some bugs when using virtual fields in a partitioning function
      db7edfed
  18. 22 Jun, 2016 1 commit
    • Monty's avatar
      MDEV-10138 Support for decimals up to 38 digits · 34eb10e4
      Monty authored
      Decimals with float, double and decimal now works the following way:
      
      - DECIMAL_NOT_SPECIFIED is used when declaring DECIMALS without a firm number
        of decimals.  It's only used in asserts and my_decimal_int_part.
      - FLOATING_POINT_DECIMALS (31) is used to mark that a FLOAT or DOUBLE
        was defined without decimals. This is regarded as a floating point value.
      - Max decimals allowed for FLOAT and DOUBLE is FLOATING_POINT_DECIMALS-1
      - Clients assumes that float and double with decimals >= NOT_FIXED_DEC are
        floating point values (no decimals)
      - In the .frm decimals=FLOATING_POINT_DECIMALS are used to define
        floating point for float and double (31, like before)
      
      To ensure compatibility with old clients we do:
      
      - When storing float and double, we change NOT_FIXED_DEC to
        FLOATING_POINT_DECIMALS.
      - When creating fields from .frm we change for float and double
        FLOATING_POINT_DEC to NOT_FIXED_DEC
      - When sending definition for a float/decimal field without decimals
        to the client as part of a result set we convert NOT_FIXED_DEC to
        FLOATING_POINT_DECIMALS.
      - variance() and std() has changed to limit the decimals to
        FLOATING_POINT_DECIMALS -1 to not get the double converted floating point.
        (This was to preserve compatiblity)
      - FLOAT and DOUBLE still have 30 as max number of decimals.
      
      Bugs fixed:
      
      variance() printed more decimals than we support for double values.
      
      New behaviour:
      - Strings now have 38 decimals instead of 30 when converted to decimal
      - CREATE ... SELECT with a decimal with > 30 decimals will create a column
        with a smaller range than before as we are trying to preserve the number of
        decimals.
      
      
      Other changes
      - We are now using the obsolete bit FIELDFLAG_LEFT_FULLSCREEN to specify
        decimals > 31
      - NOT_FIXED_DEC is now declared in one place
      - For clients, NOT_FIXED_DEC is always 31 (to ensure compatibility).
        On the server NOT_FIXED_DEC is DECIMAL_NOT_SPECIFIED (39)
      - AUTO_SEC_PART_DIGITS is taken from DECIMAL_NOT_SPECIFIED
      - DOUBLE conversion functions are now using DECIMAL_NOT_SPECIFIED instead of
        NOT_FIXED_DEC
      34eb10e4
  19. 18 Mar, 2016 2 commits
  20. 02 Feb, 2016 1 commit
  21. 24 Nov, 2015 1 commit
  22. 19 Nov, 2015 1 commit
  23. 06 Sep, 2015 1 commit
    • Alexander Barkov's avatar
      A clean-up after the patch for MDEV-8747 and MDEV-8749: · e0df1160
      Alexander Barkov authored
      removing IMPOSSIBLE_RESULT from Item_result, as it's not
      needed any more. The fact that an Item is not in a comparison
      context is now always designated by IDENTITY_SUBST in Subst_constraint.
      Previously IMPOSSIBLE_RESULT and IDENTITY_SUBST co-existed but
      actually meant the same thing.
      e0df1160
  24. 01 Sep, 2015 1 commit
  25. 17 Feb, 2015 1 commit
  26. 11 Oct, 2014 1 commit
    • Sergei Golubchik's avatar
      SHOW and FLUSH for I_S tables. · db8af318
      Sergei Golubchik authored
      Extend existing plugins to support
      * SHOW QUERY_RESPONSE_TIME
      * FLUSH QUERY_RESPONSE_TIME
      * SHOW LOCALE
      
      move userstat tables to use the new API instead of
      hand-coded syntax
      db8af318
  27. 19 Jul, 2014 1 commit
    • Michael Widenius's avatar
      Fixed assert in perfschema/pfs.cc::start_idle_wait_v1 when using performance... · ff205b25
      Michael Widenius authored
      Fixed assert in perfschema/pfs.cc::start_idle_wait_v1 when using performance schema and big packets in debug version.
      
      The bug was that my_real_read() called net_before_header_psi() multiple times for long packets.
      Fixed by adding a flag when we are reading a header.
      Did also some cleanups to interface of my_net_read() to avoid unnecessary calls if performance schema is not used.
      
      - Added my_net_read_packet() as a replacement for my_net_read(). my_net_read() is still in the client library for old clients.
      - Removed THD->m_server_idle (not needed anymore as this is now given as argument to my_net_read_packet()
      - Added my_net_read_packet(), which is a new version of my_net_read() with a new parameter if we are doing a read for a new command from the server.
      - Added tests for compressed protocol and big packets
      
      
      
      
      
      include/mysql.h.pp:
        Added my_net_read_packet() as a replacement for my_net_read()
      include/mysql_com.h:
        Added my_net_read_packet() as a replacement for my_net_read()
      mysql-test/r/mysql_client_test_comp.result:
        New test
      mysql-test/t/mysql_client_test-master.opt:
        Added max_allowed_packet to be able to test big packets and packet size overflows.
      mysql-test/t/mysql_client_test_comp-master.opt:
        New test
      mysql-test/t/mysql_client_test_nonblock-master.opt:
        Added max_allowed_packet to be able to test big packets and packet size overflows.
      sql-common/client.c:
        Use my_net_read_packet()
      sql/mf_iocache.cc:
        Use my_net_read_packet()
      sql/mysqld.cc:
        Removed THD->m_server_idle (not needed anymore as this is now given as argument to my_net_read_packet()
      sql/net_serv.cc:
        Added argument to my_real_read() to indicte if we are reading the first block of the next statement and should call performance schema.
        Added 'compatibilty function' my_net_read().
        Added my_net_read_packet(), which is a new version of my_net_read() with a new parameter if we are doing a read for a new command from the server.
      sql/sql_class.cc:
        Removed m_server_idle (not needed anymore)
      sql/sql_class.h:
        Removed m_server_idle (not needed anymore)
      sql/sql_parse.cc:
        Removed m_server_idle (not needed anymore)
      tests/mysql_client_test.c:
        Added tests for compressed protocol and big packets
      ff205b25
  28. 04 Jul, 2014 1 commit
  29. 13 May, 2014 1 commit
  30. 09 Dec, 2013 1 commit
  31. 03 Oct, 2013 1 commit
  32. 16 Jul, 2013 1 commit
  33. 10 Jul, 2013 1 commit
    • Alexander Barkov's avatar
      Adding support for MySQL-5.6 temporal column types: · 5b0774ee
      Alexander Barkov authored
        TIME, DATETIME, TIMESTAMP
      
      
      added:
        mysql-test/r/type_temporal_mysql56.result
        mysql-test/std_data/mysql56datetime.MYD
        mysql-test/std_data/mysql56datetime.MYI
        mysql-test/std_data/mysql56datetime.frm
        mysql-test/std_data/mysql56time.MYD
        mysql-test/std_data/mysql56time.MYI
        mysql-test/std_data/mysql56time.frm
        mysql-test/std_data/mysql56timestamp.MYD
        mysql-test/std_data/mysql56timestamp.MYI
        mysql-test/std_data/mysql56timestamp.frm
        mysql-test/suite/rpl/r/rpl_temporal_mysql56.result
        mysql-test/suite/rpl/t/rpl_temporal_mysql56.test
        mysql-test/t/type_temporal_mysql56.test
        sql/compat56.cc
        sql/compat56.h
      modified:
        client/mysqlbinlog.cc
        include/my_time.h
        include/mysql.h.pp
        include/mysql_com.h
        mysql-test/r/statistics.result
        mysql-test/r/strict.result
        mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_innodb.result
        mysql-test/suite/binlog/r/binlog_mysqlbinlog_row_myisam.result
        sql-common/my_time.c
        sql/CMakeLists.txt
        sql/field.cc
        sql/field.h
        sql/item.cc
        sql/item_strfunc.cc
        sql/item_sum.cc
        sql/item_timefunc.cc
        sql/log_event.cc
        sql/opt_range.cc
        sql/opt_table_elimination.cc
        sql/protocol.cc
        sql/rpl_utility.cc
        sql/rpl_utility.h
        sql/sql_partition.cc
        sql/sql_prepare.cc
        sql/sql_select.cc
        sql/sql_table.cc
        sql/table.cc
        storage/perfschema/pfs_engine_table.cc
      5b0774ee
  34. 13 Jun, 2013 1 commit