1. 15 Jan, 2004 8 commits
    • unknown's avatar
      charset.c: · 07064720
      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.
      07064720
    • unknown's avatar
      I forgot to add the test in the previous commit :( · d372811c
      unknown authored
      Blame me!
      
      
      d372811c
    • unknown's avatar
      field.cc: · 5dcab209
      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.
      5dcab209
    • unknown's avatar
    • unknown's avatar
      item_strfunc.cc: · 4239d4b2
      unknown authored
        Unnesessary copying was fixed
      
      
      sql/item_strfunc.cc:
        Unnesessary copying was fixed
      4239d4b2
    • unknown's avatar
      Fixed Bug#2123, mysqld segmentation faulted when it tried to · 484cf319
      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.
      484cf319
    • unknown's avatar
      Fixed Bug#2281, --quote is now enabled by default. Can be disabled · 3ad09866
      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.
      3ad09866
    • unknown's avatar
      Added handling for ; comment character as there was for #. · f9bec44a
      unknown authored
      Bug#2080
      
      
      f9bec44a
  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 · 38a87d0e
      unknown authored
         (BUG 2289)
      
      
      support-files/mysql.spec.sh:
         - link the mysql client against libreadline instead of libedit (BUG 2289)
      38a87d0e
    • unknown's avatar
      srv0start.c, srv0srv.c: · 9dfada0c
      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
      9dfada0c
    • unknown's avatar
      item_strfunc.cc: · bf7e4693
      unknown authored
        Unnesessary code was removed. Comment was added.
      
      
      sql/item_strfunc.cc:
        Unnesessary code was removed. Comment was added.
      bf7e4693
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 76cb9675
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b2361
      
      
      76cb9675
    • unknown's avatar
    • unknown's avatar
      Minor Novell supplied changes for 4.1 (inside netware directory) · 491ab7f7
      unknown authored
      
      netware/init_db.sql:
        Add new tables for 4.1
      netware/libmysql.imp:
        Comment out simple_command
      491ab7f7
    • unknown's avatar
      row0sel.c: · 79a4b2cd
      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
      79a4b2cd
    • unknown's avatar
      row0sel.c: · ea854327
      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
      ea854327
  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. · 24f80544
      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.
      24f80544
  6. 08 Jan, 2004 1 commit
    • unknown's avatar
      row0mysql.c: · b321b7c0
      unknown authored
        Fix typo
      
      
      innobase/row/row0mysql.c:
        Fix typo
      b321b7c0
  7. 07 Jan, 2004 3 commits
    • unknown's avatar
      Fix for 1224 (USER() CURRENT_USER() functions in embedded library) · 582886a3
      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
      582886a3
    • unknown's avatar
      SCRUM · 902c3619
      unknown authored
      WL#1246 (Query cache in embedded library)
      Some fixes after testing
      
      
      libmysqld/emb_qcache.cc:
        code added to check if the recordset has no rows
      sql/sql_cache.cc:
        this code should not work if the query isn't cacheable
      902c3619
    • unknown's avatar
      SCRUM · fae79aec
      unknown authored
      WL#1246 (Query cache in embedded library)
      Small fix - code removed that prevents using query cache in embedded library
      
      
      include/mysql_embed.h:
        Now we have the query_cache in embedded library
      fae79aec