1. 16 Nov, 2006 7 commits
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 3d958eb1
      unknown authored
      into  example.com:/work/bug24219/my50
      
      
      sql/sql_table.cc:
        Auto merged
      3d958eb1
    • unknown's avatar
      after-merge fixup. · 8639c18f
      unknown authored
        - have to explicitly set null_value.
      
      
      8639c18f
    • unknown's avatar
      Fix for bug#24219 ALTER TABLE ... RENAME TO ... , DISABLE KEYS leads to crash · d63fa0a4
      unknown authored
      (this is the 5.0 patch, because 4.1 differs)
        
      There was an improper order of doing chained operations.
        
      To the documentor: ENABLE|DISABLE KEYS combined with RENAME TO, and no other
      ALTER TABLE clause, leads to server crash independent of the presence of
      indices and data in the table.
      
      
      mysql-test/r/alter_table.result:
        post-merge fix
        my locale is utf8, and this breaks non-utf8 stuff when doing manual merge :(
      sql/sql_table.cc:
        If there is operation on the KEYS, first do it
        and then do a rename if there is such. Or, we will crash because
        the underlying table has changed.
      d63fa0a4
    • unknown's avatar
      Merge example.com:/work/bug24219/my41 · db42257d
      unknown authored
      into  example.com:/work/bug24219/my50
      
      
      mysql-test/t/alter_table.test:
        Auto merged
      sql/sql_table.cc:
        manual merge
      mysql-test/r/alter_table.result:
        manual merge
      db42257d
    • unknown's avatar
      Fix for bug#24219 ALTER TABLE ... RENAME TO ... , DISABLE KEYS leads to crash · 09fc514b
      unknown authored
      There was an improper order of doing chained operations.
      
      To the documentor: ENABLE|DISABLE KEYS combined with RENAME TO, and no other
      ALTER TABLE clause, leads to server crash independent of the presence of
      indices and data in the table.
      
      
      mysql-test/r/alter_table.result:
        update result
      mysql-test/t/alter_table.test:
        add test for bug#24129
      sql/sql_table.cc:
        If there is operation on the KEYS, first do it
        and then do a rename if there is such. Or, we will crash because
        the underlying table has changed.
      09fc514b
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 3ea5628b
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug23653/my50-bug23653
      
      
      3ea5628b
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/bug23653/my41-bug23653 · 096631a3
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug23653/my50-bug23653
      
      
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/func_time.test:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      096631a3
  2. 15 Nov, 2006 7 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug19955/my50-bug19955 · ab6d4437
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      sql/item_func.cc:
        Auto merged
      ab6d4437
    • unknown's avatar
      Bug#19955: unsigned bigint used as signed with MOD function · 3be6493a
      unknown authored
      Problem:  When we have a really large number (between 2^63 and 2^64)
      as the left side of the mod operator, it gets improperly corerced
      into a signed value.
      
      Solution:  Added check to see if the "negative" number is really
      positive, and if so, cast it.
      
      
      mysql-test/r/bigint.result:
        Added test case result
      mysql-test/t/bigint.test:
        Added test case
      sql/item_func.cc:
        Added check to see if we have an unsigned number that looks like a
        signed number.
      3be6493a
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my50-bug17700 · 5b3cfaa8
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      5b3cfaa8
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my41-bug17700 · 574902e3
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug17700/my50-bug17700
      
      
      scripts/mysql_fix_privilege_tables.sh:
        Auto merged
      574902e3
    • unknown's avatar
      Bug#17700: mysql_fix_privilege_tables cannot handle a password \ · 78278bc4
      unknown authored
      	with embedded spaces
        
      Problem:  Original code written assuming password contains no spaces.
      Further, because of how sh interprets characters in variables, you
      cannot do the "simple solution".
        
      Solution:  Move the "was a password provided" check to the end. This
      allows us to correctly quote the password argument when passed to the
      mysql client program.  Addendum:  Put this check inside of a shell fn
      to simplify the code.
      
      
      scripts/mysql_fix_privilege_tables.sh:
        Moved password existence check to end to allow for passwords with
        with embedded spaces.
      78278bc4
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 8f1337ad
      unknown authored
      into  example.com:/work/bug23760/my50
      
      
      8f1337ad
    • unknown's avatar
      Cleanup after test cases · 8b8647ff
      unknown authored
      
      mysql-test/r/init_connect.result:
        Restore global variable to the value it's set to when server is started
      mysql-test/r/key_cache.result:
        Restore global variable values to original
      mysql-test/r/mysqldump.result:
        Drop the user that was created. Specifying "drop user myDB_user" is equal to "drop user myDB_user@%"
      mysql-test/r/rpl_deadlock.result:
        Restore global variable values to original
      mysql-test/r/rpl_drop_db.result:
        Remove the conflicting file and drop database mysqltest1 before test exits
      mysql-test/r/rpl_ignore_revoke.result:
        As changes to mysql.* are ignored - explicitly delete the user on slave
      mysql-test/r/rpl_init_slave.result:
        Restore global variable values to original
      mysql-test/r/rpl_max_relay_size.result:
        Restore global variable values to original
      mysql-test/r/rpl_sp.result:
        Restore global variable values to original
      mysql-test/r/rpl_timezone.result:
        Restore global variable values to original
      mysql-test/r/rpl_variables.result:
        Restore global variable values to original
      mysql-test/r/view_grant.result:
        Use same user in all places in the same test "readonly" is equal to "readonly@%" not "readonly@localhost"
      mysql-test/t/init_connect.test:
        Restore global variable to the value it's set to when server is started
      mysql-test/t/key_cache.test:
        Restore global variable values to original
      mysql-test/t/mysqldump.test:
        Drop the user that was created. Specifying "drop user myDB_user" is equal to "drop user myDB_user@%"
      mysql-test/t/rpl_deadlock.test:
        Restore global variable values to original
      mysql-test/t/rpl_drop_db.test:
        Remove the conflicting file and drop database mysqltest1 before test exits
      mysql-test/t/rpl_ignore_revoke.test:
        As changes to mysql.* are ignored - explicitly delete the user on slave
      mysql-test/t/rpl_init_slave.test:
        Restore global variable values to original
      mysql-test/t/rpl_max_relay_size.test:
        Restore global variable values to original
      mysql-test/t/rpl_sp.test:
        Restore global variable values to original
      mysql-test/t/rpl_timezone.test:
        Restore global variable values to original
      mysql-test/t/rpl_variables.test:
        Restore global variable values to original
      mysql-test/t/view_grant.test:
        Use same user in all places in the same test "readonly" is equal to "readonly@%" not "readonly@localhost"
      8b8647ff
  3. 14 Nov, 2006 8 commits
  4. 13 Nov, 2006 15 commits
  5. 11 Nov, 2006 2 commits
  6. 10 Nov, 2006 1 commit
    • unknown's avatar
      Bug #22860: Option --memlock should be revisited · 93e1030d
      unknown authored
      Support says that memlock doesn't work on OSes other than Solaris.  
      Add a warning about --memlock to the crash monologue.
      
      
      sql/mysqld.cc:
        On a crash when --memlock was active, emit advice about the insta-
        bility of that parameter.
      93e1030d