1. 08 Apr, 2010 9 commits
    • Sergei Golubchik's avatar
      fix dialog plugin to work again · 5f193d21
      Sergei Golubchik authored
      (fgets, unlike gets, does not strip \n)
      5f193d21
    • Michael Widenius's avatar
      Merge with local tree · 07c7c153
      Michael Widenius authored
      07c7c153
    • Michael Widenius's avatar
      Merge with 5.1 · d782506c
      Michael Widenius authored
      d782506c
    • Michael Widenius's avatar
      Fixed compiler warnings · bf100db0
      Michael Widenius authored
      Changed version string to beta
      
      client/mysql.cc:
        Fixed compiler warning
      configure.in:
        Changed version string to beta
      plugin/auth/dialog.c:
        Fixed compiler warning (gets() is a not recommended function)
      bf100db0
    • Sergei Golubchik's avatar
      MWL#43 CREATE TABLE options (by Sanja) · b4925961
      Sergei Golubchik authored
      Docs/sp-imp-spec.txt:
        New sql_mode added.
      include/my_base.h:
        Flag in frm of create options.
      libmysqld/CMakeLists.txt:
        New files added.
      libmysqld/Makefile.am:
        New files added.
      mysql-test/r/events_bugs.result:
        New sql_mode added.
      mysql-test/r/information_schema.result:
        New sql_mode added.
      mysql-test/r/sp.result:
        New sql_mode added.
      mysql-test/r/system_mysql_db.result:
        New sql_mode added.
      mysql-test/suite/funcs_1/r/is_columns_mysql.result:
        New sql_mode added.
      mysql-test/suite/funcs_1/r/is_columns_mysql_embedded.result:
        New sql_mode added.
      mysql-test/t/events_bugs.test:
        New sql_mode added.
      mysql-test/t/sp.test:
        New sql_mode added.
      scripts/mysql_system_tables.sql:
        New sql_mode added.
      scripts/mysql_system_tables_fix.sql:
        New sql_mode added.
      sql/CMakeLists.txt:
        New files added.
      sql/Makefile.am:
        New files added.
      sql/event_db_repository.cc:
        New sql_mode added.
      sql/field.cc:
        Create options support added.
      sql/field.h:
        Create options support added.
      sql/ha_partition.cc:
        Create options support added.
      sql/handler.cc:
        Create options support added.
      sql/handler.h:
        Create options support added.
      sql/log_event.h:
        New sql_mode added.
      sql/mysql_priv.h:
        New sql_mode added.
      sql/mysqld.cc:
        New sql_mode added.
      sql/share/errmsg.txt:
        New error messages added.
      sql/sp.cc:
        New sql_mode added.
      sql/sp_head.cc:
        Create options support added.
      sql/sql_class.cc:
        Create options support added.
        Debug added.
      sql/sql_class.h:
        Create options support added.
      sql/sql_insert.cc:
        my_safe_a* moved to mysqld_priv.h
      sql/sql_lex.h:
        Create options support added.
      sql/sql_parse.cc:
        Create options support added.
      sql/sql_show.cc:
        Create options support added.
      sql/sql_table.cc:
        Create options support added.
      sql/sql_view.cc:
        New sql_mode added.
      sql/sql_yacc.yy:
        Create options support added.
      sql/structs.h:
        Create options support added.
      sql/table.cc:
        Create options support added.
      sql/table.h:
        Create options support added.
      sql/unireg.cc:
        Create options support added.
      storage/example/ha_example.cc:
        Create options example.
      storage/example/ha_example.h:
        Create options example.
      storage/pbxt/src/discover_xt.cc:
        Create options support added.
      b4925961
    • Michael Widenius's avatar
      Fixed race condition in safe_process.cc which may have caused some mysqltests... · 415b619e
      Michael Widenius authored
      Fixed race condition in safe_process.cc which may have caused some mysqltests to be reported as failed even if they succeded.
      
      mysql-test/lib/My/SafeProcess/safe_process.cc:
        Fixed race condition when getting a signal while calling waitpid()
        Don't send kill on killed processes
        Return different exit codes depending on how we die.
      415b619e
    • Michael Widenius's avatar
      Merge with 5.1 · feca90ae
      Michael Widenius authored
      feca90ae
    • Michael Widenius's avatar
      Fixed compiler warning · 41d3f852
      Michael Widenius authored
      41d3f852
    • Michael Widenius's avatar
      Fixed syntax error and some timeing issues in test suite · 34a6810d
      Michael Widenius authored
      mysql-test/r/func_time.result:
        Updated result
      mysql-test/t/func_time.test:
        sysdate() could be same even with one sleep(1) in between.
      storage/maria/ma_loghandler.c:
        Fixed syntax error
      34a6810d
  2. 07 Apr, 2010 2 commits
    • Michael Widenius's avatar
      Fixed suppression of compiler/test warnings · 23652768
      Michael Widenius authored
      Fixed some timing issues in test suite
      
      
      
      mysql-test/mysql-test-run.pl:
        Added suppression of errors that comes when master is killed before slave has connect (like with rpl_udf.test)
      mysql-test/suite/funcs_1/datadict/processlist_priv.inc:
        Wait for check thread to end
      mysql-test/suite/pbxt/t/status.test:
        Added longer sleep to avoid timing issue
      support-files/compiler_warnings.supp:
        Fixed wrong suppression
      23652768
    • Sergei Golubchik's avatar
      test fix for sol-sparc-32 · 57d40cf3
      Sergei Golubchik authored
      57d40cf3
  3. 06 Apr, 2010 7 commits
    • Michael Widenius's avatar
      Removed compiler warnings · c8b3cd4a
      Michael Widenius authored
      Removed random failures from test suite
      
      mysql-test/extra/rpl_tests/rpl_insert_id_pk.test:
        Make test predicatable.
      mysql-test/include/maria_empty_logs.inc:
        We can't use 'Threads_connected' for syncronization, as the 'check_warnings' thread that just quit may still be counted in 'Threads_connected'
        Now we just wait until MySQLD answers again, which should be good enough for our purposes
      mysql-test/suite/binlog/r/binlog_index.result:
        Updated results file
      mysql-test/suite/binlog/t/binlog_index-master.opt:
        Added option file to not get stack traces in .err file.
      mysql-test/suite/binlog/t/binlog_index.test:
        Added 'flush tables' to remove warning about crashed suppression file from logs
      mysql-test/suite/pbxt/r/multi_statement.result:
        Updated results
      mysql-test/suite/pbxt/t/multi_statement-master.opt:
        Added options so that slow query testing makes sense
      sql/events.cc:
        Don't write Event Scheduler startup message if warnings are turned off.
      sql/handler.cc:
        Removed compiler warning
      sql/log.cc:
        Removed compiler warning
      sql/mysqld.cc:
        Added option 'test-expect-abort'; If this is set, we don't write message to log in case of 'DBUG_ABORT'.
        (Gives us smaller, easier to read log files)
      sql/set_var.cc:
        Removed compiler warning
      sql/slave.cc:
        Removed compiler warning
      sql/sql_plugin.cc:
        Don't write warnings about disabled plugin if using --log_warnings=0
      storage/xtradb/include/ut0lst.h:
        Removed compiler warning
      support-files/compiler_warnings.supp:
        Supress warning from xtradb
      c8b3cd4a
    • Sergei Golubchik's avatar
      more fixes for buildbot failures · 1fdd3e03
      Sergei Golubchik authored
      sql/log_event.cc:
        revert a wrong attempt to get rid of a warning.
        it broke tests on x86
      sql/sql_show.cc:
        more fixes for old gcc
      1fdd3e03
    • Sergei Golubchik's avatar
      fixes for builbot failures · 1c8278ba
      Sergei Golubchik authored
      mysql-test/t/connect.test:
        replace the port correctly
      sql/set_var.cc:
        opensolaris gcc (or just an old gcc ?) does not like offsetof() as a case label.
      1c8278ba
    • Sergei Golubchik's avatar
      keep acl_user->auth_string and acl_user->salt always in sync · ef9912ec
      Sergei Golubchik authored
      print authenticated via in show grants
      ef9912ec
    • Sergei Golubchik's avatar
      fix a warning · a2d78a06
      Sergei Golubchik authored
      a2d78a06
    • Igor Babaev's avatar
    • Igor Babaev's avatar
      Post review fixes. · de1575ac
      Igor Babaev authored
      de1575ac
  4. 05 Apr, 2010 2 commits
  5. 03 Apr, 2010 1 commit
  6. 02 Apr, 2010 4 commits
  7. 01 Apr, 2010 9 commits
    • Igor Babaev's avatar
      Post-review fixes. · 5165169a
      Igor Babaev authored
      5165169a
    • unknown's avatar
      Fied problem with of compilation without dynamic plugin loading. · 6490b806
      unknown authored
      sql/sql_plugin.cc:
        Fixed #ifdef
      6490b806
    • unknown's avatar
      Maria WL#61 · 3558f1a3
      unknown authored
        
        Interface for maria extensions.
        Alternative plugin interface with additional info (maturity and string version).
      
      CMakeLists.txt:
        Maria plugin interface used.
      config/ac-macros/plugins.m4:
        Maria plugin interface used.
      configure.in:
        Maria plugin interface used.
      include/mysql/plugin.h:
        Maria plugin interface added.
      include/mysql/plugin_auth.h.pp:
        Maria plugin interface added.
      plugin/auth/auth_socket.c:
        Maria plugin interface added.
      plugin/auth/dialog.c:
        Maria plugin interface added.
      plugin/daemon_example/daemon_example.cc:
        Maria plugin interface added.
      plugin/fulltext/plugin_example.c:
        Maria plugin interface added.
      sql/ha_ndbcluster.cc:
        Maria plugin interface added.
      sql/ha_partition.cc:
        Maria plugin interface added.
      sql/log.cc:
        Maria plugin interface added.
      sql/sql_acl.cc:
        Maria plugin interface added.
      sql/sql_builtin.cc.in:
        Maria plugin interface used.
      sql/sql_plugin.cc:
        Maria plugin interface added.
      sql/sql_plugin.h:
        Maria plugin interface used.
      sql/sql_show.cc:
        Maria plugin interface added.
      storage/archive/ha_archive.cc:
        Maria plugin interface added.
      storage/blackhole/ha_blackhole.cc:
        Maria plugin interface added.
      storage/csv/ha_tina.cc:
        Maria plugin interface added.
      storage/example/ha_example.cc:
        Maria plugin interface added.
      storage/federated/ha_federated.cc:
        Maria plugin interface added.
      storage/federatedx/ha_federatedx.cc:
        Maria plugin interface added.
      storage/heap/ha_heap.cc:
        Maria plugin interface added.
      storage/ibmdb2i/ha_ibmdb2i.cc:
        Maria plugin interface added.
      storage/innobase/handler/ha_innodb.cc:
        Maria plugin interface added.
      storage/innodb_plugin/handler/i_s.cc:
        Maria plugin interface added.
      storage/maria/ha_maria.cc:
        Maria plugin interface added.
      storage/myisam/ha_myisam.cc:
        Maria plugin interface added.
      storage/myisammrg/ha_myisammrg.cc:
        Maria plugin interface added.
      storage/pbxt/src/ha_pbxt.cc:
        Maria plugin interface added.
      storage/xtradb/handler/ha_innodb.cc:
        Maria plugin interface added.
      storage/xtradb/handler/i_s.cc:
        Maria plugin interface added.
      storage/xtradb/handler/i_s.h:
        Maria plugin interface added.
      3558f1a3
    • Michael Widenius's avatar
      Auto merge with 5.1 · 2f6a1db8
      Michael Widenius authored
      2f6a1db8
    • Michael Widenius's avatar
      Fixed wrong regexps · ae136cce
      Michael Widenius authored
      ae136cce
    • Michael Widenius's avatar
      Auto merge with 5.1 · 851b86de
      Michael Widenius authored
      851b86de
    • Michael Widenius's avatar
      Auto merge with 5.1 · c13dd8fb
      Michael Widenius authored
      c13dd8fb
    • Michael Widenius's avatar
    • Michael Widenius's avatar
      Merge with 5.1 · 9ea34379
      Michael Widenius authored
      Fixed valgrind warnings found from running main.connect under valgrind
      
      
      sql/sp_head.cc:
        Ensure that vcol_info is reset
      sql/sql_acl.cc:
        Fixed usage of wrong memroot for password
      sql/sql_yacc.yy:
        Ensure that vcol_info is reset
      9ea34379
  8. 31 Mar, 2010 6 commits
    • Igor Babaev's avatar
    • Igor Babaev's avatar
      Merge with the latest changes og 5.2. · 77c240a9
      Igor Babaev authored
      77c240a9
    • Michael Widenius's avatar
      Added missing space from last push · 197c7c01
      Michael Widenius authored
      Fixed compiler warnings
      
      mysys/my_gethostbyname.c:
        Added missing space from last push
      storage/xtradb/handler/i_s.cc:
        Removed not used variable
      storage/xtradb/log/log0recv.c:
        Removed not used variable
      197c7c01
    • Michael Widenius's avatar
      Fixed compiler warnings · 69203a6b
      Michael Widenius authored
      Fixed random failure in test system
      
      BUILD/compile-solaris-sparc:
        Addex EXTRA_FLAGS to configure line (to get rid of warnings for not initialzed variables on buildbot)
      cmd-line-utils/libedit/filecomplete.c:
        Remove not used variables
      mysql-test/suite/rpl/r/rpl_optimize.result:
        Updated result
      mysql-test/suite/rpl/t/rpl_optimize.test:
        Use sync_salve_with_master to ensure cleanup on slave
      support-files/compiler_warnings.supp:
        Added suppression of libedit files
      69203a6b
    • Igor Babaev's avatar
      Adjusted results · d20e920c
      Igor Babaev authored
      d20e920c
    • Michael Widenius's avatar
      Fixed some compiler warnings · 82966f2e
      Michael Widenius authored
      include/m_ctype.h:
        MY_UNICASE_INFO already includes 'const'
      plugin/auth/dialog.c:
        Fixed parameters to have correct signed/unsigned type
      sql/sql_acl.cc:
        old_password_plugin is not used for EMBEDDED_LIBRARY
      storage/pbxt/src/ha_pbxt.cc:
        Remove not used variable
      82966f2e