1. 13 Nov, 2008 3 commits
    • Sergey Glukhov's avatar
      Bug#39955 SELECT on INFORMATION_SCHEMA.GLOBAL_VARIABLES takes too long · 53b30523
      Sergey Glukhov authored
      VARIABLE_VALUE field is decreased to 1024 symbols.
      (affected I_S tables: GLOBAL_VARIABLES, SESSION_VARIABLES,
       GLOBAL_STATUS, SESSION_STATUS).
      The only variable which can be longer than 1024 is
      init_connect. The variable will be truncated with warning.
      Additional fix:
      Added where condition filter which speed up queries which
      have where condition with expressions which use VARIABLE_NAME
      field.
      
      
      mysql-test/r/information_schema.result:
        test result
      mysql-test/r/show_check.result:
        result fix
      mysql-test/suite/funcs_1/r/is_columns_is.result:
        result fix
      mysql-test/t/information_schema.test:
        test case
      sql/sql_show.cc:
        VARIABLE_VALUE field is decreased to 1024 symbols.
        (affected I_S tables: GLOBAL_VARIABLES, SESSION_VARIABLES,
         GLOBAL_STATUS, SESSION_STATUS).
        The only variable which can be longer than 1024 is
        init_connect. The variable will be truncated with warning.
        Additional fix:
        Added where condition filter which speed up queries which
        have where condition with expressions which use VARIABLE_NAME
        field.
      53b30523
    • Sergey Glukhov's avatar
      Bug#35789 wrong datatypes for collation and charset columns in EVENTS, ROUTINES, TRIGGERS · 0dff7272
      Sergey Glukhov authored
      changed 'charset', 'collation' field length from 64 to MY_CS_NAME_SIZE(32)
      in tables:
      SCHEMATA, TABLES, COLUMNS, CHARACTER_SETS,
      COLLATIONS, COLLATION_CHARACTER_SET_APPLICABILITY
      
      
      mysql-test/r/create.result:
        result fix
      mysql-test/r/information_schema.result:
        result fix
      mysql-test/r/show_check.result:
        result fix
      mysql-test/suite/funcs_1/r/is_character_sets.result:
        result fix
      mysql-test/suite/funcs_1/r/is_collation_character_set_applicability.result:
        result fix
      mysql-test/suite/funcs_1/r/is_collations.result:
        result fix
      mysql-test/suite/funcs_1/r/is_columns.result:
        result fix
      mysql-test/suite/funcs_1/r/is_columns_is.result:
        result fix
      mysql-test/suite/funcs_1/r/is_routines.result:
        result fix
      mysql-test/suite/funcs_1/r/is_schemata.result:
        result fix
      mysql-test/suite/funcs_1/r/is_tables.result:
        result fix
      sql/sql_show.cc:
        changed 'charset', 'collation' field length from 64 to MY_CS_NAME_SIZE(32)
        in tables:
        SCHEMATA, TABLES, COLUMNS, CHARACTER_SETS,
        COLLATIONS, COLLATION_CHARACTER_SET_APPLICABILITY
        additional fix: ROUTINES.SQL_MODE is changed to be VARCHAR(addon for Bug#29153)
      0dff7272
    • Sergey Glukhov's avatar
      Bug#36035 I_S.TABLES.UPDATE_TIME not being set on INSERT for Windows · 029def6c
      Sergey Glukhov authored
      added FLUSH TABLES after INSERT because UPDATE_TIME is updated with delay
      on Win.
      
      
      mysql-test/suite/funcs_1/datadict/is_tables.inc:
        test fix
      mysql-test/suite/funcs_1/r/is_tables.result:
        result fix
      029def6c
  2. 10 Nov, 2008 2 commits
  3. 07 Nov, 2008 3 commits
  4. 06 Nov, 2008 17 commits
  5. 05 Nov, 2008 7 commits
    • Mattias Jonsson's avatar
      f8588915
    • Evgeny Potemkin's avatar
      Merged fix for the bug#37870. · 8d75510e
      Evgeny Potemkin authored
      8d75510e
    • Mattias Jonsson's avatar
      merge · 8a544f2a
      Mattias Jonsson authored
      8a544f2a
    • Mattias Jonsson's avatar
      merge · 7c5d066b
      Mattias Jonsson authored
      7c5d066b
    • Evgeny Potemkin's avatar
      Bug#37870: Usage of uninitialized value caused failed assertion. · 3c49cb07
      Evgeny Potemkin authored
      The convert_constant_item function converts a constant to integer using
      field for condition like 'field = a_constant'. In some cases the
      convert_constant_item is called for a subquery when outer select is already
      being executed, so convert_constant_item saves field's value to prevent its
      corruption. For EXPLAIN and at the prepare phase field's value isn't
      initialized yet, thus when convert_constant_item tries to restore saved
      value it fails assertion.
      
      Now the convert_constant_item doesn't save/restore field's value if it's
      haven't been read yet. Outer constant values are always saved.
      
      mysql-test/r/explain.result:
        Added a test case for the bug#37870.
      mysql-test/t/explain.test:
        Added a test case for the bug#37870.
      sql/item_cmpfunc.cc:
        Bug#37870: Usage of uninitialized value caused failed assertion.
        Now the convert_constant_item doesn't save/restore field's value if it's
        haven't been read yet. Outer constant values are always saved.
      3c49cb07
    • Mattias Jonsson's avatar
      merge · 74f678d8
      Mattias Jonsson authored
      74f678d8
    • Mattias Jonsson's avatar
      Bug#40494: MYSQL server crashes on range access with partitioning and · bcd88c9f
      Mattias Jonsson authored
      order by
      
      Problem was that the first index read was unordered,
      and the next was ordered, resulting in use of
      uninitialized data.
      
      Solution was to use the correct variable to see if
      the 'next' call should be ordered or not.
      
      mysql-test/r/partition.result:
        Bug#40494: MYSQL server crashes on range access with
        partitioning and order by
        
        Added test case for the bug.
      mysql-test/t/partition.test:
        Bug#40494: MYSQL server crashes on range access with
        partitioning and order by
        
        Added test case for the bug.
      sql/ha_partition.cc:
        Bug#40494: MYSQL server crashes on range access with
        partitioning and order by
        
        Used the wrong variable to decide to continue with
        ordered or unordered scan.
      bcd88c9f
  6. 04 Nov, 2008 8 commits
    • Matthias Leich's avatar
      Merge of bug fix into actual tree · 50baafeb
      Matthias Leich authored
      50baafeb
    • Joerg Bruehe's avatar
      12ad7f3b
    • Mattias Jonsson's avatar
      merge · c8ee385d
      Mattias Jonsson authored
      c8ee385d
    • Matthias Leich's avatar
      - Fix for Bug #39848, #39863, #39978, #39569 · d2603f9a
      Matthias Leich authored
        Bug#39848 events_bugs fails sporadically on pushbuild
                  (missing rows in table event_log)
           Details: Reimplement the subtest for BUG 28924
                    - check if the number of rows within the table
                      event_log changes but don't print rows
                      because the number varies depending on
                      load on testing box
                    - shift DROP USER befor DROP EVENT
                      = Subtest fits again to old bug
                    - remove no more needed comments + variables
        Bug#39863 events_bugs fails sporadically on pushbuild 
                  (extra processes in I_S.PROCESSLIST)
           Details: Abort with appropriate message to the protocol if
                    release_lock() does not has the intended effect.
                    This cannot prevent problems caused by the probably
                    buggy release_lock() but it reveals if we had a
                    problem in this area.
        Bug#39978 main.events_bugs does not clean up
           Detail: Restore global.event_scheduler = ON at end of test
        Bug#39569 events_bugs fails sporadically on pushbuild
                  (should have failed with errno 1539)
           Detail: Set $wait_timeout to 4 instead of 2
      - Fix two instabilities (result sets pulled from processlist in
        subtest for bug 16407) which were found during tests with high
        parallel I/O load
      - Minor improvements of formatting
        Details:
        - Add comments
        - Remove tabs and trailing blanks
        - Add line breaks for better readability
      d2603f9a
    • Andrei Elkin's avatar
      bug#38230 · c618c312
      Andrei Elkin authored
      updating two test results.
      
      mysql-test/suite/rpl/r/rpl_row_basic_2myisam.result:
        results changed.
      mysql-test/suite/rpl_ndb/r/rpl_row_basic_7ndb.result:
        results changed.
      c618c312
    • Kristofer Pettersson's avatar
      Automerge · 2b3fa955
      Kristofer Pettersson authored
      2b3fa955
    • Tatiana A. Nurnberg's avatar
      Bug#39117 "plugin_load" option not documented · 3b50efc3
      Tatiana A. Nurnberg authored
      correct text describing the --plugin-load option to mysqld
      
      sql/mysqld.cc:
        correct text describing the --plugin-load option to mysqld
      3b50efc3
    • Mattias Jonsson's avatar
      merge · 460407d3
      Mattias Jonsson authored
      460407d3