1. 08 Apr, 2010 1 commit
    • Sergei Golubchik's avatar
      MWL#43 CREATE TABLE options (by Sanja) · e24e1668
      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.
      e24e1668
  2. 07 Apr, 2010 1 commit
  3. 06 Apr, 2010 6 commits
  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. · 59baf97d
      Igor Babaev authored
      59baf97d
    • unknown's avatar
      Fied problem with of compilation without dynamic plugin loading. · 3dfa7cdd
      unknown authored
      sql/sql_plugin.cc:
        Fixed #ifdef
      3dfa7cdd
    • unknown's avatar
      Maria WL#61 · 20739646
      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.
      20739646
    • Michael Widenius's avatar
      Auto merge with 5.1 · 8a7f2559
      Michael Widenius authored
      8a7f2559
    • Michael Widenius's avatar
      Fixed wrong regexps · 10af1c1f
      Michael Widenius authored
      10af1c1f
    • Michael Widenius's avatar
      Auto merge with 5.1 · d4dfd80c
      Michael Widenius authored
      d4dfd80c
    • Michael Widenius's avatar
      Auto merge with 5.1 · 7feccbea
      Michael Widenius authored
      7feccbea
    • Michael Widenius's avatar
    • Michael Widenius's avatar
      Merge with 5.1 · 1aafea91
      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
      1aafea91
  8. 31 Mar, 2010 6 commits
    • Igor Babaev's avatar
    • Igor Babaev's avatar
      Merge with the latest changes og 5.2. · 48014285
      Igor Babaev authored
      48014285
    • Michael Widenius's avatar
      Added missing space from last push · 33a5571b
      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
      33a5571b
    • Michael Widenius's avatar
      Fixed compiler warnings · cebec393
      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
      cebec393
    • Igor Babaev's avatar
      Adjusted results · 0513c246
      Igor Babaev authored
      0513c246
    • Michael Widenius's avatar
      Fixed some compiler warnings · fee40e27
      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
      fee40e27
  9. 30 Mar, 2010 3 commits
    • Michael Widenius's avatar
      Removed compiler warning · d904739c
      Michael Widenius authored
      Disable pbxt for test cases not using pbxt (speeds up test suite)
      
      extra/comp_err.c:
        Added cast to get rid of compiler warning
      extra/libevent/kqueue.c:
        Added cast to get rid of compiler warning
      mysql-test/lib/mtr_cases.pm:
        Use --skip-pbxt for test cases that doesn't need pbxt
        Collect default-storage-engine from suite.opt file (should actually be my.cnf file, but that wasn't easy to do)
      mysql-test/suite/pbxt/t/suite.opt:
        Added marker for mysql-test-run.pl that this suite require pbxt
      mysys/mf_keycache.c:
        Use LINT_INIT() to remove compiler warnings
      mysys/my_gethostbyname.c:
        Remove compiler warnings
      sql/handler.cc:
        Reset variable that may be used uninitialized
      sql/item.h:
        Remove compiler warning
      sql/mysqld.cc:
        Use LINT_INIT() to remove compiler warnings
      sql/sql_class.h:
        Remove compiler warning
      sql/sql_table.cc:
        Ensure variable is always set (to remove compiler warning)
      sql/sql_view.cc:
        Use LINT_INIT() to remove compiler warnings
      storage/maria/ma_loghandler.c:
        Use LINT_INIT() to remove compiler warnings
      storage/myisammrg/ha_myisammrg.cc:
        Fixed wrong type to printf
      storage/myisammrg/myrg_open.c:
        Use LINT_INIT() to remove compiler warnings
      storage/xtradb/include/ut0lst.h:
        Trivial change of macro to remove compiler warning
      strings/ctype-ucs2.c:
        Use LINT_INIT() to remove compiler warnings
      strings/ctype-utf8.c:
        Use LINT_INIT() to remove compiler warnings
      support-files/compiler_warnings.supp:
        Suppress some not relevant warnings
      unittest/mysys/waiting_threads-t.c:
        Don't use ftruncate() as this gives warning about ignored return value
      d904739c
    • unknown's avatar
      Compiler warnings removed. · 515c2db0
      unknown authored
      storage/maria/ma_loghandler.c:
        compiler warnings removed.
      515c2db0
    • unknown's avatar
      Remove compiler warning · 8272a47f
      unknown authored
      storage/maria/ma_loghandler.c:
        Remove compiler warning.
      8272a47f
  10. 29 Mar, 2010 5 commits
    • Igor Babaev's avatar
      1a507f4f
    • Michael Widenius's avatar
      Fixed random failure in test system · 639bdb28
      Michael Widenius authored
      Removed and suppressed compiler warnings
      
      
      mysql-test/suite/parts/t/rpl_partition.test:
        Mark as big test (as test takes > 5 minutes)
      mysql-test/suite/rpl/t/rpl_row_trig003.test:
        Fixed random failure
      sql/item_create.cc:
        Renamed create -> create_builder() to avoid compiler warnings about function hidden by others
      sql/net_serv.cc:
        Removed compiler warning
      support-files/compiler_warnings.supp:
        Supress some warnings
        Remove suppresstion from set_var.cc, as this has already been fixed
        Added missing \ before .c
        Added suppression of warnings that are due to gcc bug (.*discards qualifiers from pointer target type.*)
      639bdb28
    • unknown's avatar
      2b1c719a
    • Sergei Golubchik's avatar
      tell autoconf about --with-plugin options to avoid · cbcbb052
      Sergei Golubchik authored
      configure: WARNING: unrecognized options: --without-plugin-xxx
      cbcbb052
    • Sergei Golubchik's avatar
      pluggable auth with plugin examples · 291fd969
      Sergei Golubchik authored
      Makefile.am:
        add new API files to the check_abi rule,
        remove duplicates
      client/CMakeLists.txt:
        now a client can use dlopen too
      client/Makefile.am:
        be csh-friendly
      include/my_global.h:
        add dummy plugs for dlopen and co.
        for the code that needs them to work in static builds
      mysys/Makefile.am:
        be csh-friendly
      plugin/auth/dialog.c:
        typo fixed
      291fd969
  11. 28 Mar, 2010 1 commit
    • Michael Widenius's avatar
      Fixed compiler warnings and sporadic failures in test cases · 1fec5af7
      Michael Widenius authored
      
      mysql-test/extra/rpl_tests/rpl_tmp_table_and_DDL.test:
        Added missing sync_slave_with_master; Fixes random failures
      mysql-test/include/default_mysqld.cnf:
        default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
      mysql-test/lib/My/SafeProcess/safe_process.cc:
        Fixed compiler warning
      mysql-test/lib/v1/mysql-test-run.pl:
        default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
      mysql-test/suite/rpl/r/rpl_do_grant.result:
        Updated test results
      mysql-test/suite/rpl/t/rpl_do_grant.test:
        Added missing sync_slave_with_master; Fixes random failures
        Had to explictely do stop slave before DROP USER to avoid failure on slave as the user is already dropped on slave.
      mysql-test/suite/rpl/t/rpl_name_const.test:
        Added missing sync_slave_with_master; Fixes random failures
      mysql-test/suite/rpl/t/rpl_row_basic_11bugs.test:
        Added missing sync_slave_with_master; Fixes random failures
      mysql-test/t/bug47671-master.opt:
        default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
      mysql-test/t/ctype_latin1_de-master.opt:
        default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
      mysql-test/t/ctype_ucs2_def-master.opt:
        default-character-set -> character-set-server (removes warning in error files for usage of deprecated options)
      sql-common/client.c:
        Fixed compiler warning
      sql/item.cc:
        Renamed function to remove compiler warnings (with gcc)
      sql/item.h:
        Renamed function to remove compiler warnings (with gcc)
      sql/item_cmpfunc.cc:
        Renamed function to remove compiler warnings (with gcc)
      sql/item_create.cc:
        Renamed function to remove compiler warnings (with gcc)
      sql/item_create.h:
        Renamed function to remove compiler warnings (with gcc)
      sql/item_sum.cc:
        Renamed function to remove compiler warnings (with gcc)
      sql/item_sum.h:
        Renamed function to remove compiler warnings (with gcc)
      sql/set_var.cc:
        Don't use bit_do_set() / bot_is_set() / bit_do_clear() as this generates compiler warnings
        (They are also of no use as we know the value can hold the bits)
      sql/sql_yacc.yy:
        Renamed function to remove compiler warnings (with gcc)
      storage/example/ha_example.h:
        Fixed old read_time() prototype
      storage/maria/ma_search.c:
        Added extra variables to remove compiler warnings
      storage/maria/maria_def.h:
        Added extra variables to remove compiler warnings
      storage/myisam/ft_stopwords.c:
        Added cast to get rid of compiler warning
      storage/xtradb/fil/fil0fil.c:
        Added cast to get rid of compiler warning
      storage/xtradb/include/page0page.h:
        Added const to get rid of compiler warning
      storage/xtradb/include/page0page.ic:
        Added const to get rid of compiler warning
      support-files/compiler_warnings.supp:
        Added suppression of strict-aliasing
      1fec5af7
  12. 25 Mar, 2010 1 commit
    • Michael Widenius's avatar
      simple speed & space optimization: · 2c77c9ea
      Michael Widenius authored
      - Avoid full inline of mark_trx_read_write() for many functions
      - Avoid somewhat expensive tests for every write/update/delete row 
      
      sql/handler.h:
        Adde ha_start_of_new_statement() to reset internal variables as part of the code in "open_table" that resets TABLE object for the new statement
        Faster mark_trx_read_write_part()
      sql/sql_base.cc:
        Don't manipulate table->file internal structs directly
      2c77c9ea