An error occurred fetching the project authors.
  1. 07 Dec, 2004 1 commit
  2. 06 Dec, 2004 1 commit
    • monty@mysql.com's avatar
      Add support for up to VARCHAR (size up to 65535) · 67ce2479
      monty@mysql.com authored
      Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART
      Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors
      Added support for VARCHAR KEYS to heap
      Removed support for ISAM
      Now only long VARCHAR columns are changed to TEXT on demand (not CHAR)
      Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
      67ce2479
  3. 12 Nov, 2004 1 commit
  4. 11 Nov, 2004 1 commit
  5. 07 Nov, 2004 1 commit
    • monty@mysql.com's avatar
      Simpler arena swapping code · b903a129
      monty@mysql.com authored
      Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
      This gives us the following benefits:
      - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
      - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
      - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
      b903a129
  6. 04 Nov, 2004 1 commit
  7. 03 Nov, 2004 1 commit
    • monty@mysql.com's avatar
      Fixes after merge with 4.1 · 47bbf768
      monty@mysql.com authored
      FOUND is not a reserved keyword anymore
      Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
      Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
      Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
      47bbf768
  8. 02 Nov, 2004 1 commit
    • monty@mysql.com's avatar
      Remove usage of !$ from mysql-tests · 2185f1a5
      monty@mysql.com authored
      Added protocol::flush() for easier embedded-server code
      Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
      Added option --silent to client_test
      2185f1a5
  9. 29 Oct, 2004 1 commit
    • mleich@mysql.com's avatar
      These modifications are the result of · 86143bc8
      mleich@mysql.com authored
      WL#2067 add features to mysqltest: "disable_error_abort" + "$mysql_errno"
      
      $mysql_errno is a new builtin variable of mysqltest and contains the
      return code of the last command send to the server.
      
      "--disable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements off.
      "--enable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements on. (default)
      
      "Maskings" are
          !$<error number>  and  --error <error number>
      in the line before the statement to be checked.
      
      The benefit of the option "--disable_abort_on_error" is that
      - all statements after the failing statement are executed
      - a r/<test>.reject will be produced
      - it is possible to write test cases, which perform
        code sequences depending on the return code of a single
        statement
      86143bc8
  10. 26 Oct, 2004 1 commit
    • monty@mysql.com's avatar
      A lot of fixes for prepared statements (PS): · 6fbc869d
      monty@mysql.com authored
      New mysqltest that can run mysqltest with PS
      Added support for ZEROFILL in PS
      Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result()
      Updated test cases to support --ps-protocol
      (Some tests are still run using old protocol)
      Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2...
      Fixed crash in PS when using sub queries
      Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries)
      Fix for PS and SELECT ... PROCEDURE
      Reset all warnings when executing a new PS query
      group_concat(...ORDER BY) didn't work with PS
      Fixed problem with test suite when not using innodb
      6fbc869d
  11. 22 Oct, 2004 2 commits
  12. 19 Oct, 2004 1 commit
    • monty@mishka.local's avatar
      Review of all code pushed since last review · 04c23808
      monty@mishka.local authored
      Simple optimzations and cleanups
      Removed compiler warnings and fixed portability issues
      Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
      Fixes for purify
      04c23808
  13. 07 Oct, 2004 1 commit
  14. 28 Sep, 2004 2 commits
    • monty@mishka.local's avatar
      Strict mode & better warnings · f2941380
      monty@mishka.local authored
      Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
      Added checking of date/datetime fields.
      If strict mode, give error if we have not given value to field without a default value (for INSERT)
      f2941380
    • kent@mysql.com's avatar
      client_test.test: · 155e1ec3
      kent@mysql.com authored
        Run client_test as a testcase
        new file
      mysql-test-run.sh:
        More clearly report failure if --force, also exit 1
      client_test.c:
        Use MAXPATHLEN in test_frm_bug()
        Renable test cases disabled for running from mysql-test-run
      mysqltest.c:
        Don't check errno from popen, may not be set
      155e1ec3
  15. 27 Sep, 2004 1 commit
    • kent@mysql.com's avatar
      mysql-test-run.sh: · 0061da91
      kent@mysql.com authored
        Added timing output for each test case.
        Added --embedded-server option.
      mysqltest.c:
        Added 'start_timer', 'end_timer' commands
      Makefile.am:
        Include mysys/my_getsystime.c to get time function in mysqltest
      Many files:
        new file
      0061da91
  16. 25 Sep, 2004 1 commit
    • kent@mysql.com's avatar
      client_test.c: · 7d4445f1
      kent@mysql.com authored
        Return exit(1) instead of exit(0) on failure.
        Allow longer path names using MAXPATHLEN.
        Added option --testcase that skips some failing tests.
        Replaced 'return' with exit(1) in test_frm_bug().
      mysqltest.c:
        Let --exec fail if command fails
      7d4445f1
  17. 16 Sep, 2004 1 commit
    • kent@mysql.com's avatar
      mysqltest.c: · 604acced
      kent@mysql.com authored
        Feature to solve Bug#4640, added "--character_set <charset>" test case option
      604acced
  18. 15 Sep, 2004 1 commit
    • wax@kishkin.ru's avatar
      WL#964 · eb751536
      wax@kishkin.ru authored
      porting mysql_test_run on Linux and Windows
      eb751536
  19. 31 Aug, 2004 1 commit
  20. 24 Aug, 2004 1 commit
  21. 14 Aug, 2004 1 commit
    • rburnett@build.mysql.com's avatar
      mysql_priv.h: · 67003d1c
      rburnett@build.mysql.com authored
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      Many files:
        Added NULL error reporter parameter as the last paramter to handle_options
      my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      67003d1c
  22. 07 Aug, 2004 1 commit
  23. 06 Jul, 2004 1 commit
    • bar@mysql.com's avatar
      mysqltest.c: · 1bc5370c
      bar@mysql.com authored
        Bug #4338  	mysql-test-run fails if compiled with non-latin1 character set.
      1bc5370c
  24. 02 Jul, 2004 2 commits
  25. 23 Jun, 2004 1 commit
  26. 21 Jun, 2004 1 commit
    • monty@mysql.com's avatar
      After merge fixes · 1388c164
      monty@mysql.com authored
      Return NULL if a time argument is given to date_add(). (Warning will be shown after Dimitri's timezone patch is pushed)
      1388c164
  27. 20 Jun, 2004 1 commit
    • guilhem@mysql.com's avatar
      Robustness feature. · f5d64244
      guilhem@mysql.com authored
      Won't be pushed as is - separate email sent for internal review.
      WL#1717 "binlog-innodb consistency".
      Now when mysqld starts, if InnoDB does a crash recovery, we use the binlog name
      and position retrieved from InnoDB (corresponding to the last transaction
      successfully committed by InnoDB) to cut any rolled back transaction from
      the binary log. This is triggered by the --innodb-safe-binlog option.
      Provided you configure mysqld to fsync() InnoDB at every commit (using
      flush_log_at_trx_commit) and to fsync() the binlog at every write
      (using --sync-binlog=1), this behaviour guarantees that a master always has
      consistency between binlog and InnoDB, whenever the crash happens.
      6 tests to verify that it works.
      f5d64244
  28. 18 Jun, 2004 1 commit
  29. 11 Jun, 2004 2 commits
  30. 01 Jun, 2004 1 commit
  31. 25 May, 2004 1 commit
  32. 19 May, 2004 1 commit
  33. 14 May, 2004 2 commits
    • guilhem@mysql.com's avatar
      a code fix (don't specify default value of argument twice), updating a line of SHOW SLAVE STATUS · 96207156
      guilhem@mysql.com authored
      in tests after the last 4.1->5.0 merge, and:
      *** The same as ChangeSet@1.1822.1.1, 2004-05-14 23:08:03+02:00, guilhem@mysql.com of MySQL 4.0 ***
        Replication testsuite: making the master-slave synchronization less likely to fail,
        by adding sleep-and-retries (max 4 times) if MASTER_POS_WAIT() returns NULL
        in sync_with_master and sync_slave_with_master.
        The problem showed up only today, in MySQL 5.0 in rpl_server_id2.test,
        but may affect 4.x as well, so I fixed 4.x too. Note that I am also fixing
        5.0, with the same exact patch, because I don't want to leave 5.0 broken
        until the next 4.0->4.1->5.0 merge.
      96207156
    • guilhem@mysql.com's avatar
      Replication testsuite: making the master-slave synchronization less likely to fail, · a039062e
      guilhem@mysql.com authored
      by adding sleep-and-retries (max 4 times) if MASTER_POS_WAIT() returns NULL
      in sync_with_master and sync_slave_with_master.
      The problem showed up only today, in MySQL 5.0 in rpl_server_id2.test,
      but may affect 4.x as well, so fixing it here. Note that I am also fixing
      5.0 too, with the same exact patch, because I don't want to leave 5.0 broken
      until the next 4.0->4.1->5.0 merge.
      a039062e
  34. 06 Apr, 2004 1 commit
  35. 31 Mar, 2004 1 commit