1. 22 Oct, 2014 1 commit
  2. 21 Oct, 2014 1 commit
    • Olivier Bertrand's avatar
      1) Handling string memory allocation with a new STRING class. This is only · 56e27713
      Olivier Bertrand authored
         the beginning. Defining the STRING class and begining to use it (MYSQL)
      
      2) Change the xtrace, use_tempfile and exact_info connect variables from
         GLOBAL to SESSION. Remaining GLOBAL variables have been made readonly.
      
      3) Take care of LEX_STRING variables. The .str should not be regarded as
         allways being 0 terminated. This is handled by the Strz functions that
         make sure to return 0 terminated strings.
      
      Bug fix:
      - When inserting in MYSQL table with special column(s) a query such as:
      insert into t2 values(0,4,'new04'),(0,5,'new05');
      failed saying: column id (the special column) not found in t2.
      It is now accepted but must be counted in values (these 0 are ignored)
      - ROWID was returning row numbers based 0. Now it is from base 1.
      
      modified:
        storage/connect/array.cpp
        storage/connect/blkfil.cpp
        storage/connect/colblk.cpp
        storage/connect/connect.cc
        storage/connect/filamap.cpp
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamtxt.cpp
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/filter.cpp
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/libdoc.cpp
        storage/connect/mycat.cc
        storage/connect/myconn.cpp
        storage/connect/odbconn.cpp
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/reldef.cpp
        storage/connect/tabcol.cpp
        storage/connect/tabdos.cpp
        storage/connect/tabfix.cpp
        storage/connect/tabfmt.cpp
        storage/connect/table.cpp
        storage/connect/tabmul.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/taboccur.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabtbl.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabvct.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabwmi.h
        storage/connect/tabxcl.cpp
        storage/connect/tabxml.cpp
        storage/connect/user_connect.cc
        storage/connect/valblk.cpp
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
        storage/connect/xobject.cpp
        storage/connect/xobject.h
        storage/connect/xtable.h
      56e27713
  3. 14 Oct, 2014 2 commits
    • Olivier Bertrand's avatar
      - Commit merged change · c65a9fb4
      Olivier Bertrand authored
      removed:
        extra/yassl/certs/dsa512.der
        extra/yassl/certs/dsa512.pem
      added:
        extra/yassl/certs/dsa1024.der
        extra/yassl/certs/dsa1024.pem
        mysql-test/r/ctype_cp932.result
        mysql-test/r/log_errchk.result
        mysql-test/r/show_bad_definer-5553.result
        mysql-test/suite/heap/btree_varchar_null.result
        mysql-test/suite/heap/btree_varchar_null.test
        mysql-test/suite/innodb/r/foreign-keys.result
        mysql-test/suite/innodb/t/foreign-keys.test
        mysql-test/t/ctype_cp932.test
        mysql-test/t/log_errchk.test
        mysql-test/t/show_bad_definer-5553.test
        storage/tokudb/mysql-test/rpl/disabled.def
        storage/tokudb/mysql-test/tokudb_mariadb/r/mdev6519.result
        storage/tokudb/mysql-test/tokudb_mariadb/t/mdev6519.test
      modified:
        client/mysql.cc
        cmake/install_layout.cmake
        config.h.cmake
        debian/dist/Debian/control
        debian/dist/Ubuntu/control
        extra/yassl/README
        extra/yassl/certs/ca-cert.pem
        extra/yassl/certs/client-cert.der
        extra/yassl/certs/client-cert.pem
        extra/yassl/certs/client-key.der
        extra/yassl/certs/client-keyEnc.pem
        extra/yassl/certs/server-cert.pem
        extra/yassl/certs/server-keyEnc.pem
        extra/yassl/include/buffer.hpp
        extra/yassl/include/openssl/ssl.h
        extra/yassl/src/buffer.cpp
        extra/yassl/src/handshake.cpp
        extra/yassl/src/yassl_imp.cpp
        extra/yassl/src/yassl_int.cpp
        extra/yassl/taocrypt/include/asn.hpp
        extra/yassl/taocrypt/include/block.hpp
        extra/yassl/taocrypt/include/integer.hpp
        extra/yassl/taocrypt/include/pwdbased.hpp
        extra/yassl/taocrypt/include/runtime.hpp
        extra/yassl/taocrypt/include/sha.hpp
        extra/yassl/taocrypt/src/aes.cpp
        extra/yassl/taocrypt/src/algebra.cpp
        extra/yassl/taocrypt/src/arc4.cpp
        extra/yassl/taocrypt/src/asn.cpp
        extra/yassl/taocrypt/src/blowfish.cpp
        extra/yassl/taocrypt/src/des.cpp
        extra/yassl/taocrypt/src/integer.cpp
        extra/yassl/taocrypt/src/md5.cpp
        extra/yassl/taocrypt/src/misc.cpp
        extra/yassl/taocrypt/src/rabbit.cpp
        extra/yassl/taocrypt/src/random.cpp
        extra/yassl/taocrypt/src/ripemd.cpp
        extra/yassl/taocrypt/src/sha.cpp
        extra/yassl/taocrypt/src/twofish.cpp
        mysql-test/lib/My/Platform.pm
        mysql-test/r/selectivity_innodb.result
        mysql-test/r/type_newdecimal.result
        mysql-test/r/type_time.result
        mysql-test/t/selectivity_innodb.test
        mysql-test/t/type_newdecimal.test
        mysql-test/t/type_time.test
        packaging/rpm-oel/mysql.spec.in
        plugin/auth_socket/auth_socket.c
        plugin/handler_socket/handlersocket/database.cpp
        plugin/handler_socket/handlersocket/handlersocket.cpp
        plugin/handler_socket/handlersocket/hstcpsvr.cpp
        plugin/handler_socket/libhsclient/hstcpcli.cpp
        plugin/handler_socket/libhsclient/socket.cpp
        plugin/handler_socket/perl-Net-HandlerSocket/HandlerSocket.xs
        plugin/metadata_lock_info/metadata_lock_info.cc
        plugin/server_audit/server_audit.c
        scripts/comp_sql.c
        scripts/mysql_system_tables_fix.sql
        sql-common/client.c
        sql/event_scheduler.cc
        sql/item.cc
        sql/log.cc
        sql/mysqld.cc
        sql/mysqld.h
        sql/opt_range.cc
        sql/sql_acl.cc
        sql/sql_cache.cc
        sql/sql_priv.h
        sql/sql_select.cc
        sql/sql_show.cc
        sql/sql_statistics.cc
        sql/sys_vars.cc
        storage/cassandra/ha_cassandra.cc
        storage/connect/inihandl.c
        storage/connect/libdoc.cpp
        storage/connect/mycat.cc
        storage/connect/tabxml.cpp
        storage/example/ha_example.cc
        storage/federatedx/ha_federatedx.cc
        storage/heap/hp_hash.c
        storage/innobase/api/api0misc.cc
        storage/mroonga/mrn_table.cpp
        storage/oqgraph/ha_oqgraph.cc
        storage/sequence/sequence.cc
        storage/sphinx/snippets_udf.cc
        storage/tokudb/CMakeLists.txt
        storage/tokudb/ft-index/ft/bndata.cc
        storage/tokudb/ft-index/ft/cachetable/cachetable.cc
        storage/tokudb/ft-index/ft/cachetable/checkpoint.cc
        storage/tokudb/ft-index/ft/cursor.cc
        storage/tokudb/ft-index/ft/ft-cachetable-wrappers.cc
        storage/tokudb/ft-index/ft/ft-flusher.cc
        storage/tokudb/ft-index/ft/ft-hot-flusher.cc
        storage/tokudb/ft-index/ft/ft-ops.cc
        storage/tokudb/ft-index/ft/ft-test-helpers.cc
        storage/tokudb/ft-index/ft/ft-verify.cc
        storage/tokudb/ft-index/ft/ft.cc
        storage/tokudb/ft-index/ft/le-cursor.cc
        storage/tokudb/ft-index/ft/loader/dbufio.cc
        storage/tokudb/ft-index/ft/loader/loader.cc
        storage/tokudb/ft-index/ft/loader/pqueue.cc
        storage/tokudb/ft-index/ft/logger/log_upgrade.cc
        storage/tokudb/ft-index/ft/logger/logcursor.cc
        storage/tokudb/ft-index/ft/logger/logfilemgr.cc
        storage/tokudb/ft-index/ft/logger/logformat.cc
        storage/tokudb/ft-index/ft/logger/logger.cc
        storage/tokudb/ft-index/ft/logger/recover.cc
        storage/tokudb/ft-index/ft/node.cc
        storage/tokudb/ft-index/ft/pivotkeys.cc
        storage/tokudb/ft-index/ft/serialize/block_table.cc
        storage/tokudb/ft-index/ft/serialize/compress.cc
        storage/tokudb/ft-index/ft/serialize/ft-node-deserialize.cc
        storage/tokudb/ft-index/ft/serialize/ft-serialize.cc
        storage/tokudb/ft-index/ft/serialize/ft_node-serialize.cc
        storage/tokudb/ft-index/ft/serialize/sub_block.cc
        storage/tokudb/ft-index/ft/txn/roll.cc
        storage/tokudb/ft-index/ft/txn/rollback-apply.cc
        storage/tokudb/ft-index/ft/txn/rollback-ct-callbacks.cc
        storage/tokudb/ft-index/ft/txn/rollback.cc
        storage/tokudb/ft-index/ft/txn/rollback_log_node_cache.cc
        storage/tokudb/ft-index/ft/txn/txn.cc
        storage/tokudb/ft-index/ft/txn/txn_child_manager.cc
        storage/tokudb/ft-index/ft/txn/txn_manager.cc
        storage/tokudb/ft-index/ft/ule.cc
        storage/tokudb/ft-index/src/errors.cc
        storage/tokudb/ft-index/src/indexer-undo-do.cc
        storage/tokudb/ft-index/src/indexer.cc
        storage/tokudb/ft-index/src/loader.cc
        storage/tokudb/ft-index/src/ydb.cc
        storage/tokudb/ft-index/src/ydb_cursor.cc
        storage/tokudb/ft-index/src/ydb_db.cc
        storage/tokudb/ft-index/src/ydb_env_func.cc
        storage/tokudb/ft-index/src/ydb_row_lock.cc
        storage/tokudb/ft-index/src/ydb_txn.cc
        storage/tokudb/ft-index/src/ydb_write.cc
        storage/tokudb/ft-index/tools/ftverify.cc
        storage/tokudb/ft-index/tools/tdb_logprint.cc
        storage/tokudb/ft-index/tools/tokuftdump.cc
        storage/tokudb/ha_tokudb.cc
        storage/tokudb/mysql-test/tokudb/disabled.def
        storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_lock_waits_released.test
        storage/tokudb/mysql-test/tokudb/t/i_s_tokudb_locks_released.test
        storage/xtradb/api/api0misc.cc
        storage/xtradb/buf/buf0buf.cc
        strings/ctype-mb.c
        strings/decimal.c
        support-files/mysql.spec.sh
        tests/async_queries.c
        unittest/sql/my_apc-t.cc
      c65a9fb4
    • Olivier Bertrand's avatar
      - Add Sergei fix to enable loading OEM table libs · 0a913e20
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
        storage/connect/reldef.cpp
      0a913e20
  4. 13 Oct, 2014 1 commit
  5. 12 Oct, 2014 2 commits
  6. 11 Oct, 2014 2 commits
  7. 10 Oct, 2014 5 commits
  8. 09 Oct, 2014 3 commits
  9. 08 Oct, 2014 4 commits
  10. 07 Oct, 2014 11 commits
  11. 06 Oct, 2014 5 commits
  12. 10 Oct, 2014 1 commit
  13. 05 Oct, 2014 2 commits
    • Sergei Golubchik's avatar
      fix failing rpl.rpl_user_variables · 689ffe35
      Sergei Golubchik authored
      typo fixed. use correct constant.
      689ffe35
    • Sergei Golubchik's avatar
      fix main.mysqldump test failing after Mroonga merge. · 3050b290
      Sergei Golubchik authored
      mysqlimport had code for multi-threaded import. By mistake it was disabled for
      many years, at least since 5.5 (more likely even in 5.1), but mysqlimport happily
      accepted (and ignored) --use-threads option ever since.
      
      After Mroonga merge HAVE_LIBPTHREAD became defined and multi-threaded import
      suddenly came to life. As it exit() the program brutally on any error (never mind
      that some import threads may be running) mysys rightfully complains. Safemalloc
      complains too in debug builds.
      
      Fix: don't try a clean exit on an error, don't shutdown mysys and tell safemalloc
      to shut up. Yes, and remove #ifdef HAVE_LIBPTHREAD, since 5.5 the client library
      is always multi-threaded.
      3050b290