An error occurred fetching the project authors.
  1. 11 Nov, 2007 1 commit
    • unknown's avatar
      Bug#31210 - INSERT DELAYED crashes server when used on · c9e0ea59
      unknown authored
                    partitioned table
        
      Post-pushbuild fix
        
      Pushbuild detected a new need for lex initialization in
      embedded server.
      
      Fixed test for INSERT DELAYED in partitions_hash.test so that
      it works with embedded server.
      
      
      libmysqld/lib_sql.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                        partitioned table
        Initialized lex for later use in open_table().
      mysql-test/r/partition_hash.result:
        Bug#31210 - INSERT DELAYED crashes server when used on
                        partitioned table
        Fixed test result for embedded server.
      mysql-test/t/partition_hash.test:
        Bug#31210 - INSERT DELAYED crashes server when used on
                        partitioned table
        Fixed test for embedded server.
      c9e0ea59
  2. 05 Nov, 2007 1 commit
    • unknown's avatar
      Bug#31210 - INSERT DELAYED crashes server when used on · af2160b6
      unknown authored
                  partitioned table
      
      Trying INSERT DELAYED on a partitioned table, that has not been
      used right before, crashes the server. When a table is used for
      select or update, it is kept open for some time. This period I
      mean with "right before".
      
      Information about partitioning of a table is stored in form of
      a string in the .frm file. Parsing of this string requires a
      correctly set up lexical analyzer (lex). The partitioning code
      uses a new temporary instance of a lex. But it does still refer
      to the previously active lex. The delayd insert thread does not
      initialize its lex though...
      
      Added initialization for thd->lex before open table in the delayed
      thread and at all other places where it is necessary to call
      lex_start() if all tables would be partitioned and need to parse
      the .frm file.
      
      
      mysql-test/r/partition_hash.result:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Added test result
      mysql-test/t/partition_hash.test:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Added test
      sql/event_scheduler.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/events.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/ha_ndbcluster_binlog.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/slave.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/sql_acl.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/sql_base.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Asserted that lex is initialized in open_table().
      sql/sql_connect.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/sql_insert.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Added initialization for thd->lex before open table.
      sql/sql_lex.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Added 'is_lex_started' to test if lex is initialized.
      sql/sql_lex.h:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Added 'is_lex_started' to test if lex is initialized.
      sql/sql_plugin.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/sql_servers.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/sql_udf.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      sql/table.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Asserted that lex is initialized in open_table_from_share().
      sql/tztime.cc:
        Bug#31210 - INSERT DELAYED crashes server when used on
                    partitioned table
        Initialized lex for later use in open_table().
      af2160b6
  3. 04 Apr, 2007 1 commit
  4. 02 Oct, 2006 1 commit
    • unknown's avatar
      BUG#18198: Partition function handling · 911f6b14
      unknown authored
      Fixes of after review fixes
      
      
      mysql-test/r/partition_hash.result:
        Fixed test cases
      mysql-test/r/partition_range.result:
        Fixed test cases
      mysql-test/t/partition_range.test:
        Fixed test cases
      sql/ha_ndbcluster.cc:
        Fixed error printout to avoid complex character set code in print_error
      sql/ha_partition.cc:
        Fixed error printout to avoid complex character set code in print_error
      sql/partition_info.cc:
        Fixed error printout to avoid complex character set code in print_error
      sql/partition_info.h:
        Fixed error printout to avoid complex character set code in print_error
      sql/sql_partition.cc:
        indendentation fix
      911f6b14
  5. 20 Jul, 2006 1 commit
    • unknown's avatar
      BUG20733: Bug in partition pruning with zerofill field · 8592305b
      unknown authored
      Problem was with handling NULL values in ranges
      
      
      mysql-test/r/partition_hash.result:
        New partition pruning test cases
      mysql-test/r/partition_list.result:
        New partition pruning test cases
      mysql-test/r/partition_pruning.result:
        New partition pruning test cases
      mysql-test/r/partition_range.result:
        New partition pruning test cases
      mysql-test/t/partition_hash.test:
        New partition pruning test cases
      mysql-test/t/partition_list.test:
        New partition pruning test cases
      mysql-test/t/partition_pruning.test:
        New partition pruning test cases
      mysql-test/t/partition_range.test:
        New partition pruning test cases
      sql/opt_range.cc:
        Added comment
      sql/sql_partition.cc:
        Partition pruning didn't handle ranges with NULL values in a proper manner
      8592305b
  6. 10 Apr, 2006 1 commit
  7. 30 Jan, 2006 1 commit
    • unknown's avatar
      BUG# 14524 - Partitions: crash if blackhole · e946f094
      unknown authored
      This bug was fixed through other patches.  This test case just shows 
      that it is fixed.
      
      
      mysql-test/r/partition_hash.result:
        result block for bug #14524
      mysql-test/t/partition_hash.test:
        test block for bug# 14524
      e946f094
  8. 07 Jan, 2006 1 commit
    • unknown's avatar
      Bug# 15968 - Partitions: crash when insert with f1 = -1 into partition by hash(f1) · ad24b032
      unknown authored
      fixed
      
      
      mysql-test/r/partition_hash.result:
        results for newly added test.
      mysql-test/t/partition_hash.test:
        test case for inserting a value into a hash that would generate a negative value
      sql/sql_partition.cc:
        fields that generate a negative value would also generate a negative
        part_id which doesn't index into the m_file array to well.
      ad24b032
  9. 18 Jul, 2005 1 commit