1. 07 Sep, 2004 1 commit
    • unknown's avatar
      select.test: · 95036003
      unknown authored
        Added newline at the end of file.
      
      
      mysql-test/t/select.test:
        Added newline at the end of file.
      95036003
  2. 03 Sep, 2004 2 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.0 · 182688f0
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.0-0
      
      
      sql/sql_select.cc:
        Auto merged
      182688f0
    • unknown's avatar
      select.result, select.test: · afac3c31
      unknown authored
        Added a test case for bug #5333.
      null_key.result, key_primary.result:
        Made covering index usable for const tables.
      sql_select.cc:
        Made covering index usable for const tables:
        downported the corresponding code from 4.1.
        Simultaneously fixed bug #5333 reported for 4.1.
        The bug was due to the fact that field index in join
        structures was always set to 0 for const tables.
      
      
      sql/sql_select.cc:
        Made covering index usable for const tables:
        downported the corresponding code from 4.1.
        Simultaneously fixed bug #5333 reported for 4.1.
        The bug was due to the fact that field index in join
        structures was always set to 0 for const tables.
      mysql-test/t/select.test:
        Added a test case for bug #5333.
      mysql-test/r/key_primary.result:
        Made covering index usable for const tables.
      mysql-test/r/null_key.result:
        Made covering index usable for const tables.
      mysql-test/r/select.result:
        Added a test case for bug #5333.
      afac3c31
  3. 02 Sep, 2004 3 commits
    • unknown's avatar
      errmsg.txt: · b871ea38
      unknown authored
        Add GPL comment
      
      
      sql/share/czech/errmsg.txt:
        Add GPL comment
      sql/share/danish/errmsg.txt:
        Add GPL comment
      sql/share/dutch/errmsg.txt:
        Add GPL comment
      sql/share/english/errmsg.txt:
        Add GPL comment
      sql/share/estonian/errmsg.txt:
        Add GPL comment
      sql/share/french/errmsg.txt:
        Add GPL comment
      sql/share/german/errmsg.txt:
        Add GPL comment
      sql/share/greek/errmsg.txt:
        Add GPL comment
      sql/share/hungarian/errmsg.txt:
        Add GPL comment
      sql/share/italian/errmsg.txt:
        Add GPL comment
      sql/share/japanese/errmsg.txt:
        Add GPL comment
      sql/share/korean/errmsg.txt:
        Add GPL comment
      sql/share/norwegian-ny/errmsg.txt:
        Add GPL comment
      sql/share/norwegian/errmsg.txt:
        Add GPL comment
      sql/share/polish/errmsg.txt:
        Add GPL comment
      sql/share/portuguese/errmsg.txt:
        Add GPL comment
      sql/share/romanian/errmsg.txt:
        Add GPL comment
      sql/share/russian/errmsg.txt:
        Add GPL comment
      sql/share/slovak/errmsg.txt:
        Add GPL comment
      sql/share/spanish/errmsg.txt:
        Add GPL comment
      sql/share/swedish/errmsg.txt:
        Add GPL comment
      sql/share/ukrainian/errmsg.txt:
        Add GPL comment
      b871ea38
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0 · e230217f
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b5232
      
      
      e230217f
    • unknown's avatar
      Fix for bug #5302 · ac55058d
      unknown authored
      ac55058d
  4. 01 Sep, 2004 9 commits
    • unknown's avatar
      Fix for bug #5302 · 240812bd
      unknown authored
      240812bd
    • unknown's avatar
      Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.0 · 4d5fee8e
      unknown authored
      into mysql.com:/space/my/mysql-4.0
      
      
      4d5fee8e
    • unknown's avatar
      Merge mysql.com:/space/my/mysql-4.0 · 2377b964
      unknown authored
      into mysql.com:/space/my/mysql-4.0-build
      
      
      2377b964
    • unknown's avatar
      - removed swedish errmsg.OLD · d21aae95
      unknown authored
      
      BitKeeper/deleted/.del-errmsg.OLD~de59ad17392012d:
        Delete: sql/share/swedish/errmsg.OLD
      d21aae95
    • unknown's avatar
      ha_innodb.cc: · 06959e0e
      unknown authored
        If ALTER TABLE ... DROP FOREIGN KEY ... fails because of a wrong constraint name, return a table handler error number 150 instead of 152; the value 152 was misleading, as it referred to '152 = Cannot delete a parent row', whereas '150 = Foreign key constraint is incorrectly formed' is less misleading
      
      
      sql/ha_innodb.cc:
        If ALTER TABLE ... DROP FOREIGN KEY ... fails because of a wrong constraint name, return a table handler error number 150 instead of 152; the value 152 was misleading, as it referred to '152 = Cannot delete a parent row', whereas '150 = Foreign key constraint is incorrectly formed' is less misleading
      06959e0e
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.0 · 8133ce04
      unknown authored
      into mysql.com:/M40/mysql-4.0
      
      
      8133ce04
    • unknown's avatar
      Correct a typo error: cpp symbol is "BIG_TABLES", not "BIG_FILES" · 23ae3c17
      unknown authored
      (backport from 4.1).
      
      
      configure.in:
        Defining "BIG_TABLES" works around a problem with the Sun Forte
        compiler for Solaris on x86 platforms: improper handling of "long long".
        Error shows up on the "limit_rows_found" variable in test "union".
        Old "BIG_FILES" was a typing error (backport from 4.1).
      23ae3c17
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-4.0 · 8ed495dd
      unknown authored
      into krsna.patg.net:/home/patg/mysql-4.0
      
      
      8ed495dd
    • unknown's avatar
      mysqld_safe.sh: · 0d80b507
      unknown authored
        bug #5001, added conditional if to test if port set, then only kill the processes
        for this port, not all processes (in the case of this bug where multiple servers 
        are killed.)
        The change to the 'grep' to make sure mysqld_safe isn't killed was per Serg's
        discovery that mysqld_safe would get killed. 
        In my testing, in killing one of the pids for a running server, the "if test ! -f $pid_file"
        was the case that evaluated as true, so in order to test, I had to comment that block
        out.
      
      
      scripts/mysqld_safe.sh:
        bug #5001, added conditional if to test if port set, then only kill the processes
        for this port, not all processes (in the case of this bug where multiple servers 
        are killed.)
        
        The change to the 'grep' to make sure mysqld_safe isn't killed was per Serg's
        discovery that mysqld_safe would get killed. 
        
        In my testing, in killing one of the pids for a running server, the "if test ! -f $pid_file"
        was the case that evaluated as true, so in order to test, I had to comment that block
        out.
      0d80b507
  5. 31 Aug, 2004 2 commits
    • unknown's avatar
      Do-compile: · 38105ee8
      unknown authored
        Remove --warnings for mysql-test-run. Devs don't use it, and Serg says it's not needed anymore.
      
      
      Build-tools/Do-compile:
        Remove --warnings for mysql-test-run. Devs don't use it, and Serg says it's not needed anymore.
      38105ee8
    • unknown's avatar
      Added global my_getopt_error_reporter function pointer which is · c9394a0f
      unknown authored
      used in the handle_options() function (instead of using additional 
      handle_option() parameter). The default value of the 
      my_getopt_error_reporter is default_reporter(). One can set it to
      other functions if case of need.
      
      
      client/mysql.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqladmin.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlbinlog.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqlcheck.c:
        Removed extra handle_optins()'s parameter.
      client/mysqldump.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlimport.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanager-pwgen.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanagerc.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlshow.c:
        Removed extra handle_optins()'s parameter.
      client/mysqltest.c:
        Removed extra handle_optins()'s parameter.
      extra/my_print_defaults.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_install.c:
        Removed extra handle_optins()'s parameter.
      extra/mysql_waitpid.c:
        Removed extra handle_optins()'s parameter.
      extra/perror.c:
        Removed extra handle_optins()'s parameter.
      extra/resolve_stack_dump.c:
        Removed extra handle_optins()'s parameter.
      extra/resolveip.c:
        Removed extra handle_optins()'s parameter.
      include/my_getopt.h:
        Removed extra handle_optins()'s parameter.
      isam/isamchk.c:
        Removed extra handle_optins()'s parameter.
      isam/pack_isam.c:
        Removed extra handle_optins()'s parameter.
      myisam/mi_test1.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisam_ftdump.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisamchk.c:
        Removed extra handle_optins()'s parameter.
      myisam/myisampack.c:
        Removed extra handle_optins()'s parameter.
      sql/gen_lex_hash.cc:
        Removed extra handle_optins()'s parameter.
      sql/mysqld.cc:
        Removed extra handle_optins()'s parameter.
      tools/mysqlmanager.c:
        Removed extra handle_optins()'s parameter.
      c9394a0f
  6. 30 Aug, 2004 4 commits
    • unknown's avatar
      If the system has 64 bit "long", then "long long" does not add new · fb724e53
      unknown authored
      functionality. The existing code takes advantage of this when
      "typedef"ing 'longlong' in 'my_global.h'. This holds for Alpha CPUs.
      If the compiler then has prototypes for C99 functions 'strtoll()' and
      'strtoull()' but no implementation, the existing code in 'strtoull.c'
      collides with that prototype. These collisions are avoided now.
      (backport from 4.1)
      
      
      include/m_string.h:
        Extend the "fake" approach from 'strtoull()' onto 'strtoll()'
        (backport from 4.1).
      strings/strto.c:
        Ensure that calling file has included necessary headers,
        as these are needed at the upper level already
        (backport from 4.1).
      strings/strtol.c:
        Cleanup/alignment with the "long long" functions.
      strings/strtoll.c:
        When "long" is 64 bit already, system function 'strtol()' can be used.
        Header files 'my_global.h' and 'm_string.h' will manage that,
        if they are included early enough (backport from 4.1).
      strings/strtoul.c:
        Cleanup/alignment with the "long long" functions.
      strings/strtoull.c:
        When "long" is 64 bit already, system function 'strtoul()' can be used.
        Header files 'my_global.h' and 'm_string.h' will manage that,
        if they are included early enough (backport from 4.1).
      fb724e53
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.0/ · 88fe390a
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.0
      
      
      88fe390a
    • unknown's avatar
      typo fixed · 4e2f80b4
      unknown authored
      4e2f80b4
    • unknown's avatar
      - removed mysql-test/t/flush_block_commit-master.opt as it collided · 0c549e36
      unknown authored
         with the sleep value we use for the test suite run during the
         release builds
      
      
      BitKeeper/deleted/.del-flush_block_commit-master.opt~3bcd295d5bf68796:
        Delete: mysql-test/t/flush_block_commit-master.opt
      0c549e36
  7. 29 Aug, 2004 3 commits
    • unknown's avatar
      log.cc: · 877503f5
      unknown authored
        Fixed missing * in comment in setup_windows_event_source
      
      
      sql/log.cc:
        Fixed missing * in comment in setup_windows_event_source
      877503f5
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · d84b42b6
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      
      sql/log.cc:
        Auto merged
      d84b42b6
    • unknown's avatar
      Fix for BUG#4500 "set character set replicates incorrectly" · 4014c093
      unknown authored
      We must not reset the charset in slave after each statement, otherwise the SET CHARACTER SET is cancelled immediately.
      Instead, we write a SET CHARACTER SET DEFAULT to the master's binlog when needed (like we already do for SET FOREIGN_KEY_CHECKS);
      such writing is not necessary in 4.1 (in 4.1 the bug does not exist, as the SET ONE_SHOT syntax is used).
      I have written a test and it works, but I'm not pushing the test as it requires building with all charsets.
      I have noticed differences between what is inserted in the master's table in 4.0 and 4.1, and alerted Bar.
      
      
      sql/log.cc:
        When SET CHARACTER SET has been used, we must reset the charset after the writing the statement, in the binlog.
        In 4.1, this resetting is already achieved by the SET ONE_SHOT syntax.
      sql/log_event.cc:
        In slave, we must not simply reset the charset after each statement: if we do this, the charset gets
        immediately after executing the SET CHARACTER SET! (BUG#4500).
      4014c093
  8. 28 Aug, 2004 1 commit
  9. 27 Aug, 2004 5 commits
    • unknown's avatar
      Code style fixes. · db15b919
      unknown authored
      Initialize LOG_error_log before get_options to not use an uninitalized mutex in case of an error from handle_options()
      
      
      mysql-test/r/lowercase_table.result:
        Changed foo database -> mysqltest
        More test cases
      mysql-test/t/lowercase_table.test:
        Changed foo database -> mysqltest
        More test cases
      mysys/my_getopt.c:
        Fix new code to use MySQL indentation style
      sql/log.cc:
        Change to use MySQL indentation style and naming conventions
        Remove usage of strlen() and strcat()
      sql/mysqld.cc:
        Initialize LOG_error_log before get_options to not use an uninitalized mutex in case of an error from handle_options()
      sql/sql_base.cc:
        Added comment
      sql/table.cc:
        Added #if MYSQL_VERSION_ID < 40100 to ensure code is merged correctly
      db15b919
    • unknown's avatar
      Compile all charset conversion tables if --with-extra-charsets=all · 434d385a
      unknown authored
      or --with-extra-charsets=complex is given.
      
      
      434d385a
    • unknown's avatar
    • unknown's avatar
      table.cc: · 14f96b2f
      unknown authored
        Bug #4558 Escape handling error for ENUM values in SJIS encoding
      
      
      sql/table.cc:
        Bug #4558 Escape handling error for ENUM values in SJIS encoding
      14f96b2f
    • unknown's avatar
      win1251.conf: · dd714c9a
      unknown authored
        Wrong UPPER/LOWER translation for Cyrillic letter tse was fixed.
        bug#5110
      
      
      sql/share/charsets/win1251.conf:
        Wrong UPPER/LOWER translation for Cyrillic letter tse was fixed.
        bug#5110
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      dd714c9a
  10. 26 Aug, 2004 10 commits