1. 22 Jan, 2004 1 commit
    • unknown's avatar
      a proper fix for the bug #2298 Trailing whitespace inconsistently handled in WHERE clause. · ef325a47
      unknown authored
      <monty> ramil, in MySQL/MyISAM we should only strip end space, not 'space-like' characters.
      <monty> This is according to SQL;  When doing a comparision end space and only end space are ignored.
      
      
      
      myisam/mi_key.c:
        a proper fix for the bug #2298 Trailing whitespace inconsistently handled in WHERE clause.
      myisam/mi_search.c:
        a proper fix for the bug #2298 Trailing whitespace inconsistently handled in WHERE clause.
      mysql-test/r/select.result:
        test case for the bug #2298 Trailing whitespace inconsistently handled in WHERE clause.
      mysql-test/t/select.test:
        test case for the bug #2298 Trailing whitespace inconsistently handled in WHERE clause.
      sql/sql_string.cc:
        a proper fix for the bug #2298 Trailing whitespace inconsistently handled in WHERE clause.
      ef325a47
  2. 16 Jan, 2004 2 commits
  3. 15 Jan, 2004 6 commits
  4. 14 Jan, 2004 1 commit
    • unknown's avatar
      row0ins.c: · 0d540874
      unknown authored
        Fix bug: FOREIGN KEY ... ON UPDATE/DELETE NO ACTION must check the foreign key constraint, not ignore it. Peter Gulutzan said that NO ACTION should check the constraint as deferred, at the end of the SQL statement, while RESTRICT should check it immediately. Since we do not have defered constraints in InnoDB, this bug fix makes InnoDB to check NO ACTION constraints immediately, like it checks RESTRICT constraints.
      
      
      innobase/row/row0ins.c:
        Fix bug: FOREIGN KEY ... ON UPDATE/DELETE NO ACTION must check the foreign key constraint, not ignore it. Peter Gulutzan said that NO ACTION should check the constraint as deferred, at the end of the SQL statement, while RESTRICT should check it immediately. Since we do not have defered constraints in InnoDB, this bug fix makes InnoDB to check NO ACTION constraints immediately, like it checks RESTRICT constraints.
      0d540874
  5. 13 Jan, 2004 6 commits
  6. 12 Jan, 2004 3 commits
    • unknown's avatar
      Checked and applied Novell-supplied patches inside the netware directory only. · a6198674
      unknown authored
      
      netware/BUILD/compile-linux-tools:
        Need to run make on sql_yacc.cc.
      netware/BUILD/compile-netware-END:
        Use .zip package.
      netware/BUILD/compile-netware-all:
        Add compile-netware-src.
      netware/BUILD/compile-netware-standard:
        Need backslash to avoid error.
      netware/BUILD/mwenv:
        Add additional include, library paths, -dialect and -map flags for CW.
      netware/BUILD/nwbootstrap:
        Additional status messages, update versions in .def files.
      netware/Makefile.am:
        Cosmetic change, add @openssl_libs@ in case of OpenSSL feature usage.
      netware/isamchk.def:
        Add SCREENNAME to allow interaction.
      netware/my_manage.c:
        Take out unused args to mysqladmin.
      netware/myisamchk.def:
        Add SCREENNAME to allow interaction.
      netware/myisamlog.def:
        Add SCREENNAME to allow interaction.
      netware/myisampack.def:
        Add SCREENNAME to allow interaction.
      netware/mysql_test_run.c:
        Multiple changes to help test suite.
      netware/mysqlbinlog.def:
        Add SCREENNAME to allow interaction.
      netware/mysqlcheck.def:
        Add SCREENNAME to allow interaction.
      netware/mysqld_safe.c:
        Make error message more accurate/descriptive.
      netware/mysqldump.def:
        Add SCREENNAME to allow interaction.
      netware/mysqlimport.def:
        Add SCREENNAME to allow interaction.
      a6198674
    • unknown's avatar
      Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0 · 678e4004
      unknown authored
      into sinisa.nasamreza.org:/mnt/work/mysql-4.0
      
      678e4004
    • unknown's avatar
      opt_sum.cc: · 3dfd2f17
      unknown authored
        A fix for a bug #3189, pertaining to crashing MySQL server when a query with MIN / MAX on the BLOB column is to be optimised
      
      
      sql/opt_sum.cc:
        A fix for a bug #3189, pertaining to crashing MySQL server when a query with MIN / MAX on the BLOB column is to be optimised
      3dfd2f17
  7. 11 Jan, 2004 1 commit
    • unknown's avatar
      A fix (bug #2335: Inconsistancy with handling of Years and NOW() function). · 001205fd
      unknown authored
      The test might fail if one runs it at 23:59:59 Dec 31
      
      
      mysql-test/r/type_year.result:
        a fix (bug #2335: Inconsistancy with handling of Years and NOW() function)
      mysql-test/t/type_year.test:
        a fix (bug #2335: Inconsistancy with handling of Years and NOW() function)
      sql/field.h:
        a fix (bug #2335: Inconsistancy with handling of Years and NOW() function)
      001205fd
  8. 09 Jan, 2004 1 commit
  9. 08 Jan, 2004 1 commit
  10. 07 Jan, 2004 1 commit
    • unknown's avatar
      buf0lru.c: · b9dc6558
      unknown authored
        Start InnoDB Monitor if 80 % of the buffer pool occupied by adaptive has or lock heaps; do not print the same warning more than 1 time
      
      
      innobase/buf/buf0lru.c:
        Start InnoDB Monitor if 80 % of the buffer pool occupied by adaptive has or lock heaps; do not print the same warning more than 1 time
      b9dc6558
  11. 06 Jan, 2004 7 commits
    • unknown's avatar
      trx0sys.c: · b7b23e48
      unknown authored
        DO NOT MERGE TO 4.1: forgot to change this in the previous push
      
      
      innobase/trx/trx0sys.c:
        DO NOT MERGE TO 4.1: forgot to change this in the previous push
      b7b23e48
    • unknown's avatar
      Merge heikki@build.mysql.com:/home/bk/mysql-4.0 · a2837797
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.0
      
      a2837797
    • unknown's avatar
      trx0sys.c: · fc5d0052
      unknown authored
        DO NOT MERGE TO 4.1: charset changes can cause problems in a downgrade 4.1.1 -> 4.0.18
      
      
      innobase/trx/trx0sys.c:
        DO NOT MERGE TO 4.1: charset changes can cause problems in a downgrade 4.1.1 -> 4.0.18
      fc5d0052
    • unknown's avatar
      mysqldump.c: · bb5b7af9
      unknown authored
        Fix for UNLOCK TABLES bug #2242
      
      
      client/mysqldump.c:
        Fix for UNLOCK TABLES bug #2242
      bb5b7af9
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 02318483
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      02318483
    • unknown's avatar
      Completion of fix for BUG#2121 "Inadequate message "check permissions on master.info"": · 60832a18
      unknown authored
      I had not corrected these languages.
      As it has been discussed with the docs team, the new messages will be merged
      to 4.1, and then will be translated in 4.1 (they will remain in English
      in 4.0).
      
      
      sql/share/danish/errmsg.txt:
        better error message
      sql/share/dutch/errmsg.txt:
        better error message
      sql/share/german/errmsg.txt:
        better error message
      sql/share/italian/errmsg.txt:
        better error message
      sql/share/portuguese/errmsg.txt:
        better error message
      sql/share/russian/errmsg.txt:
        better error message
      sql/share/spanish/errmsg.txt:
        better error message
      sql/share/swedish/errmsg.txt:
        better error message
      sql/share/ukrainian/errmsg.txt:
        better error message
      60832a18
    • unknown's avatar
      trx0sys.c, srv0start.c, ibuf0ibuf.c, trx0sys.h, srv0srv.h: · 7a445542
      unknown authored
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      
      
      innobase/include/srv0srv.h:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/include/trx0sys.h:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/ibuf/ibuf0ibuf.c:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/srv/srv0start.c:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      innobase/trx/trx0sys.c:
        DO NOT MERGE TO 4.1: add code for automatic downgrade 4.1.1 -> 4.0 if the user has not created multiple tablespaces yet
      7a445542
  12. 30 Dec, 2003 3 commits
    • unknown's avatar
      Fix for the bug #2231: string column, INDEX+LIKE, don't take the ESCAPE character. · a62e02c3
      unknown authored
      (acctually i don't like the fix, any suggestions?)
      
      a62e02c3
    • unknown's avatar
      Merge · c183f345
      unknown authored
      
      sql/set_var.cc:
        Auto merged
      sql/mysqld.cc:
        SCCS merged
      c183f345
    • unknown's avatar
      Some small portability fixes. · 249910ab
      unknown authored
      Added support for lower_case_table_names=2, which is to be used on case insensitive file systems.
      This tells MySQL to preserve the used case of filenames and database names to make it esier to move files between cases sensitive can case insensitive file systems (like Windows and Linux)
      
      
      client/mysqltest.c:
        Indentation cleanup
      include/myisam.h:
        Made some pointers 'const'
      mysql-test/mysql-test-run.sh:
        Portability fix for OSX
      sql/filesort.cc:
        Safety fix (not needed for current code but needed for 5.0)
      sql/ha_berkeley.cc:
        More debugging
        Changed 'create' to return error number
      sql/ha_berkeley.h:
        Added HA_FILE_BASED
      sql/ha_innodb.cc:
        Added missing DBUG_RETURN
      sql/ha_isam.cc:
        Changed create to return error number
      sql/ha_isam.h:
        Added HA_FILE_BASED
      sql/ha_isammrg.h:
        Added HA_FILE_BASED
      sql/ha_myisam.cc:
        Changed create to return error number
      sql/ha_myisam.h:
        Added HA_FILE_BASED
      sql/ha_myisammrg.cc:
        Changed create to return error number
      sql/ha_myisammrg.h:
        Added HA_FILE_BASED
      sql/handler.cc:
        Ensure that table engines gets table names in lower case even if we are using lower_case_table_names
        Removed test for DB_TYPE_INNODB by ensuring that create method returns error number.
      sql/handler.h:
        Added HA_FILE_BASED
        Made some struct entries 'const'
        Added 'alias' for create to be able to create tables in mixed case on case insensitive file systems
      sql/mysql_priv.h:
        Support for lower_case_table_names=2
      sql/mysqld.cc:
        Support for lower_case_table_names=2
        Moved test of case insenstive file system after all mutex are created
      sql/set_var.cc:
        Support for lower_case_table_names=2
      sql/sql_class.h:
        Indentation change
      sql/sql_db.cc:
        Support for lower_case_table_names=2
      sql/sql_insert.cc:
        Indentation change
      sql/sql_parse.cc:
        Support for lower_case_table_names=2
      sql/sql_rename.cc:
        Support for lower_case_table_names=2
        Added missing 'unpack_filename' to RENAME which may fix a bug in RENAME TABLE on windows
      sql/sql_show.cc:
        If lower_case_table_name=2 is given, show original case in SHOW CREATE TABLE
      sql/sql_table.cc:
        Support for lower_case_table_names=2 for DROP TABLE, RENAME TABLE, ALTER TABLE and CREATE TABLE
      249910ab
  13. 24 Dec, 2003 2 commits
  14. 23 Dec, 2003 2 commits
    • unknown's avatar
      log0log.c: · 9810348c
      unknown authored
        Do not assert in log0log.c, line 856 if ib_logfiles are too small for innodb_thread_concurrency. Instead, print instructions how to adjust my.cnf and call exit(1).
      
      
      innobase/log/log0log.c:
        Do not assert in log0log.c, line 856 if ib_logfiles are too small for innodb_thread_concurrency. Instead, print instructions how to adjust my.cnf and call exit(1).
      9810348c
    • unknown's avatar
      - Fixed another missing space · f514c5c7
      unknown authored
      f514c5c7
  15. 22 Dec, 2003 2 commits
  16. 21 Dec, 2003 1 commit