1. 10 Nov, 2006 1 commit
  2. 09 Nov, 2006 1 commit
    • unknown's avatar
      Bug#20691: DATETIME col (NOT NULL, NO DEFAULT) may insert garbage when \ · 04195329
      unknown authored
      	specifying DEFAULT
      
      This was not specific to datetime.  When there is no default value 
      for a column, and the user inserted DEFAULT, we would write 
      uninitialized memory to the table.  
      
      Now, insist on writing a default value, a zero-ish value, the same 
      one that comes from inserting NULL into a not-NULL field.
      
      (This is, at best, really strange behavior that comes from allowing 
      sloppy usage, and serves as a good reason always to run one's server 
      in a strict SQL mode.)
      
      
      mysql-test/r/default.result:
        Verify that all kinds of types work, even others other than datetime.
      mysql-test/t/default.test:
        Verify that all kinds of types work, even others other than datetime.
      sql/item.cc:
        Even if we warn that there is no default value in the table definition,
        we have to insert /something/.
      04195329
  3. 07 Nov, 2006 4 commits
  4. 06 Nov, 2006 3 commits
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug23411/my50-bug23411 · 524e169d
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug23411/my51-bug23411
      
      
      BitKeeper/etc/collapsed:
        auto-union
      mysql-test/r/func_test.result:
        Auto merged
      sql/item_func.cc:
        Auto merged
      524e169d
    • unknown's avatar
      Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug23411/my41-bug23411 · c055a9c4
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/bug23411/my50-bug23411
      
      
      BitKeeper/deleted/.del-collapsed~fbec3523369aae99:
        Delete: BitKeeper/etc/collapsed
      BitKeeper/etc/collapsed:
        'Auto converge'
      mysql-test/r/func_test.result:
        Manual merge.
      mysql-test/t/func_test.test:
        Manual merge.
      sql/item_func.cc:
        Manual merge.
      c055a9c4
    • unknown's avatar
      Bug#23411: ... MOD-ing zero returns strange result · 97610ded
      unknown authored
        
      The Item_func_mod objects never had maybe_null set, so users had no reason 
      to expect that they can be NULL, and may therefore deduce wrong results.
      Now, set maybe_null.
      
      
      mysql-test/r/func_test.result:
        Verify that the predictions are true.
      mysql-test/t/func_test.test:
        Verify that the predictions are true.
      sql/item_func.cc:
        MOD functions may be NULL.
      97610ded
  5. 04 Nov, 2006 6 commits
  6. 03 Nov, 2006 14 commits
    • unknown's avatar
      Fiexes for --stress mode in mysql-test-run.pl · 168df93a
      unknown authored
      
      mysql-test/lib/mtr_stress.pl:
        "stop_masters" function renamed to "stop_all_servers"
        "path_mysock" renamed to "path_sock"
      168df93a
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · ea225358
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql.cc:
        Auto merged
      client/mysqltest.c:
        Auto merged
      configure.in:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysys/mf_iocache.c:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      ea225358
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint · bc150d33
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/lib/mtr_process.pl:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      configure.in:
        Manual merge
      myisam/sort.c:
        Manual merge(double checked)
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/t/innodb_mysql.test:
        Manual merge
      mysys/mf_iocache.c:
        Manual merge
      bc150d33
    • unknown's avatar
      Fix problem with mysql.test relying on "echo" behaviour · 16edab3a
      unknown authored
      
      mysql-test/r/mysql.result:
        Update test result after commenting out the test
      mysql-test/t/mysql.test:
        Rewrite the test commands so they don't depend on "echo" behaviour
        Comment out one as it's a duplicate
      16edab3a
    • unknown's avatar
      Fix DBUG_PRINT in mysqltest, the real value to print is in ds_cmd · 9bf47c1c
      unknown authored
      
      client/mysqltest.c:
        The expanded command executed by mysqltest is in ds_cmd
      9bf47c1c
    • unknown's avatar
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · dc8bc707
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/lib/mtr_misc.pl:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/mysql.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/im_daemon_life_cycle.imtest:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/sp-error.test:
        Auto merged
      include/mysql_h.ic:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      mysys/my_lock.c:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.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
      sql/sql_table.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Use remote
      include/Makefile.am:
        Manual merge
      dc8bc707
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 23dd342f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/my50-m-stress
      
      23dd342f
    • unknown's avatar
      Use lowercase for "Too long dbname" test as it will be put ot lower on some... · 2824f718
      unknown authored
      Use lowercase for "Too long dbname" test as it will be put ot lower on some platforms and we don't wan't to test that.
      
      
      2824f718
    • unknown's avatar
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/my41-m-stress · 94ff8647
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/my50-m-stress
      
      94ff8647
    • unknown's avatar
      Fix mysql-test-run.pl for "bin dist" look in "bin" directory for client binaries as well. · 8cca8732
      unknown authored
      
      mysql-test/lib/mtr_misc.pl:
        Update comments
      mysql-test/mysql-test-run.pl:
        Also need to look in "$glob_basedir/bin"
      8cca8732
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · e2a17c07
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      e2a17c07
    • unknown's avatar
      054ab261
  7. 02 Nov, 2006 11 commits
    • unknown's avatar
      Fix merge collision. · 3a645df9
      unknown authored
      3a645df9
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1 · 3d76a16a
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~1:
        Auto merged
      BitKeeper/deleted/.del-make_win_bin_dist:
        Auto merged
      configure.in:
        Auto merged
      include/my_global.h:
        Auto merged
      include/mysql.h:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      mysql-test/include/mix1.inc:
        Auto merged
      mysql-test/r/ctype_utf8.result:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/log_tables.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/im_daemon_life_cycle.imtest:
        Auto merged
      mysql-test/t/sp-error.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      netware/BUILD/mwenv:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/item_func.h:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_insert.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
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_update.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/innobase/handler/ha_innodb.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      include/my_time.h:
        manual merge.
      mysql-test/mysql-test-run.pl:
        manual merge.
      mysql-test/r/ps.result:
        manual merge.
      mysql-test/t/disabled.def:
        manual merge.
      mysql-test/t/ps.test:
        manual merge.
      3d76a16a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 39b2f4a3
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
      
      
      mysql-test/r/innodb_mysql.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/ctype_utf8.test:
        Auto merged
      mysql-test/t/im_daemon_life_cycle.imtest:
        Auto merged
      mysql-test/t/innodb_mysql.test:
        Auto merged
      mysql-test/t/sp-error.test:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/item_func.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.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
      sql/sql_table.cc:
        Auto merged
      sql/sql_trigger.cc:
        Auto merged
      sql/sql_union.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Manual merge.
      mysql-test/r/ps.result:
        Manual merge.
      mysql-test/t/ps.test:
        Manual merge.
      39b2f4a3
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · c6913415
      unknown authored
      into  zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
      
      
      configure.in:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      myisam/sort.c:
        Manual merge.
      mysql-test/r/innodb_mysql.result:
        Manual merge.
      mysql-test/t/innodb_mysql.test:
        Manual merge.
      mysys/mf_iocache.c:
        Manual merge.
      c6913415
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · d3bf5536
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      d3bf5536
    • unknown's avatar
      configure.in: · 490d07cf
      unknown authored
        Raise version number to 4.1.23
      
      
      configure.in:
        Raise version number to 4.1.23
      490d07cf
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my50-mtr_vs_config · 8799830b
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      8799830b
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my51-mtr_vs_config · b755d29a
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mysql-5.1-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      b755d29a
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my50-mtr_vs_config · 114ea1c9
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my51-mtr_vs_config
      
      
      mysql-test/lib/mtr_misc.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      114ea1c9
    • unknown's avatar
      Merge rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my41-mtr_vs_config · 472b8c3b
      unknown authored
      into  rolltop.ignatz42.dyndns.org:/mnt/storeage/mtr_vs_config/my50-mtr_vs_config
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/lib/mtr_misc.pl:
        manual merge
      472b8c3b
    • unknown's avatar
      Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations · 2a96b014
      unknown authored
      Visual Studio builds each configuration in a different sub-directory.  Only the sub-
      directories for release and debug are currently searched.
      
      
      mysql-test/lib/mtr_misc.pl:
        Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations
        - Added usage comments.
      mysql-test/mysql-test-run.pl:
        Bug#23865 mysql-test-run.pl on Windows only supports debug and release configurations
        - Moved Initial_Setup function to the command_line_setup function.
        - Defined new argument vs-config which can be used to inidicate the VS Configuration
        used to create the test executables. Argument can also be controlled with
        MTR_VS_CONFIG environment variable.
      2a96b014