1. 03 Oct, 2005 1 commit
    • unknown's avatar
      Next big patch for loadable storage engines! · 5655d31d
      unknown authored
      Handlerton array is now created instead of using sys_table_types_st. All storage engines can now have inits and giant ifdef's are now gone for startup. No compeltely clean yet, handlertons will next be merged with sys_table_types. Federated and archive now have real cleanup if their inits fail. 
      
      
      sql/examples/ha_archive.cc:
        Modifications for new ha_init code. The init method now checks for errors and will not start up if the errors occur.
      sql/examples/ha_archive.h:
        Change for new init method.
      sql/examples/ha_example.cc:
        New handlerton pieces.
      sql/examples/ha_tina.cc:
        New handlerton pieces.
      sql/ha_berkeley.cc:
        New handlerton pieces, plus changes for ha_init changes. I'm not happy with our current "skip" setup.
      sql/ha_berkeley.h:
        Change in init return.
      sql/ha_blackhole.cc:
        Changes for new handlerton pieces.
      sql/ha_federated.cc:
        Changes for new handlerton and true cleanup code.
      sql/ha_heap.cc:
        Changes for new handlerton returns.
      sql/ha_innodb.cc:
        Changes for handlerton code.
      sql/ha_innodb.h:
        Change in init.
      sql/ha_myisam.cc:
        Changes for additional handlerton bits.
      sql/ha_myisammrg.cc:
        Changes for  new handlerton bits.
      sql/ha_ndbcluster.cc:
        Changes for new handlerton bits.
      sql/ha_ndbcluster.h:
        Changes for handlerton bits.
      sql/handler.cc:
        Changes for ditching show_table_type_st types, and collapsing it into a handlerton array. The ha_init now just loops through all handlers to init (much cleaner...). handlertons and sys_table_types should be merged next.
      sql/handler.h:
        Additions for sys_table_types
      sql/log.cc:
        Clean up of binlog for changes in handlerton
      sql/mysql_priv.h:
        Removed unneeded define for binlog_init
      sql/sql_show.cc:
        Changes for change in handlerton to sys_table_types
      5655d31d
  2. 27 Sep, 2005 17 commits
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · a5dd3d5d
      unknown authored
      into  krsna.patg.net:/home/patg/mysql-5.0
      
      
      a5dd3d5d
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0 · 68985389
      unknown authored
      into  mysql.com:/home/mysql_src/mysql-5.0
      
      
      68985389
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · ab00d873
      unknown authored
      into  krsna.patg.net:/home/patg/mysql-5.0
      
      
      ab00d873
    • unknown's avatar
      BUG #7815 - Post-review fixes required for push. · 13651fa5
      unknown authored
      
      client/mysqldump.c:
        BUG #7815
        
        Pre-push fixes requested per Sergei's review.
      13651fa5
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 6c2dad0d
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-2
      
      
      6c2dad0d
    • unknown's avatar
      Fix for BUG#13527 "mysql-test-run.pl truncates var/log/*.err several times during one testsuit run" · b09b762f
      unknown authored
      
      mysql-test/mysql-test-run.pl:
        .err files of the mysqld servers should be appended to, not reset every time we restart
        the mysqlds during the testsuite.
      b09b762f
    • unknown's avatar
      Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0 · fe3e77d8
      unknown authored
      into  127.(none):/home/osku/mysql/5.0/clean
      
      
      fe3e77d8
    • unknown's avatar
      Merge akopytov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6fa0ed40
      unknown authored
      into polly.local:/home/kaa/src/mysql-5.0
      
      
      6fa0ed40
    • unknown's avatar
      Fix for bug #13367, post-review changes · 912317f3
      unknown authored
      912317f3
    • unknown's avatar
      Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0 · c6240dcd
      unknown authored
      into  127.(none):/home/osku/mysql/5.0/clean
      
      
      c6240dcd
    • unknown's avatar
      InnoDB: Fix compile warning. · bb292ca1
      unknown authored
      
      innobase/include/trx0trx.h:
        Change trx_set_detailed_error's second argument to const char*.
      innobase/trx/trx0trx.c:
        Change trx_set_detailed_error's second argument to const char*.
      bb292ca1
    • unknown's avatar
      item.cc: · d7e4e1a5
      unknown authored
        Fixed bug #13410.
        Fixed name resolution for qualified reference to a view column
        in the HAVING clause.
      view.result, view.test:
        Added a test case for bug #13410.
      
      
      mysql-test/t/view.test:
        Added a test case for bug #13410.
      mysql-test/r/view.result:
        Added a test case for bug #13410.
      sql/item.cc:
        Fixed bug #13410.
        Fixed name resolution for qualified reference to a view column
        in the HAVING clause.
      d7e4e1a5
    • unknown's avatar
      portability.h: · 706731cf
      unknown authored
        Define SHUT_RDWR for OpenServer 5
      
      
      server-tools/instance-manager/portability.h:
        Define SHUT_RDWR for OpenServer 5
      706731cf
    • unknown's avatar
      BUG #7815 · f0a9ad91
      unknown authored
      Changes per serg to http://lists.mysql.com/internals/30281
      
      Re-enabled --delayed-insert
      
      
      client/mysqldump.c:
        BUG #7815 
        
        Changes per serg on patch: http://lists.mysql.com/internals/30281
        
        1. Re-enabled --delayed-insert
             - modified options, removed code that was in place until bug was 
               fixed    
        2. Moved the call to get_table_structure to dump_table 
          - Use added 'ignore_flag' variable to determine what exactly is
            being ignored - whole table or just delayed insert ability
        3. Changed return type of ignore_table to char with byte value that
           determines what exactly is being ignored - the whole table, or
           delayed inserts
        4. Added ignore_table flags IGNORE_DATA and IGNORE_INSERT_DELAYED
        5. Added logic in get_table_structure to not append INSERT data text
           if the table's data isn't going to be dumped because the return
           value from ignore_table is IGNORE_DATA
        6. Changed the name of numFields to numfields. Studly caps aren't
           consistent with the rest of the code!
        7. Added inclusive list to check_if_ignore_table to set the flag to
           IGNORE_INSERT_DELAYED if the table type doesn't support delayed
           inserts.
        8. More documentation
      mysql-test/r/mysqldump.result:
        BUG #7815 new results
      mysql-test/r/mysqldump-max.result:
        BUG #7815
        
        New test results
      mysql-test/t/mysqldump-max.test:
        BUG #7815
        New test for testing if insert delayed is applied to tables that support
        it in mysqldump, but only if all storage engines in test have been compiled
        in
      f0a9ad91
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 2cd3fd41
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-5.0-2
      
      
      2cd3fd41
    • unknown's avatar
      sql_base.cc, item.cc: · f6a552b1
      unknown authored
        Fixed bug #13411.
        Fixed name resolution for non-qualified reference to a view column
        in the HAVING clause.
      view.result, view.test:
        Added a test case for bug #13411.
      
      
      mysql-test/t/view.test:
        Added a test case for bug #13411.
      mysql-test/r/view.result:
        Added a test case for bug #13411.
      sql/item.cc:
        Fixed bug #13411.
        Fixed name resolution for non-qualified reference to a view column
        in the HAVING clause.
      sql/sql_base.cc:
        Fixed bug #13411.
        Fixed name resolution for non-qualified reference to a view column
        in the HAVING clause.
      f6a552b1
    • unknown's avatar
      BUG #13511 · 7a19e76c
      unknown authored
      Fixed SETUP.sh to not overwrite prefix_configs, making 'make install' 
      install in "/"
      
      
      BUILD/SETUP.sh:
        BUG #13511
        
        test -n is for testing if a FILE is zero length! Plus, if the value is zero,
        we don't want to set it to that value, we want to leave it as it was 
        already set. We _want_ to set it _if_ it is _not_ zero. Changed to "! -z",
        which is for testing strings.
      7a19e76c
  3. 26 Sep, 2005 10 commits
    • unknown's avatar
      Fixed BUG#6127: Stored procedure handlers within handlers don't work · ad8ff141
      unknown authored
          Replaced the dumb in-handler/not-in-handler check with a proper recursion
          check of handlers being executed.
          (Re-commit in a different tree, to make push possible.)
      
      
      mysql-test/r/sp.result:
        New test case for BUG#6127.
      mysql-test/t/sp.test:
        New test case for BUG#6127.
      sql/sp_head.cc:
        Replaced the setting of ctx->in_handler with a enter/exit handler methods.
      sql/sp_rcontext.cc:
        Replaced the boolean in_handler flag with a stack of handlers being exectuted, for proper recursion check.
      sql/sp_rcontext.h:
        Replaced the boolean in_handler flag with a stack of handlers being exectuted, for proper recursion check.
        (And added some comments in the sp_rcontext class.)
      ad8ff141
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 4aa9a107
      unknown authored
      into moonbone.local:/work/13424-bug-5.0-mysql
      
      
      4aa9a107
    • unknown's avatar
      Fix for bug #13367 · aeca681b
      unknown authored
      aeca681b
    • unknown's avatar
      Fix bug #13424 locking view with query cache enabled crashes server · 05c17f2a
      unknown authored
      For LOCK view is opened but not prepared thus leaving 'table' field set to
      NULL. invalidate_locked_for_write() wasn't checking that and call to 
      invalidate_table(NULL) crashes server.
      
      To invalidate_locked_for_write() added check that ensures that table is
      completely opened.
      
      
      sql/sql_cache.cc:
        Fix bug #13424 locking view with query cache enabled crashes server
        Added check that table is completely opened.
      mysql-test/t/view_query_cache.test:
        Test case for bug#13424 locking view with query cache enabled crashes server
      mysql-test/r/view_query_cache.result:
        Test case for bug#13424 locking view with query cache enabled crashes server
      05c17f2a
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 526a1a92
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-5000
      
      
      526a1a92
    • unknown's avatar
      Merge osalerma@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6f126ba4
      unknown authored
      into  127.(none):/home/osku/mysql/5.0/clean
      
      
      6f126ba4
    • unknown's avatar
      InnoDB: Handle temporary file creation failure more gracefully. · 3d23a234
      unknown authored
      
      innobase/row/row0ins.c:
        Don't assert on temp file creation failure.
      3d23a234
    • unknown's avatar
      Merging · cbfe4f59
      unknown authored
      cbfe4f59
    • unknown's avatar
      Merging · f6b2b7a4
      unknown authored
      
      sql/sql_parse.cc:
        Auto merged
      f6b2b7a4
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · e2829d41
      unknown authored
      into  mysql.com:/home/mydev/mysql-5.0-5000
      
      
      e2829d41
  4. 25 Sep, 2005 3 commits
  5. 24 Sep, 2005 3 commits
  6. 23 Sep, 2005 6 commits