1. 15 Jan, 2004 10 commits
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9bf11e04
      unknown authored
      into bar.intranet.mysql.r18.ru:/usr/home/bar/mysql-4.1
      
      9bf11e04
    • unknown's avatar
      charset.c: · 96301bfd
      unknown authored
        http://bugs.mysql.com/bug.php?id=2386
        Index.xml file larger than 1024*16
        Fix for the above bug.
      
      
      mysys/charset.c:
        http://bugs.mysql.com/bug.php?id=2386
        Index.xml file larger than 1024*16
        Fix for the above bug.
      96301bfd
    • unknown's avatar
      - no C++ comments in .c files, please... · 9b204ccf
      unknown authored
      9b204ccf
    • unknown's avatar
      I forgot to add the test in the previous commit :( · 66bce37e
      unknown authored
      Blame me!
      
      66bce37e
    • unknown's avatar
      field.cc: · 902a9a9f
      unknown authored
        http://bugs.mysql.com/bug.php?id=2218
        updating utf-8 text field generate nonsense chars
        Fix for the above bug.
      
      
      sql/field.cc:
        http://bugs.mysql.com/bug.php?id=2218
        updating utf-8 text field generate nonsense chars
        Fix for the above bug.
      902a9a9f
    • unknown's avatar
    • unknown's avatar
      item_strfunc.cc: · f52070bd
      unknown authored
        Unnesessary copying was fixed
      
      
      sql/item_strfunc.cc:
        Unnesessary copying was fixed
      f52070bd
    • unknown's avatar
      Fixed Bug#2123, mysqld segmentation faulted when it tried to · c00f230c
      unknown authored
      open a file that already existed. The problem was that end_io_cache()
      was called even if init_io_cache() was not. This affected both
      OUTFILE and DUMPFILE (both fixed). Sometimes wrongly aligned pointer was freed,
      sometimes mysqld core dumped.
      
      Other problem was that select_dump::send_error removed the dumpfile,
      even if it was created by an earlier run, or by some other program, if
      the file permissions just permitted it. Fixed it so that the file will
      only be deleted, if an error occurred, but the file was created by mysqld
      just a moment ago, in that thread.
      
      On the other hand, select_export did not handle the corresponding garbage
      file at all. Both fixed.
      
      After these fixes, a big part of the select_export::prepare and select_dump::prepare
      code became identical. Merged the code into a new function called create_file(),
      which is now called by the two latter functions.
      
      Regards,
      Jani
      
      
      mysys/mf_iocache.c:
        Fixed a bug in comment.
      c00f230c
    • unknown's avatar
      Fixed Bug#2281, --quote is now enabled by default. Can be disabled · 7afd1cbc
      unknown authored
      with --disable-quote
      
      Added --compatible=ansi mode.
      
      Fixed a non-reported bug in compatible mode; there was a check for
      /*!41000 */ at this part of the code, while it obviously should have been
      /*!40100 */. So the mysqldump compatiple mode made for 4.0.1 will not work
      until 4.10 or later server is released :P Fixed into 4.0.2.
      
      
      client/mysqldump.c:
        Fixed Bug#2281, --quote is now enabled by default. Can be disabled
        with --disable-quote
        
        Added --compatible=ansi mode.
        
        Changed sapdb into maxdb, as this change has been made to server too.
        
        Fixed a non-reported bug in compatible mode; there was a check for
        /*!41000 */ at this part of the code, while it obviously should have been
        /*!40100 */. So the mysqldump compatiple mode made for 4.1.0 will not work
        until 4.10.0 or later server is released :P Fixed into 4.1.2.
      7afd1cbc
    • unknown's avatar
      Added handling for ; comment character as there was for #. · f3471be5
      unknown authored
      Bug#2080
      
      f3471be5
  2. 14 Jan, 2004 14 commits
  3. 13 Jan, 2004 8 commits
    • unknown's avatar
      - link the mysql client RPM against libreadline instead of libedit · b6b30ca7
      unknown authored
         (BUG 2289)
      
      
      support-files/mysql.spec.sh:
         - link the mysql client against libreadline instead of libedit (BUG 2289)
      b6b30ca7
    • unknown's avatar
      srv0start.c, srv0srv.c: · 86356722
      unknown authored
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      
      
      innobase/srv/srv0srv.c:
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      innobase/srv/srv0start.c:
        If UNIV_SYNC_DEBUG was switched on, the error monitor thread could reserve a mutex BEFORE the sync debug system was initialized, and that caused a sync debug assertion in startup: move the 2 sec. sleep to a safer place; note that this is only heuristics, and in theory it can assert still
      86356722
    • unknown's avatar
      item_strfunc.cc: · c73188ad
      unknown authored
        Unnesessary code was removed. Comment was added.
      
      
      sql/item_strfunc.cc:
        Unnesessary code was removed. Comment was added.
      c73188ad
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · d60c0146
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2361
      
      d60c0146
    • unknown's avatar
    • unknown's avatar
      Minor Novell supplied changes for 4.1 (inside netware directory) · bc48a0f7
      unknown authored
      
      netware/init_db.sql:
        Add new tables for 4.1
      netware/libmysql.imp:
        Comment out simple_command
      bc48a0f7
    • unknown's avatar
      row0sel.c: · 90115694
      unknown authored
        Improve previous push: save 1000 bytes of thread stack in non-error cases
      
      
      innobase/row/row0sel.c:
        Improve previous push: save 1000 bytes of thread stack in non-error cases
      90115694
    • unknown's avatar
      row0sel.c: · fcde8277
      unknown authored
        If MySQL tries to do SELECT from an InnoDB table, but has set no table locks at all in ::external_lock(), print a descriptive error message and assert; some subquery bugs were of this type
      
      
      innobase/row/row0sel.c:
        If MySQL tries to do SELECT from an InnoDB table, but has set no table locks at all in ::external_lock(), print a descriptive error message and assert; some subquery bugs were of this type
      fcde8277
  4. 12 Jan, 2004 5 commits
  5. 11 Jan, 2004 1 commit
    • unknown's avatar
      Detect unexpected return codes of mysqltest in mysql-test-run. · dd88347e
      unknown authored
      This way, a crash of mysqltest will be visible in the test logs
      (output of mysql-test-run).
      
      
      mysql-test/mysql-test-run.sh:
        by design mysqltest returns 0 or 1 or 2 (see the exit()s and the return()
        of main()). So any greater code is a crash, I guess.
        On build and on my machine, 139 is segfault and 134 is assertion failure.
      dd88347e
  6. 08 Jan, 2004 1 commit
    • unknown's avatar
      row0mysql.c: · 7e713a98
      unknown authored
        Fix typo
      
      
      innobase/row/row0mysql.c:
        Fix typo
      7e713a98
  7. 07 Jan, 2004 1 commit
    • unknown's avatar
      Fix for 1224 (USER() CURRENT_USER() functions in embedded library) · 4a44e805
      unknown authored
      Now we return user@host for USER() in embedded library
      CURRENT_USER returns empty string if library compiled with
      NO_EMBEDDED_ACCESS_CHECKS
      
      
      libmysqld/embedded_priv.h:
        function's declarations trimmed
      libmysqld/lib_sql.cc:
        user/host names handling added
      libmysqld/libmysqld.c:
        user/host names handling added
      sql/sql_class.cc:
        we shouldn't free user/host names in embedded library
      4a44e805