1. 27 Apr, 2004 1 commit
    • unknown's avatar
      After merge fixes · a3828081
      unknown authored
      Changed 'SHOW FIELD STATUS' to use 'Engine' instead of 'Type'
      
      
      client/client_priv.h:
        Added option 'create_options' for mysqldump
      client/mysqldump.c:
        Changed '--all' to '--create-options' as the old name was meaningless
      innobase/buf/buf0buf.c:
        After merge fixes
      innobase/buf/buf0lru.c:
        After merge fixes
      innobase/buf/buf0rea.c:
        After merge fixes
      innobase/dict/dict0load.c:
        After merge fixes
      innobase/fil/fil0fil.c:
        After merge fixes
      innobase/ibuf/ibuf0ibuf.c:
        After merge fixes
      innobase/include/fil0fil.h:
        After merge fixes
      innobase/include/row0mysql.h:
        After merge fixes
      innobase/include/ut0mem.h:
        After merge fixes
      innobase/log/log0recv.c:
        After merge fixes
      innobase/row/row0mysql.c:
        After merge fixes
      innobase/row/row0sel.c:
        After merge fixes
      innobase/srv/srv0start.c:
        After merge fixes
      innobase/sync/sync0rw.c:
        After merge fixes
      innobase/sync/sync0sync.c:
        After merge fixes
      myisam/ft_boolean_search.c:
        After merge fixes
      myisam/ft_nlq_search.c:
        After merge fixes
      mysql-test/r/mysqldump.result:
        After merge fixes
      mysql-test/t/mysqldump.test:
        Make result file smaller
        Some new tests
      sql/ha_innodb.cc:
        After merge fixes
      sql/set_var.cc:
        Removed compiler warning
      sql/slave.cc:
        After merge fixes
      sql/slave.h:
        After merge fixes
      sql/sql_show.cc:
        Type -> Engine
      a3828081
  2. 26 Apr, 2004 1 commit
    • unknown's avatar
      Merge with 4.0 · 1065f2bb
      unknown authored
      
      innobase/dict/dict0boot.c:
        Auto merged
      innobase/dict/dict0load.c:
        Auto merged
      innobase/dict/dict0mem.c:
        Auto merged
      innobase/fut/fut0lst.c:
        Auto merged
      innobase/include/buf0lru.h:
        Auto merged
      innobase/include/dict0mem.h:
        Auto merged
      innobase/include/fsp0fsp.h:
        Auto merged
      innobase/include/ha0ha.h:
        Auto merged
      innobase/include/ibuf0ibuf.h:
        Auto merged
      innobase/include/lock0lock.h:
        Auto merged
      innobase/include/log0log.h:
        Auto merged
      innobase/include/mem0pool.h:
        Auto merged
      innobase/include/mtr0mtr.h:
        Auto merged
      innobase/include/os0file.h:
        Auto merged
      innobase/include/rem0rec.h:
        Auto merged
      innobase/include/rem0rec.ic:
        Auto merged
      innobase/include/srv0srv.h:
        Auto merged
      innobase/include/sync0sync.h:
        Auto merged
      innobase/include/trx0sys.h:
        Auto merged
      innobase/include/ut0byte.h:
        Auto merged
      innobase/include/ut0ut.h:
        Auto merged
      innobase/mem/mem0pool.c:
        Auto merged
      innobase/mtr/mtr0mtr.c:
        Auto merged
      innobase/os/os0proc.c:
        Auto merged
      innobase/pars/lexyy.c:
        Auto merged
      innobase/pars/pars0opt.c:
        Auto merged
      innobase/row/row0ins.c:
        Auto merged
      innobase/row/row0purge.c:
        Auto merged
      innobase/row/row0uins.c:
        Auto merged
      innobase/row/row0umod.c:
        Auto merged
      innobase/row/row0undo.c:
        Auto merged
      innobase/row/row0upd.c:
        Auto merged
      innobase/trx/trx0purge.c:
        Auto merged
      innobase/trx/trx0roll.c:
        Auto merged
      innobase/trx/trx0sys.c:
        Auto merged
      innobase/trx/trx0undo.c:
        Auto merged
      innobase/ut/ut0byte.c:
        Auto merged
      pstack/bucomm.h:
        Auto merged
      pstack/budbg.h:
        Auto merged
      sql/item_sum.h:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      tests/insert_test.c:
        Auto merged
      mysql-test/t/func_group.test:
        Merge with 4.0
        Put 4.1 tests lasts
      sql/ha_innodb.cc:
        Merge with 4.0
        Added checking of results from my_malloc()
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      1065f2bb
  3. 12 Apr, 2004 1 commit
    • unknown's avatar
      Added missing return statement · 0ba6cb48
      unknown authored
      
      sql/sql_delete.cc:
        Added missing return
      sql/sql_lex.cc:
        Comment fixes
      sql/sql_parse.cc:
        Comment fixes
      0ba6cb48
  4. 11 Apr, 2004 2 commits
  5. 09 Apr, 2004 11 commits
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 19e4b52a
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps3-4.1
      
      
      sql/set_var.cc:
        Auto merged
      19e4b52a
    • unknown's avatar
      after review PS fixes · 8ab58393
      unknown authored
      
      sql/item_cmpfunc.cc:
        merged in one if
      sql/mysql_priv.h:
        removed unused paremeter of check_one_table_access
        declaration of new function for SP share code
      sql/set_var.cc:
        function descriotion added
        unneeded parantses removed
      sql/sql_acl.cc:
        new parameter to limit number of checked tables for check_grant
      sql/sql_acl.h:
        new parameter to limit number of checked tables for check_grant
      sql/sql_delete.cc:
        preparation moved in separate function
      sql/sql_insert.cc:
        preparation moved in separate function
      sql/sql_lex.cc:
        comment style fixed
        unneeded assignment removed
      sql/sql_parse.cc:
        new parameter to limit number of checked tables for check_grant
        table list manipulation removed (because of above)
        new precheck function
      sql/sql_prepare.cc:
        function rewrited to shere code with sql_prepare.cc
        flow control fixed
      sql/sql_show.cc:
        new parameter to limit number of checked tables for check_grant
      sql/sql_update.cc:
        preparation moved in separate function
      sql/table.h:
        flag renamed
      8ab58393
    • unknown's avatar
      ha_innodb.cc, sync0sync.h, sync0sync.c: · 6366a909
      unknown authored
        Use only noninlined InnoDB functions in ha_innodb.cc
      
      
      innobase/sync/sync0sync.c:
        Use only noninlined InnoDB functions in ha_innodb.cc
      innobase/include/sync0sync.h:
        Use only noninlined InnoDB functions in ha_innodb.cc
      sql/ha_innodb.cc:
        Use only noninlined InnoDB functions in ha_innodb.cc
      6366a909
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 5210b8c9
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      5210b8c9
    • unknown's avatar
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0 · dc51624d
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b3376
      
      
      dc51624d
    • unknown's avatar
    • unknown's avatar
      Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 · 2384ed8c
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/work-ps3-4.1
      
      
      2384ed8c
    • unknown's avatar
      complex join example for test suite · c3d172a6
      unknown authored
      c3d172a6
    • unknown's avatar
      - Merged in changes from mysqld_multi 2.6 · 9afbd246
      unknown authored
      - Changed reading of config file so that one can use a separate config
        file for [mysqld_multi] also. In other words --config-file=file will
        read group [mysqld_multi] from this file, earlier it wouldn't have.
      
      
      
      9afbd246
    • unknown's avatar
      Fixed problems noticed with last build · 1bbca272
      unknown authored
      
      mysql-test/r/lowercase_table2.result:
        Fixed typo
      mysql-test/r/repair.result:
        Portability fix (For OpenBSD)
      mysql-test/t/repair.test:
        Portability fix (For OpenBSD)
      mysys/my_thr_init.c:
        Fixed crasch with some tests on OpenBSD.
      sql/field.cc:
        Don't truncate big values (Caused a core dump on Linux-Alpha for big values)
      sql/log.cc:
        More DBUG
      1bbca272
  6. 08 Apr, 2004 11 commits
    • unknown's avatar
      merge · 38f6c83e
      unknown authored
      
      sql/mysql_priv.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      38f6c83e
    • unknown's avatar
      fixed subquery in the FROM clause with parameter (BUG#3020) · 52a62ce0
      unknown authored
      
      sql/sql_derived.cc:
        do not execute subqueries in the FROM clause in PS preparation
      tests/client_test.c:
        test of subquery in FROM clause with parameter
      52a62ce0
    • unknown's avatar
      Fix for BUG#3422 "In 3.23 -> 4.0 replication, slave segfault when replicating LOAD DATA INFILE": · 1f01df0e
      unknown authored
      as we transform the 3.23 Load_log_event into a 4.0 Create_file_log_event which is one
      byte longer, we need to increment event_len. The bug was that we did not increment it,
      so later in code the end 0 was not seen so there was for example a segfault in
      strlen(fname) because fname was not 0-terminated.
      Other problems remain in 3.23->4.0 replication of LOAD DATA INFILE but they are less serious:
      Exec_master_log_pos and Relay_log_space are incorrect. I'll document them.
      They are not fixable without significant code changes (if you fix those problems in 4.0,
      you get assertion failures somewhere else etc), * which are already done in 5.0.0 *.
      
      
      sql/slave.cc:
        In 3.23->4.0 replication of LOAD DATA INFILE:
        as we transform the 3.23 Load_log_event into a 4.0 Create_file_log_event which is one
        byte longer, we need to increment event_len.
        So we need to modify the event_len stored in the event.
        And we need to decrement event_len when we compute the offset in the master's binlog.
      1f01df0e
    • unknown's avatar
      always call start_bulk_insert, clarify this behaviour in comment block · e51447b1
      unknown authored
      change 10 to a #define'd constant
      
      
      myisam/myisamdef.h:
        use a constant with a difficult-to-type name instead of two-digit number :)
      sql/ha_myisam.cc:
        use a constant with a difficult-to-type name instead of two-digit number :)
      sql/sql_insert.cc:
        always call start_bulk_insert (it performs all checks itself)
        removed spurious semicolon at the end of the "if" :)
        added a clarifying comment
      e51447b1
    • unknown's avatar
      Don't enable HA_EXTRA_WRITE_CACHE if too few rows · 10e15762
      unknown authored
      Revert main parts of patch for online index builds. Should be done differently
      Added support for %lx in my_snprintf()
      
      
      sql/ha_myisam.cc:
        Don't enable HA_EXTRA_WRITE_CACHE if too few rows
      sql/handler.h:
        Indentaion fix
      sql/mysql_priv.h:
        Removed real_alter_table, mysql_add_column and mysql_drop_column
      sql/sql_class.cc:
        After merge fix
      sql/sql_insert.cc:
        Don't user bulk_insert if only one row (common case)
      sql/sql_parse.cc:
        Added mysql_create_index() and mysql_drop_index() as these are only wrappers for mysql_alter_table()
      sql/sql_table.cc:
        Revert main parts of patch for online index builds
        Changed back to use tabs to make merges possible between trees
      sql/unireg.cc:
        Added comments and minor cleanup
      strings/my_vsnprintf.c:
        Added support for %lx.
        Proper long support
      10e15762
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 46bd7be2
      unknown authored
      into mysql.com:/home/my/mysql-4.1
      
      
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      46bd7be2
    • unknown's avatar
      Moved reading of ranges from opt_range.cc to handler.cc · 16845a71
      unknown authored
      This gives the handler more optimization possiblities and is needed for NDB cluster
      Fixed not-initialized memory error detected by valgrind
      
      
      mysql-test/mysql-test-run.sh:
        Fixed address to manual page
      mysql-test/r/gis-rtree.result:
        Added test to show fatal error in GIS
      mysql-test/r/grant.result:
        New tests
      mysql-test/t/gis-rtree.test:
        New tests
      mysql-test/t/grant.test:
        New tests
      sql/handler.cc:
        Moved reading of ranges from opt_range.cc to handler.cc
        This gives the handler more optimization possiblities and is needed for NDB cluster
      sql/handler.h:
        Moved reading of ranges from opt_range.cc to handler.cc
        T
      sql/opt_range.cc:
        Moved reading of ranges from opt_range.cc to handler.cc
        Simplified GIS get_next() handling
        Indentation cleanups
      sql/opt_range.h:
        Removed not needed cmp_next()
        Added new QUICK_SELECT method for GIS keys to make code for normal keys easier and faster
      sql/sql_select.cc:
        Fixed wrong handling of usable-keys in test_if_skip_sort_order (not fatal, just a warning from valgrind)
        Added DBUG
        Cleaned up comments
      16845a71
    • unknown's avatar
      field->store resuts passing is fixed for REAL and INT for Item_param (BUG3223) · d57ffe07
      unknown authored
      
      sql/item.cc:
        field->store resuts passing is fixed for REAL and INT
      tests/client_test.c:
        removed debugging commnet
        fixed type casting
        test for BUG#3223
      d57ffe07
    • unknown's avatar
      Merge marko@build.mysql.com:/home/bk/mysql-4.0 · a5d016ec
      unknown authored
      into hundin.mysql.fi:/home/marko/j/mysql-4.0
      
      
      a5d016ec
    • unknown's avatar
      InnoDB: Fix a preprocessor error introduced in ChangeSet 1.1772 · 97f6935e
      unknown authored
      
      innobase/sync/sync0sync.c:
        Fix a preprocessor error introduced in ChangeSet 1.1772
      97f6935e
    • unknown's avatar
      sql_select.cc: · 26764a7b
      unknown authored
        Fix a glitch reported by Philippe Lewicki on the general mailing list: do not print a warning to the .err log if read_key fails with a lock wait timeout error 146
      
      
      sql/sql_select.cc:
        Fix a glitch reported by Philippe Lewicki on the general mailing list: do not print a warning to the .err log if read_key fails with a lock wait timeout error 146
      26764a7b
  7. 07 Apr, 2004 13 commits
    • unknown's avatar
      Cleanup/optimizations of structures and key usage to make it easier to move... · 3cb13f79
      unknown authored
      Cleanup/optimizations of structures and key usage to make it easier to move key-range-search to handler
      
      
      sql/field.cc:
        Use 'HA_KEY_BLOB_LENGTH' instead of '2' for 'packed-length'
        Changed 'get_key_image' and 'set_key_image' to take length data part of key (without length-store bytes). This makes the interface easier to use from opt_range.cc
      sql/field.h:
        Indentation fix
      sql/opt_range.cc:
        Changed KEY_PART to use KEY_PART_INFO->store_length (which includes null-byte if needed)
        This makes some functions easier and allowed us to easier use the new get_key_image/set_key_image interfaces
        Simple loop optimization.
      sql/opt_range.h:
        Changed part_length -> store_length and added length to KEY_PART.
        This make this structure more like KEY_PART_INFO
        Added 'sorted' to QUICK_SELECT for NDB
      sql/sql_class.cc:
        Fixed compiler warning
      sql/sql_select.cc:
        Set 'quick->sorted' if keys should be sorted (for NDB)
      sql/table.cc:
        GEOMETRY KEYS doesn't have length prefix in keys
      3cb13f79
    • unknown's avatar
      merge · d5135aff
      unknown authored
      
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      d5135aff
    • unknown's avatar
      new error for unsupported command in PS · c9d856c8
      unknown authored
      fixed IN subselect with basic constant left expression
      SQLCOM_CREATE_TABLE, SQLCOM_UPDATE_MULTI, SQLCOM_REPLACE_SELECT, SQLCOM_INSERT_SELECT, QLCOM_DELETE_MULTI fixed to be compatible with PS (BUG#3398, BUG#3406)
      fixed multiupdate privelege check (BUG#3408)
      fixed multiupdate tables check (BUG#3411)
      unchecked commands now is rejected by PS protocol to avoid serever crash
      fixed cleunup procedure to be compatible sith DO/SET (BUG#3393)
      
      
      include/mysqld_error.h:
        new error for unsupported command in PS
      mysql-test/r/multi_update.result:
        test sutes (BUG#3408, BUG#3411)
      mysql-test/t/multi_update.test:
        test sutes (BUG#3408, BUG#3411)
      sql/item_cmpfunc.cc:
        fixed IN subselect with basic constant left expression
      sql/mysql_priv.h:
        some function frop sql_parse.h become public
      sql/set_var.cc:
        check for SET command via PS
      sql/set_var.h:
        check for SET command via PS
      sql/share/czech/errmsg.txt:
        new error for unsupported command in PS
      sql/share/danish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/dutch/errmsg.txt:
        new error for unsupported command in PS
      sql/share/english/errmsg.txt:
        new error for unsupported command in PS
      sql/share/estonian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/french/errmsg.txt:
        new error for unsupported command in PS
      sql/share/german/errmsg.txt:
        new error for unsupported command in PS
      sql/share/greek/errmsg.txt:
        new error for unsupported command in PS
      sql/share/hungarian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/italian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/japanese/errmsg.txt:
        new error for unsupported command in PS
      sql/share/korean/errmsg.txt:
        new error for unsupported command in PS
      sql/share/norwegian-ny/errmsg.txt:
        new error for unsupported command in PS
      sql/share/norwegian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/polish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/portuguese/errmsg.txt:
        new error for unsupported command in PS
      sql/share/romanian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/russian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/serbian/errmsg.txt:
        new error for unsupported command in PS
      sql/share/slovak/errmsg.txt:
        new error for unsupported command in PS
      sql/share/spanish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/swedish/errmsg.txt:
        new error for unsupported command in PS
      sql/share/ukrainian/errmsg.txt:
        new error for unsupported command in PS
      sql/sql_lex.cc:
        first table unlincking procedures for CREATE command
      sql/sql_lex.h:
        first table unlincking procedures for CREATE command
      sql/sql_parse.cc:
        used function to exclude first table from list
        SQLCOM_CREATE_TABLE, SQLCOM_UPDATE_MULTI, SQLCOM_REPLACE_SELECT, SQLCOM_INSERT_SELECT, QLCOM_DELETE_MULTI fixed to be compatible with PS (BUG#3398, BUG#3406)
        fixed multiupdate privelege check (BUG#3408)
        fixed multiupdate tables check (BUG#3411)
      sql/sql_prepare.cc:
        fixed a lot of commands to be compatible with PS
        unchecked commands now is rejected to avoid serever crash
      sql/sql_select.cc:
        allow empty result for PS preparing
      sql/sql_union.cc:
        fixed cleunup procedure to be compatible sith DO/SET (BUG#3393)
      sql/sql_update.cc:
        fixed update to use correct tables lists (BUG#3408)
      sql/table.h:
        flag to support multi update tables check (BUG#3408)
      tests/client_test.c:
        removed unsupported tables
        fixed show table test
        added new tests
      c9d856c8
    • unknown's avatar
      escaping all molty-statement macro · 94002eb5
      unknown authored
      94002eb5
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1/ · 2d57a407
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      2d57a407
    • unknown's avatar
      9c810b54
    • unknown's avatar
      Fixed previous security patch. mysqld_safe will use the given --log=file, · 8b332544
      unknown authored
      or if not given, it will try to use the one in datadir, if possible, otherwise
      log file will be disabled.
      
      
      8b332544
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · d94cf5fb
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      d94cf5fb
    • unknown's avatar
      Fix for BUG#3415 "mysqlbinlog loses a USE command when LOAD DATA INFILE is involved": · 726917a2
      unknown authored
      if you are printing LOAD DATA INFILE and its USE as comments, don't update 'last_db' (because you
      have not actually changed the db in the server).
      
      
      sql/log_event.cc:
        if you are printing LOAD DATA INFILE and its USE as comments, don't update 'last_db' (because you
        have not actually changed the db in the server).
      726917a2
    • unknown's avatar
      merged · 3c8ae890
      unknown authored
      
      sql/handler.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      3c8ae890
    • unknown's avatar
      merged · b6f2a534
      unknown authored
      
      sql/field.cc:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/protocol.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      b6f2a534
    • unknown's avatar
      Fix for Hand-Merge · 1bfdb177
      unknown authored
      1bfdb177
    • unknown's avatar
      post-review fixes · 736853e5
      unknown authored
      HA_EXTRA_WRITE_CACHE now part of start_bulk_insert()
      test cleanups
      
      
      BitKeeper/deleted/.del-repair_part2-master.sh~f44a8c15d6c36585:
        Delete: mysql-test/t/repair_part2-master.sh
      BitKeeper/deleted/.del-repair_part2.test~c20f60783b04d001:
        Delete: mysql-test/t/repair_part2.test
      BitKeeper/deleted/.del-repair_part2.result~72ca166fb248b566:
        Delete: mysql-test/r/repair_part2.result
      mysql-test/r/myisam.result:
        updated
      mysql-test/t/lowercase_table2.test:
        typo fixed
      mysql-test/r/repair.result:
        single repair.test from repair_part[12].test
      mysql-test/t/lowercase_table3.test:
        typo fixed
      mysql-test/t/lowercase_table_qcache.test:
        newline added
      mysql-test/t/myisam.test:
        updated
      mysql-test/t/repair.test:
        single repair.test from repair_part[12].test
      sql/field.cc:
        reverted
      sql/field.h:
        style fix
      sql/ha_myisam.cc:
        add HA_EXTRA_WRITE_CACHE to start_bulk_insert
      sql/sql_insert.cc:
        add HA_EXTRA_WRITE_CACHE to start_bulk_insert
      sql/sql_load.cc:
        add HA_EXTRA_WRITE_CACHE to start_bulk_insert
      sql/sql_table.cc:
        add HA_EXTRA_WRITE_CACHE to start_bulk_insert
      736853e5